Commit Graph

94 Commits

Author SHA1 Message Date
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
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
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 c9b0876ac5 更新老bsp工程和rtconfig.h 2021-06-28 16:29:26 +08: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
David Lin d33230bcff
Fixed spelling mistakes of function
LPC17xx_SD_WirteDataBlock -> LPC17xx_SD_WriteDataBlock
2020-02-20 09:13:46 +08:00
David Lin e5845ea753
Fixed typo: 'commond'
Note that the word 'commond' is wrong,
so that 'commond' should been replaced with 'command'.
2020-02-16 16:31:39 +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
tyustli 1be90253d0 delete the CMSIS from components and add the CMSIS
and add the CMSIS in some specific BSP
2019-03-26 13:58:33 +08:00
armink 0d7ba79219 Remove the DBG_COLOR and DBG_ENABLE definition. 2019-03-06 17:54:30 +08:00
aozima 5ee6bf4a8a [bsp][lpc176x] update scons script. 2018-12-03 20:10:28 +08:00
misonyo a454393994 [BSP][all NXP]change license to Apache-2.0 2018-10-22 11:02:50 +08:00
liang yongxiang cd39c2525a [bsp] support get compiler path by environment variables for IAR 2018-04-07 15:43:45 +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 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
Bernard Xiong 1368e01470 [BSP] fix RT_DFS_ELM_MAX_LFN to 255. 2017-04-09 19:23:28 +08:00
yuht 585475991c update get “geometry” source
in function internal,get "geometry" form paramater "dev->user_data",  not use public variable "SDCfg"
2016-01-06 09:54:39 +08:00
Bernard Xiong 3e890570c9 [BSP] change the template setting in lpc176x;
fix the compiling warning when enable DFS.
2016-01-06 05:05:08 +08:00
yuht 2e1af44270 add RT_DFS_ELM_CODE_PAGE
解决因为缺少RT_DFS_ELM_CODE_PAGE 导致scons无法正确配置工程文件系统代码页问题。
2016-01-04 09:03:08 +08:00
miaoqiongb 2b0a5b93b7 Update uart.c
Add interrupt enter and leave
2015-11-11 10:43:57 +08:00
Bernard Xiong 59653699b2 Update uart.c 2015-10-30 17:19:53 +08:00
winfeng 8a73dc1be6 Update uart.c
iir = LPC_Uart->LSR;	//oe pe fe oe read for clear interrupt
2015-10-30 14:41:21 +08:00
Bernard Xiong db5fc259a2 [BSP] remove the asssert_failed function in lpc176x. 2015-08-03 16:17:48 +08:00
BernardXiong 075fb45448 [BSP] update project for LPC176x 2015-05-11 21:05:11 +08:00
Bernard Xiong 82ef447e44 [BSP] Update lpc176x GNU link script 2014-12-07 03:02:50 +00:00
Bernard Xiong 3bf721a6fb [BSP] Update C++ compiling options 2014-11-01 09:18:21 +08:00
Bernard Xiong 1b793ad039 [BSP] use RT_USING_LIBC instead of RT_USING_NEWLIB 2014-11-01 09:15:07 +08:00
Bernard Xiong a5119d696c [BSP] Add RT_DEVICE_CTRL_BLK_GETGEOME command handling in device control of LPC176x bsp 2014-08-27 09:23:32 +08:00
bernard 21b9e64cd6 [BSP] remove COMPONENTS_INIT for lpc176x and stm32f107 porting. 2014-07-19 06:51:43 +08:00
bernard 26118499e0 [BSP] remove rt_device_init_all() invoking. 2014-07-19 06:50:00 +08:00
Bernard Xiong e175b0724d [BSP] Fix compiling error 2014-06-27 13:35:12 +08:00