Commit Graph

53 Commits

Author SHA1 Message Date
Man, Jianting (Meco) 99bdf978d7
[rtdef] use lower-case to define attributes (#6728)
* [rtdef] rename RT_WEAK attribute as rt_weak

* [rtdef] rename RT_USED attribute as rt_used

* [rtdef] rename RT_SECTION attribute as rt_section

* [rtdef] rename ALIGN attribute as rt_align

* [legacy] add RT_USED ALIGN RT_SECTION RT_WEAK as legacy support
2022-12-11 13:12:03 -05:00
Man, Jianting (Meco) f7be5fc84b
[bsp][applications][sconscript] 整理统一sconscript格式 (#6481)
* [bsp][sconscript] 整理统一sconscript格式

* update

* update
2022-10-03 10:43:08 -04:00
liuxianliang a4eb64b873 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
Meco Man c9878aacd2 [scons][iar] 将IAR的PLATFORM字段由iar调整为iccarm
将路径更新为IAR最新版本的路径
2022-06-09 07:01:59 +08:00
guozhanxin e353b2d5f1 [bsp] Update all projects. 2022-03-29 19:28:06 +08:00
liukangcc ccbd22f493 [update] refresh project 2022-01-26 18:30:23 +08:00
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
Meco Man b2d3317c6a remove minilibc 2021-02-23 03:21:16 +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
armink 0d7ba79219 Remove the DBG_COLOR and DBG_ENABLE definition. 2019-03-06 17:54:30 +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 62e8b843c8 [BSP] add -nostartfiles in lpc2148 bsp 2017-11-01 21:01:53 +08:00
Bernard Xiong ec5fa950ed
Merge pull request #925 from SummerGGift/20171031_patch1
[BSP] change dfs_init.h => dfs.h
2017-11-01 05:54:52 +08:00
SummerGift f5486852e1 change dfs_init.h => dfs.h 2017-10-31 16:36:45 +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
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
aozima 1549b7db90 update LPC214X: Modify the interrupt interface implementations. 2013-03-31 17:58:26 +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
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
dzzxzz a54b523ec0 fixed scons+keil compiling error in lpc2148 and lpc178x branches
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1897 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-31 08:18:46 +00:00
wuyangyong cd49d73535 update bsp lpc2148.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1851 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-20 08:44:36 +00:00
wuyangyong a2470120e4 update stm32f10x gcc ld script
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1585 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-03 13:21:32 +00:00
wuyangyong b4bc59f918 update lpc2148
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1583 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-02 15:13:39 +00:00
wuyangyong f02f51d2e3 update lpc2148 SConscript
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1580 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-01 14:18:31 +00:00
wuyangyong d82200badd update lpc2148
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1513 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-15 04:01:05 +00:00
wuyangyong baf5e4143c add #define RT_USING_CONSOLE
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1343 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-23 14:41:11 +00:00
wuyangyong 1e5518ee84 update lpc2148 bsp
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1148 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-29 18:20:11 +00:00
bernard.xiong 4d88d694d5 rename the private field in device to user_data.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1135 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-29 07:49:59 +00:00