Commit Graph

54 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 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
Meco Man 7b5e6a81f9 [stm32][gcc] 修复栈为0的bug,将栈扩展到0x400(与Keil IAR一致) 2021-12-03 10:05:03 -05:00
Meco Man 879e9d4c54 更新rtconfig.h 2021-12-01 22:02:36 -05:00
Meco Man df9a23c534 [mutex] use RT_IPC_FLAG_PRIO to replace RT_IPC_FLAG_FIFO 2021-11-17 15:57:15 -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 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
chenjh 67b86e61ba [uart] Modify the uart file to configure uart_pin for pullup 2021-07-07 18:51:21 +08:00
Bernard Xiong a225ca8014
Merge pull request #4537 from mysterywolf/stm32
[stm32] remove 'count' variable in main()
2021-03-31 14:18:48 +08:00
thread-liu 43e8524ffc [update] stm32mp1 opemamp malloc -> rt_malloc. 2021-03-31 11:27:11 +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
Bernard Xiong b3cccf7d04
Merge pull request #4490 from mysterywolf/stm32
[stm32] auto formatted
2021-03-23 20:01:27 +08:00
thread-liu f5d65afc77 [update] stm32mp1 .config file, enable CONFIG_RT_LIBC_USING_TIME default. 2021-03-22 14:12:34 +08:00
Meco Man 5bd17e1433 [stm32] auto formatted 2021-03-14 15:33:55 +08:00
thread-liu c8ac5c748a [update] return value judgment. 2021-01-21 09:46:35 +08:00
thread-liu f691db99b5 [update] uart dma sample. 2021-01-20 15:31:38 +08:00
Meco Man 660b9fb627 update 2021-01-08 11:20:46 +08:00
yangjie dc09f3760f 更新 stm32 工程,nxp 工程 2020-12-28 15:02:17 +08:00
thread-liu 534239b8c1 [update] add keyword __no_init to disable IAR from initializing specified memory. 2020-12-25 09:47:47 +08:00
thread-liu 0b5c69ef69 [update] stm32mp1 heap address. 2020-12-17 11:55:53 +08:00
thread-liu f549c79269 [update] stm32mp1 mdk link script file. 2020-12-17 10:27:51 +08:00
thread-liu a06f1fa627 [add] dma test case. 2020-12-10 14:52:04 +08:00
thread-liu 5de6c0defc [add] timer test case. 2020-12-05 14:33:12 +08:00
thread-liu 3ecf12b5b2 Merge branch 'master' of https://github.com/RT-Thread/rt-thread into step4-ev1
# Conflicts:
#	bsp/stm32/libraries/STM32MPxx_HAL/SConscript
2020-12-05 14:12:54 +08:00
thread-liu f9e34b4df6 [add] rs485 driver 2020-12-05 13:38:53 +08:00
thread-liu 8880e751f2 [add] low power and lptim driver. 2020-12-05 11:54:17 +08:00
thread-liu 6d8dbb6756 [add] RNG, CRC, HASH, CRYP driver. 2020-12-05 11:34:30 +08:00
thread-liu fd20299507 [add] exti test case. 2020-12-05 11:20:38 +08:00
thread-liu ba7865d3f5 [add] spi loopback test case. 2020-12-05 11:19:57 +08:00
thread-liu edd3fd2174 [add] wwdg driver. 2020-12-05 10:16:06 +08:00
thread-liu 73539c6bc0 [add] dfsdm driver. 2020-12-05 09:43:32 +08:00
thread-liu b71d496b83 [add] spdifrx driver. 2020-12-05 09:32:35 +08:00
thread-liu dbd67507d9 [add] qspi_flash driver. 2020-12-05 09:09:28 +08:00
thread-liu 5d7efb3c5f [add] fdcan driver. 2020-12-04 17:57:54 +08:00
thread-liu 10da8d4e44 [add] dcmi and ov5640 driver. 2020-12-04 17:48:42 +08:00
thread-liu c5612fd2e1 [add] sai and wm8994 codec driver. 2020-12-02 17:29:04 +08:00
thread-liu 840af38dac [add] sdmmc (sd_card and emmc) driver. 2020-12-02 17:10:39 +08:00
thread-liu 3767a08901 [add] GBE dirver. 2020-11-27 08:52:45 +08:00
thread-liu 916bcc141f [update] openamp. 2020-11-26 15:12:23 +08:00
thread-liu 7cfb6919b3 [add] openamp for stm32mp157a-ev1 2020-09-23 15:52:00 +08:00