Commit Graph

84 Commits

Author SHA1 Message Date
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 5187d75af5 [armclang] 使用__clang__代替__CLANG_ARM 2021-12-29 14:15:38 -05:00
Meco Man ed09f38012 [libc] remove RT_USING_LIBC 2021-12-30 01:27:25 +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 879e9d4c54 更新rtconfig.h 2021-12-01 22:02:36 -05:00
Meco Man 04d3d13081 替换宏定义 2021-11-30 10:39:40 -05:00
supperthomas 490fb129bb add the ci machine 2021-10-24 15:31:13 +08:00
supperthomas b58defa307 add the fixed gcc version 2021-10-23 22:39:15 +08:00
supperthomas 33a3f835ad fix the scons --dist 2021-10-23 14:57:34 +08:00
guo cda8caeda0
Merge pull request #5180 from liukangcc/bsp
[update] bsp .config file and rtconfig.h file.
2021-10-15 13:54:46 +08:00
liukangcc 7dc99c1ff4 [update] bsp .config file and rtconfig.h file. 2021-10-14 14:49:53 +08: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
supperthomas 818d95d52e add the fixed project 2021-10-10 21:39:36 +08:00
supperthomas 52738a85e3 add the config 2021-10-10 21:38:08 +08:00
supperthomas 672cc500c5 fix the format 2021-10-10 21:34:54 +08:00
supperthomas 4cbcf5987a [bsp][lpc55] fix the console, add the us_delay,fix sdio to filesystem 2021-10-10 21:06:03 +08:00
supperthomas d85f1d97e8 add the ci and formatt 2021-09-21 18:38:25 +08:00
supperthomas f34e841e3e fix the complier error 2021-09-21 18:24:52 +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
Karl Zhang 95f4c7d374 PKG_USING_TFM: Use TFM package macro instead
RT_USING_TFM was duplicate macro. Remove it.

Change-Id: I626c63fe661202e63074f0db82ba99c06d12bc03
Signed-off-by: Karl Zhang <karl.zhang@arm.com>
2020-02-15 19:29:16 +08:00
Kevin Peng cd95e4cd59 LPC55S69: Add Protected Storage demo
This demo shows how protected storage works in RTT. It tests by write
and read data over PSA APIs, then check the integrity. The test will
run repeatedly, each time with different data.

The TFM package does not support LPC55S69 board officially yet.

Change-Id: Ib1cd4fc8166b21e3f774f092c95d2811d51123fe
Signed-off-by: Kevin Peng <kevin.peng@arm.com>
Signed-off-by: Karl Zhang <karl.zhang@arm.com>
2020-01-15 08:43:02 +08:00
Karl Zhang 2479d7de4a LPC55S69: TFM: Preparation to add PS demo
Link TFM PS APIs and veneer library. This is a preparation to add a
demo in RTT which can call into TFM for secure services.

Change-Id: I19ea617690d174a28af29b1804674bcaae59f838
Signed-off-by: Karl Zhang <karl.zhang@arm.com>
2020-01-15 08:43:00 +08:00
Bernard Xiong cad32a326c
Merge pull request #3314 from karl-zh/RT_USING_TFM
Add TFM support in RTT
2020-01-14 12:00:22 +08:00
Karl Zhang be4e2395ff LPC55S69: Update the flash layout to fit RTT in NS
RTT fits in NS flash when enabled TF-M for secure.

Change-Id: Icfd796b7fbe8fba76f713f9d5a14bbdcb5dcd9d5
Signed-off-by: Karl Zhang <karl.zhang@arm.com>
2020-01-03 15:51:25 +08:00
Kevin Peng 5f4b780558 LPC55S69: Integration with TF-M
This patch enables TF-M running on secure side and RT-Thread running on
NS side by:

1. Updates the VTOR address
2. Remove a HW initialization which is already done in TF-M
3. Add a new project and linker script to build RTT in NS

Note:
    There are no secure service calls to TF-M in this patch

Change-Id: I4023a082cfb5c8df8a4f0ecc7ffee850daaadeb4
Signed-off-by: Kevin Peng <kevin.peng@arm.com>
Signed-off-by: Karl Zhang <karl.zhang@arm.com>
2020-01-03 15:51:24 +08:00
Bernard Xiong 00338fd2ac [BSP] fix the lpc55 issue under Linux/GCC 2020-01-02 08:17:32 +08:00
nxp58695 b422e11a06 added LPC55S6x BSP 2019-10-24 17:56:09 +08:00