Commit Graph

51 Commits

Author SHA1 Message Date
Man, Jianting (Meco) bb1084556f [console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题
* [console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题

* format codes

* [libc] 整理格式

* refresh projects
2022-01-09 00:20:32 +08:00
Meco Man 918ee6147c add RT_USING_POSIX_STDIO 2022-01-05 23:11:58 +08:00
guo 2babfedd52
Merge pull request #5397 from liukangcc/cflag
[update] CFLAGS
2021-12-21 17:50:54 +08:00
Man, Jianting (Meco) 6369e89502
[posix] POSIX standard implementation for PSE51 (#5384)
* [posix] POSIX standard implementation for PSE51

- add some posix's interfaces that we haven't before.
- these PR have passed the interface definition test across gcc platfrom;
- have tested base on qemu-a9 and stm32h750-art-pi.

* [newlib] only enable POSIX.1-1990

* update projects
2021-12-17 15:34:17 +08:00
liukangcc b0f6c2fbae [update] CFLAGS 2021-12-17 14:28:40 +08:00
Tangyuxin d724eed9fc
分离内存分配接口与内存分配算法 (#5175)
* [kernel][mem] Multiple instances of small memory allocation algorithm

* [kernel][mem] Change small memory management algorithm memory header flag

* [kernel][mem] Fix assertion problem

* [kernel][slab] Multiple instances of slab memory management algorithm

* [kernel][memheap] Remove rt_malloc/rt_free/rt_realloc and other related memory interfaces

* [kernel][mem] Clean up memory space of small memory management objects

* [kernel][kservice] Add memory application interface and thread protection interface

* [kernel][kservice] Fix function return value problem

* [kernel][memheap] Optimize memheaptrace print

* [kernel][memheap] Support best mode

* [kernel][memory] Remove semaphore lock

* [kernel][memheap] Add locked flag

* [kernel][memory] Support malloc memory in interrupt

* [kernel][memheap] Add 'memheapcheck' cmd

* [kernel][mem] Fix failure to request full memory

* [kernel][memheap] Fix compilation warning

* [kernel][mem] Fix mem realloc ASSERT

* [examples][testcases] Add small mem testcase

* [examples][mem_tc] Modify test memory size

* [examples][testcases] Add slab memory management algorithm test case

* [examples][testcases] fix small memory management algorithm test case

* [kernel][memory] Adjusting memory allocation algorithm object definition and interface

* [kernel][memory] Fix compilation warning

* [examples][utest] Fix mem test case

* [examples][utest] fix slab test case

* [utest][testcases] Shorten test time

* [kernel][memory] Formatting code

* [examples][utest] Adjust test run time

* [examples][utest] Formatting code

* [bsp] update all rtconfig.h
2021-12-16 16:23:58 +08:00
Meco Man bd80b7a4a1 对finsh_set_device调用增加宏定义限制 2021-11-24 08:57:12 -05:00
Meco Man 25bd908fb7 [libc][posix] 解决RT_LIBC_USING_FILEIO范围过大的问题 2021-10-27 03:04:05 -04:00
Meco Man a9910a780e [posix][libc] 优化libc中posix结构 2021-10-26 23:09:54 -04:00
Meco Man f7548b934e [posix][dfs] move dfs_posix dfs_poll dfs_select.c to posix folder 2021-10-21 19:05:53 -04:00
guo b1baf42d4e
Revert "Fix compiler flags issue" 2021-10-14 14:36:18 +08:00
liukangcc 3ac36a3107 [update] Fix compiler flags issue 2021-10-14 10:32:22 +08:00
马志远 221da7f464 Remove C Style Command Shell 2021-08-23 17:30:05 +08:00
JCZou 0369db718c Fix compiler flags issue
CCFLAGS is used by gcc and g++ compiler. So CFLAGS should be used for
gcc to avoid passing gcc flags to g++.
2021-08-19 08:53:27 +02:00
guozhanxin a22decb71b 【优化】在代码中移除 rt_system_object_init/rt_system_tick_init 的调用。 2020-11-23 11:39:38 +08:00
Ernest 7be06b67bb [add] default environment 2019-10-22 16:48:57 +08:00
Bernard Xiong fcab0f2cb4 [BSP] Fix the compiling issue with GCC6 2018-08-04 14:59:29 +08:00
moebius.ever 8160a4089a fixed #1261, modify "axf" to "elf" in rtconfig.py for GCC Toolchains configuration. 2018-03-07 15:28:51 +08:00
aozima 19433e0cf5 update SConscript: support scons 3. 2018-02-06 20:07:28 +08:00
Bernard Xiong 0f3563fd64 [BSP] Update project files 2017-12-31 21:45:32 +08:00
Bernard Xiong 28e925c931 [BSP] fix the compiling issue 2017-12-31 21:19:52 +08:00
bernard 7877836065 [BSP] Update project files. 2017-10-31 11:59:49 +08:00
ArdaFu 064f182a0d [bsp]Fix RT_LWIP_IPADDR RT_LWIP_GWADDR RT_LWIP_MSKADDR define, replace multi-bytes MACRO with single string MACRO. 2017-10-27 10:05:31 +08:00
ArdaFu 6bfaa632b9 [bsp][lm3s8962] Fix complie error. Add missing macro RT_USING_LIBC. Force use Lwip 1.4.1 bye define RT_USING_LWIP141 2017-10-17 14:33:32 +08:00
Bernard Xiong 591339e7a8 [BSP] fix compiling issue 2017-10-16 19:16:10 +08:00
bernard 5e3b3b19a6 [BSP] change the type of cmd.
1. Change the type of cmd to 'int';
2. Remove RT_LWIP_USING_RT_MEM macro;
2017-10-16 13:23:03 +08:00
tanek liang d793cfdef7 [bsp] fix incompatible type error for "finsh_system_init()" 2017-07-29 14:21:40 +08:00
Bernard Xiong 200282a0bc [BSP] use RT_UNUSED instead of UNUSED 2015-08-09 11:34:41 +08:00
bernard 26118499e0 [BSP] remove rt_device_init_all() invoking. 2014-07-19 06:50:00 +08:00
aozima 8711a0c986 update SConstruct. 2013-07-11 23:11:16 +08:00
aozima cc8301d0f1 update linker script for components auto initial. 2013-07-11 23:07:16 +08:00
Bernard Xiong e877a9868b fengzi: Fix LM3S ETH driver: Ethernet RX interrupt will be disabled if pbuf_alloc failed. 2013-04-10 09:54:08 +08:00
Ming, Bai b4de7cce57 Re-normalizing the repo 2013-01-08 22:40:58 +08:00
Rogerz Zhang 2fc60ba1c3 Fix build error under linux 2013-01-04 19:55:19 +08:00
dzzxzz@gmail.com f36a8ca713 using the default path of Keil(C:\Keil) as the keil EXEC_PATH
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2297 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-20 07:22:11 +00:00
dzzxzz@gmail.com 09592b5df8 fixed a compiling error, if RT_LWIP_PBUF_POOL_BUFSIZE isn't defined in rtconfig.h:
drivers\luminaryif.c(48): error:  #59: function call is not allowed in a constant expression

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2102 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-24 02:05:45 +00:00
dzzxzz@gmail.com b016c6603a enable the RT_LWIP_IGMP in rtconfig.h
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2065 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-15 08:43:06 +00:00
dzzxzz@gmail.com 0f6856b538 update the keil projects with tools/buildbot.py project
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2055 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14 12:00:17 +00:00
dzzxzz@gmail.com 97f10d0a1a fixed a compiling error while using LWIP 1.4.0
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2050 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14 11:14:55 +00:00
dzzxzz@gmail.com a7810e12b9 update the rtconfig.py and SConstruct in the BSP
in order to use buildbot.py

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2028 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-09 03:32:35 +00:00
fengzi.rtt feb4fa6df9 fix LM3S8962 ethernet driver: Enable reception of multicast packets
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1983 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-01 11:03:25 +00:00
fengzi.rtt 8634deeb73 BSP_LM3S8962: move"#endif" to line 103 from line 106 in startup.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1881 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-27 04:53:32 +00:00
wuyangyong 16f3be93a9 fixed scons + gcc compiling error for lm3s8962 and lm3s9b96.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1872 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-23 04:35:17 +00:00
wuyangyong 646c1443db update Stellaris Peripheral Driver Library to r8264.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1869 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-23 03:20:26 +00:00
wuyangyong 701df33436 remove libcpu/arm/lm3s libcpu/arm/lpc176x , update bsp lm3s lpc176x.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1865 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-23 01:36:10 +00:00
fengzi.rtt@gmail.com 6cf91f04f6 fix 1732, move"#endif" to line 103 from line 106 in rtthread_startup
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1820 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-30 09:21:27 +00:00
qiuyiuestc@gmail.com 1d2203fce0 add rt_module_system_init in rtthread_startup
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1732 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-28 04:11:12 +00:00
qiuyiuestc@gmail.com b0b50a009c update lm3s8962 project file
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1588 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-03 23:03:22 +00:00
qiuyiuestc@gmail.com e710b83f15 use GetCurrentDir() as include path
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1577 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-01 13:50:54 +00:00
qiuyiuestc@gmail.com f0c20eb020 update SConscript
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1574 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-01 13:19:01 +00:00