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 923fb0c146 [rtdef] re-implement RT_UNUSED 2021-12-27 00:51:22 +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
guo b1baf42d4e
Revert "Fix compiler flags issue" 2021-10-14 14:36:18 +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
Meco Man 958d940575 [lpcxxx] auto formatted 2021-03-17 02:26:35 +08:00
yangjie dc09f3760f 更新 stm32 工程,nxp 工程 2020-12-28 15:02:17 +08: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
aozima 525d353403 fixed linker script and stack align issues. 2019-10-22 09:47:41 +08:00
chenyong 74793a53fd [bsp] update project configure file for finsh component change
Signed-off-by: chenyong <1521761801@qq.com>
2019-09-26 15:40:13 +08:00
misonyo a454393994 [BSP][all NXP]change license to Apache-2.0 2018-10-22 11:02:50 +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 f74cde045b [BSP] fix the finsh_system_init issue in BSP 2017-12-08 11:57:22 +08:00
Bernard Xiong 7ed7aadd24 [BSP] add -nostartfiles in lpc2478 bsp 2017-11-01 21:05:13 +08:00
bernard 7877836065 [BSP] Update project files. 2017-10-31 11:59:49 +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
BernardXiong e38f3aa39c [BSP] Update Keil MDK project files. 2015-05-11 21:10:25 +08:00
bernard 7e63d17653 [bsp] Change the output files directory in LPC2478. 2014-07-12 09:28:28 +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
aozima 2ccb3c7589 update LPC2478: Modify the interrupt interface implementations. 2013-03-31 18:25:51 +08:00
Bernard Xiong 608074deaf update to interrupt description 2013-03-30 08:15:27 +08:00
Ming, Bai b4de7cce57 Re-normalizing the repo 2013-01-08 22:40:58 +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
bernard.xiong@gmail.com 4fef27fbbc update project file.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2074 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-15 13:59:29 +00:00
dzzxzz@gmail.com f5f3d9f569 delete the useless mdk project and enable the RT_LWIP_IGMP in rtconfig.h
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2063 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-15 08:09:35 +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 cfc501f919 fixed IAR compiling error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2053 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14 11:29:42 +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
wuyangyong dd47ccd6ca update bsp lpc2478.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1853 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-20 09:11:13 +00:00
bernard.xiong a30661ebc5 remove the unnecessary variable.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1630 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-15 05:45:43 +00:00
bernard.xiong b5fbd46776 add GNU GCC support in LPC2478.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1333 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-17 09:14:38 +00:00
bernard.xiong e262eed0e8 update armcc device parameter in LPC2478.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1121 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-26 03:19:04 +00:00
lijin.unix@gmail.com 913a4edfb3 add scons script.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1089 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-22 07:21:28 +00:00
lijin.unix@gmail.com 8abbd39962 Add MDK 4 project file,and remove old project file.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1088 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-22 02:11:12 +00:00
bernard.xiong 95a579baf7 fix the end of line error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@760 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-06-04 07:47:17 +00:00
lijin.unix 18389f7628 fix bug: init soft timer thread
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@574 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-03 08:31:06 +00:00
lijin.unix 63d6608b85 scons config file
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@261 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-29 09:12:53 +00:00
lijin.unix 8c8aa4418b add soft timer.other's platform maybe compiled err,pls add some macro definition in rtconfig.h. ( RT_TIMER_THREAD_STACK_SIZE RT_TIMER_THREAD_PRIO RT_TIMER_EX_TICKS_PER_SEC)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@215 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-22 15:06:27 +00:00
bernard.xiong 1df36ebf2f Add console implementation on LPC2478 porting.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@11 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-07-31 04:10:48 +00:00
bernard.xiong 53919ba500 update lpc2478 bsp
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@10 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-07-29 23:39:12 +00:00