Commit Graph

119 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
andrew li 4bbfc5fcb8 add nrf5340 bsp,add uarte and gpio drv for 5340 2022-12-09 07:55:11 -05:00
supperthomas 2f0f426375 [bsp/nrf5x] Fix the Kconfig of nrf52832
Signed-off-by: supperthomas <78900636@qq.com>
2022-11-27 21:23:42 -05:00
Man, Jianting (Meco) f7be5fc84b
[bsp][applications][sconscript] 整理统一sconscript格式 (#6481)
* [bsp][sconscript] 整理统一sconscript格式

* update

* update
2022-10-03 10:43:08 -04:00
supperthomas fc55785e70
[bsp][nrf52840]Add segger rtt function (#6460)
* fix project to AC6

* add the segger_rtt function

* move Kconfig
2022-09-23 09:38:42 -04:00
liuxianliang a4eb64b873 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
Meco Man dd94198bd6 [gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM 2022-08-16 09:39:00 +08:00
chenyingchun0312 7824c54b1b [docs] add nrfx docs 2022-06-09 14:35:20 +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
guo 4af064ce67
[bsp] Improve rtconfig.py path definition (#5739) 2022-03-29 22:15:09 +08:00
guozhanxin e353b2d5f1 [bsp] Update all projects. 2022-03-29 19:28:06 +08:00
LiuKang 75a7cb6929
[update] add fal component. (#5662)
* [update] add fal component.

* [update] format code.

* [update] change PKG_USING_FAL to RT_USING_FAL

* [update] format code.

* [update] fal

* [update] delete FAL_SW_VERSION
2022-03-15 09:48:05 +08:00
liukangcc ccbd22f493 [update] refresh project 2022-01-26 18:30:23 +08:00
liukangcc 3d2e23ec1c [update] move dfs_posix.h to legacy/dfs/dfs_posix.h 2022-01-14 23:09:32 +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
chenyingchun0312 8f65ea4e70 [bsp/nrf5x] fix i2c driver bug 2021-11-28 22:44:10 +08:00
chenyingchun0312 43aefc9c43 [bsp/nrf5x] add hwtimer config & tinyusb config 2021-11-26 12:34:34 +08:00
chenyingchun0312 09030030e5 [bsp/nrf5x] add hwtimer driver 2021-11-24 09:25:52 +08:00
guo d090e0762e
Merge pull request #5226 from supperthomas/nrf_ci
[bsp/nrf5x] add the ci of nrf5x
2021-10-25 21:44:58 +08:00
supperthomas 354b3fe8d2 add the fixed lds 2021-10-25 21:20:21 +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
guo 92ea0ec8c7
Merge pull request #5178 from RT-Thread/revert-5171-ccflags
Revert "Fix compiler flags issue"
2021-10-14 15:21:36 +08:00
liukangcc 7dc99c1ff4 [update] bsp .config file and rtconfig.h file. 2021-10-14 14:49:53 +08:00
guo 1083ea59c8
Revert "[update] Fix compiler flags issue" 2021-10-14 14:36:58 +08:00
guo b1baf42d4e
Revert "Fix compiler flags issue" 2021-10-14 14:36:18 +08:00
liukangcc 5fef77fcdd [update] Fix compiler flags issue 2021-10-14 11:38:06 +08:00
liukangcc 3ac36a3107 [update] Fix compiler flags issue 2021-10-14 10:32:22 +08:00
chenyingchun0312 3c8799cfeb 【bsp/nrf5x】优化驱动代码,消除warning & 默认关闭libc功能 2021-09-19 22:55:12 +08:00
supperthomas 8da2f96bc2 fix the readme.md 2021-09-03 22:25:59 +08:00
rice.chen 7f737e5e63 [add]Add nrf52833 support for Bluetooth protocol stack 2021-09-03 22:20:35 +08:00
rice.chen 8e0cebbd45 [add]add nrf52833 BSP 2021-09-03 22:20:34 +08:00
supperthomas 32a305904d fix the uart config 2021-09-02 21:34:31 +08:00
区荣杰 26db04e773 修改nrf5x的README.md 2021-08-19 15:55:36 +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
chenyingchun0312 18c9c50592 [bsp/nrf52x] optimize drv_wdt.c
refer to issue: https://github.com/RT-Thread/rt-thread/issues/4558
2021-08-12 10:17:38 +08:00
chenyingchun0312 8708808a35 [bsp/nrf5x] remove drivers/drv_fs.c to application/mnt.c 2021-07-01 22:36:30 +08:00
chenyingchun0312 75e575476b [bsp/nrf5x] update link.lds 2021-06-28 22:57:40 +08:00
chenyingchun0312 0acbc36e4a [bsp/nrf5x] update config file 2021-06-28 22:34:35 +08:00
chenyingchun0312 04a2434233 [bsp/nrf5x] update config file 2021-06-28 21:11:35 +08:00
陈迎春 cd571127e8
Merge branch 'RT-Thread:master' into master 2021-06-28 20:21:20 +08:00
chenyingchun0312 a1f2cdd4d6 [bsp/nrf5x] format drv_fs.c 2021-06-28 11:12:09 +08:00
chenyingchun0312 670000dd0f [bsp/nrf5x] fix gcc compile exception and add onchip filesystem
Signed-off-by: chenyingchun0312 <chenyingchun0312@163.com>
2021-06-28 10:56:53 +08:00