Commit Graph

112 Commits

Author SHA1 Message Date
Meco Man 5187d75af5 [armclang] 使用__clang__代替__CLANG_ARM 2021-12-29 14:15:38 -05: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 878ecd14f4 [stm32] add ignore_format.yml 2021-12-13 00:49:48 -05:00
Bernard Xiong 36d5154256
Merge pull request #5320 from mysterywolf/pse-master
[POSIX] move PSE branch to master
2021-12-05 13:16:39 +08:00
guo 8f2a8efe70
Merge pull request #5324 from mysterywolf/bluepill
[stm32][bluepill] update readme
2021-12-04 12:17:54 +08:00
Meco Man 7b5e6a81f9 [stm32][gcc] 修复栈为0的bug,将栈扩展到0x400(与Keil IAR一致) 2021-12-03 10:05:03 -05:00
Meco Man 84491d9ff1 [stm32][bluepill] update readme 2021-12-02 20:39:23 -05:00
Meco Man 879e9d4c54 更新rtconfig.h 2021-12-01 22:02:36 -05:00
Meco Man 4e07da09e9 [bsp][stm32][bluepill] update readme 2021-11-02 21:04:06 -04:00
Meco Man 7f619606a1 [stm32l475] improve the structrue of sconscript 2021-10-24 16:21:21 -04:00
Meco Man fa4b7ec8fd [stm32][bsp] The sconscript script in the application folder increases the recursion searching capability 2021-10-15 15:14:30 -04: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
Meco Man 698569c3ca [stm32][lib] modify heap size to zero 2021-10-11 17:25:15 -04:00
liukangcc 0e46c8a33d [update] support armclang 2021-09-26 10:46:21 +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
Bernard Xiong f8cf8341af
Merge pull request #4851 from KyleChenjh/uart
[uart] Modify uart pin configuration to pullup
2021-07-08 15:26:51 +08:00
Meco Man 25b9a3e321 [bsp][stm32 bluepill] 更新readme 2021-07-08 01:02:35 +08:00
chenjh 67b86e61ba [uart] Modify the uart file to configure uart_pin for pullup 2021-07-07 18:51:21 +08:00
Meco Man a13aea3a30 remove return 2021-03-28 22:42:37 +08:00
Meco Man 390c635267 [stm32] remove 'count' variable in main() 2021-03-28 19:36:32 +08:00
Meco Man 5bd17e1433 [stm32] auto formatted 2021-03-14 15:33:55 +08:00
Meco Man 4f06fdc0ad [stm32]删除RTC对libc的依赖 2021-03-05 09:26:26 +08:00
Meco Man 10e955638d [stm32][bluepill] 增加英文参考资料 2021-02-08 15:01:13 +08:00
Bernard Xiong 45963a16b0
Merge pull request #4266 from mysterywolf/bluepill
[stm32][bluepill] add the function of MDK simulator & update MDK5 project template
2021-01-30 09:23:14 +08:00
Meco Man d79efd3794 update 2021-01-29 10:01:04 +08:00
Meco Man 5cf677e452 update readme 2021-01-28 11:42:09 +08:00
Meco Man 1fa29abaf6 add RTC and PC13 2021-01-28 11:40:20 +08:00
Meco Man 4f1c96de30 change linker scripts to 128K ROM 2021-01-26 06:28:39 +08:00
Meco Man f439bb4f22 update 2021-01-26 06:07:32 +08:00
Meco Man 7ac8b468d7 update 2021-01-26 05:46:57 +08:00
Meco Man 44ea5e54db update 2021-01-26 05:20:00 +08:00
Meco Man d21337c4be add simulator function 2021-01-26 05:19:10 +08:00
Meco Man 2c055a2cc6 update readme 2021-01-26 05:02:05 +08:00
Meco Man a6cd8087a0 update reamde 2021-01-26 00:19:10 +08:00
Meco Man 48b942d38d [.gitignore] 将dist文件夹滤掉 2021-01-17 20:46:52 +08:00
Meco Man c2cd5ef7ce update 2021-01-17 14:04:28 +08:00
Meco Man 1915c4027a update 2021-01-14 23:47:49 +08:00
Meco Man e93cbcb371 update 2021-01-14 14:06:35 +08:00
Meco Man 7fe68aca57 update 2021-01-14 14:05:37 +08:00
Meco Man f8af4b6d68 update 2021-01-14 13:22:45 +08:00
Meco Man dfedf1ab92 update readme 2021-01-14 00:04:16 +08:00
Meco Man c19183a647 update cubemx 2021-01-13 23:14:22 +08:00
Meco Man f2444c3090 update keil5 project template 2021-01-13 22:55:49 +08:00
tangweikang 01b43fcb8c [stm32][stm32f103-blue-pill] add USB device support. 2021-01-13 11:34:45 +08:00
yangjie dc09f3760f 更新 stm32 工程,nxp 工程 2020-12-28 15:02:17 +08:00
Bernard Xiong c2252f63fe
Merge pull request #4003 from mysterywolf/pr4
[bsp][stm32][bluepill] add USART2
2020-11-18 08:08:24 +08:00
Meco Man 877d35a905
Update README.md 2020-11-12 18:02:25 +08:00
mysterywolf aa6356f899 [bsp][stm32][bluepill] update readme 2020-11-02 18:25:43 +08:00
mysterywolf 2b322eecc4 [bsp][stm32][bluepill] add USART2 2020-10-30 12:47:24 +08:00
mysterywolf 739bf5fea6 [bsp][stm32][bluepill] update readme 2020-10-29 12:10:21 +08:00
Bernard Xiong f48c1d8ba8
Merge pull request #3984 from mysterywolf/pr4
[bsp][stm32][bluepill] support RTC
2020-10-25 15:29:37 +08:00
mysterywolf 951ed9e218 [bsp][stm32][bluepill] support RTC 2020-10-25 09:54:59 +08:00
mysterywolf 0cacc10600 [bsp] [stm32] [bluepill] 更新英文文档,为下周二的英文视频做准备 2020-10-24 18:42:21 +08:00
mysterywolf 2077aecd13 Update readme 2020-10-21 02:45:59 +08:00
mysterywolf 1e54d51086 Update Readme 2020-10-16 16:39:21 +08:00
mysterywolf ab6182aac6 add stm32f103-blue-pill BSP 2020-10-16 11:31:17 +08:00