Commit Graph

57 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
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 c9b0876ac5 更新老bsp工程和rtconfig.h 2021-06-28 16:29:26 +08:00
yangjie 8f2ebf6eec [bsp][sam7x]remove the gpl file(mii.h) 2021-04-25 10:02:29 +08:00
yangjie 75e4c9dd0a [bsp]update GPL license to Apache-2.0, and format files 2021-04-09 10:52:34 +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
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
aozima 1ff8d7339b [bsp] [sam7x]: fix SConscript spelling error. 2018-04-08 10:24:06 +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 8f8827fab7 [BSP] add -nostartfiles in link flags of sam7x bsp 2017-11-01 20:58:21 +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
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 6ee66d92e7 [bsp][sam7x] Fix compile error. Increase DATA section size in .ld file. 2017-10-17 14:45:31 +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
BernardXiong e38f3aa39c [BSP] Update Keil MDK project files. 2015-05-11 21:10:25 +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
Grissiom b9f9c3b2a4 remove RT_LWIP_TCP_SND_BUF setting
When not configured in rtconfig.h, lwipopt.h will give us a reasonable
value(TCP_MSS * 2).
2013-07-04 18:04:47 +08:00
aozima eab20a9975 update AT91SAM7X: Modify the interrupt interface implementations. 2013-03-31 17:43:09 +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 58fb0187af fixed a compiling error in sam7x BSP
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2515 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-24 03:53:07 +00:00
dzzxzz@gmail.com a97ed29249 update the sam7x project
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2189 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-27 00:59:28 +00:00
dzzxzz@gmail.com c9ea5fb81a update MDK4 project and template
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2067 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-15 09:59:45 +00:00
dzzxzz@gmail.com 3920762913 add a template file for MDK project and update the MDK4 project
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2066 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-15 09:38:36 +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
mbbill@gmail.com 8c45ba5874 fix sam7x compile error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1529 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-23 08:02:06 +00:00
mbbill@gmail.com 864bd11802 Add reentrance check. Put kernel debug switch together.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1494 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-12 10:01:48 +00:00
mbbill@gmail.com 3077aea698 sam7x can now be compiled by armcc under scons.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1485 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-10 03:59:16 +00:00
mbbill@gmail.com b83b4ee04c add sam7x_rom.ld.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1483 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-10 03:56:29 +00:00
mbbill@gmail.com 1fb43c8619 using new macro: RT_USING_CONSOLE to enable console in rtconfig.h
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1482 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-10 02:54:05 +00:00
mbbill@gmail.com e6a874abb4 add sam7x scons script.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1475 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-09 10:49:22 +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
mbbill 03072ba689 Sam7x project updated.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@960 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-26 14:16:55 +00:00
mbbill 9592d89769 FIX: Merged ljt8015's patch, add DM9161 support.
NOTE: The project.uv2 left not modified. 

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@546 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-28 09:02:26 +00:00