Commit Graph

56 Commits

Author SHA1 Message Date
Meco Man ddccef3a64 modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
Meco Man 9bc68d26a4 format Kconfig and sconscript 2023-01-08 22:52:13 -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 83b3aadaa3 [Scons][iar][iccarm] IAR统一使用iccarm作为判断条件而不是是用IDE的名字来进行判断
因为不确定后续IAR是否会像Keil一样内含有不同的编译工具链
此外,将判断条件改为列表方式,这样更方便后续增加其他可能的IAR编译链
2022-06-09 07:01:59 +08:00
Meco Man 50f041f5c2 [Scons] 将GCC判断条件改为列表方式,方便后续增加新的编译工具链 2022-06-09 07:01:59 +08:00
Man, Jianting (Meco) a0f8d43744
[gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM (#5802)
* [gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM
2022-04-20 09:56:04 +08:00
guozhanxin e353b2d5f1 [bsp] Update all projects. 2022-03-29 19:28:06 +08:00
Man, Jianting (Meco) e96e3e07f5
[lwip] integrate lwip porting layer (#5606)
* [lwip] integrate lwip porting layer

* Lwip 通用文件梳理 (#2)

* [modify] extract the common files for different version about lwip.

* [update] the initialization logic of lwIP.

* 整理源码结构

* ethernetif 头文件 ""改为<>

* 整理代码

* add macro definition "RT_USING_DEVICE_IPC".

* [update] mandatory selected "RT_USING_DEVICE_IPC".

* [modify] compile error for lost "lwip/init.h"

Co-authored-by: xiangxistu <52819708+xiangxistu@users.noreply.github.com>
Co-authored-by: liuxianliang <liuxianliang@rt-thread.com>
2022-02-23 23:56:43 +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 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
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
Meco Man c9b0876ac5 更新老bsp工程和rtconfig.h 2021-06-28 16:29:26 +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
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 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
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 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
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 186a9f609b update Stellaris Peripheral Driver Library to r8264.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1867 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-23 02:59:07 +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