Commit Graph

21 Commits

Author SHA1 Message Date
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
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 1083ea59c8
Revert "[update] Fix compiler flags issue" 2021-10-14 14:36:58 +08:00
liukangcc 5fef77fcdd [update] Fix compiler flags issue 2021-10-14 11:38:06 +08:00
charlown 0ea1fac551 [bsp/wch/arm/ch32f103c8-core/board/board.h]: add macro definition.
[bsp/wch/arm/ch32f10x_port_cn.md]: add ch32f10x_port_cn.md.
2021-10-12 21:27:39 +08:00
charlown a9aa150e16 [bsp/wch/arm/Libraries/ch32_drivers/drv_rtc_ch32f10x.c]: rename rtc ops. 2021-10-11 21:29:23 +08:00
charlown 9ec326f931 [bsp/wch/arm/Libraries/ch32_drivers/drv_pwm_ch32f10x.c]:support pwm.
[bsp/wch/arm/ch32f103c8-core]:add timer1~4(include 4 channel) pwm.
2021-09-23 23:20:16 +08:00
charlown 5ce84153f3 [bsp/wch/arm/Libraries/ch32_drivers/drv_hwtimer_ch32f10x.c]:rename func: ch32f1_hwtimer_clock_init, ch32f1_hwtimer_clock_get, hwtimer and pwm will be use it. change some code annotation.
[bsp/wch/arm/ch32f103c8-core]: rename func.
2021-09-10 17:12:31 +08:00
charlown 84111766f9 [bsp/wch/arm/Libraries/ch32_drivers]: support ch32f10x hwtimer.
[bsp/wch/arm/ch32f103c8-core]: add hwtimer1~4.
2021-09-08 16:45:55 +08:00
charlown 7aa4dfec8b [wch/arm/ch32f103c8-core]:format board/Kconfig, format README.md. 2021-09-07 16:11:07 +08:00
charlown f6edb4754b delete dir_path in wch bsp ignore_format file. 2021-09-06 21:06:39 +08:00
charlown 454d620b62 add wch bsp ignore_format file. 2021-09-06 17:38:53 +08:00
charlown abeb9500d0 fix rtconfig.py param: DEVICE = cortex-m3 in other platform. 2021-09-06 13:42:48 +08:00
charlown 5169360e21 support gcc for ch32f10x. 2021-09-03 15:44:19 +08:00
charlown 02a3ac4036 format wch bsp code. 2021-09-02 22:49:01 +08:00
charlown 2e74dd8e2d support ch32f10x family, add ch32f103c8-core bsp 2021-08-31 14:41:35 +08:00