Commit Graph

1531 Commits

Author SHA1 Message Date
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 d4a72f29c7 [simulator][lvgl] 处理注释 2021-12-16 03:16:02 -05:00
guo c5208a7d19
Merge pull request #5375 from mysterywolf/arduinol475
[l475][arduino] 增加ADC PWM管脚定义
2021-12-14 09:43:29 +08:00
Meco Man 7f9546ada0 [l475][arduino] 增加ADC PWM管脚定义 2021-12-13 20:18:26 -05:00
guo 9ab2ceb8b3
Merge pull request #5373 from Rbb666/master
Add BSP-ART-PI download algorithm
2021-12-14 09:17:43 +08:00
guo a8fd3025de
Merge pull request #5374 from Puhan-Zhou/master
[bsp][stm32f411][docs]fix doc error
2021-12-14 09:16:43 +08:00
张世争 7455e2487b [components] PM框架更新 2021-12-14 06:12:55 +08:00
Bernard Xiong 3b007a7bbc
Merge pull request #5359 from qingehao/h7_spi
完善了STM32H7系列SPI使用DMA的驱动
2021-12-14 06:11:22 +08:00
Puhan Zhou 8ba68a0617 fix doc error 2021-12-13 21:07:07 +08:00
Rbb666 5a53afd00a Add BSP-ART-PI download algorithm 2021-12-13 17:29:06 +08:00
guo c26f66489f
Merge pull request #5370 from mysterywolf/stm32ignore
[stm32] add ignore_format.yml for STM32
2021-12-13 14:00:46 +08:00
guo bf7a1d7cb0
Merge pull request #5371 from mysterywolf/common
[stm32][drv_common] add LOG_E for Error_Handler
2021-12-13 14:00:13 +08:00
Meco Man d83bea2ba3 [stm32l475] 修正port/Arduino的宏定义 2021-12-13 00:50:41 -05:00
Meco Man 878ecd14f4 [stm32] add ignore_format.yml 2021-12-13 00:49:48 -05:00
Meco Man 05d15b1162 [stm32][drv_common] add LOW_E for Error_Handler 2021-12-12 23:45:29 -05:00
Man, Jianting (Meco) 01a6563249
[stm32l475][arduino] 初步实现Arduino生态兼容 (#5367)
* [arduino] 初步实现Arduino生态兼容组件

* [stm32f475] 增加PC2 作为ADC1_IN3

* [stm32l475][port] 将路径Arduino改为arduino
2021-12-13 11:36:51 +08:00
Z.Y.Ma 84ebf38462
add stm32g474-st-nucleo bsp (#5362)
* add stm32g474-st-nucleo bsp

* format

* format
2021-12-13 09:42:33 +08:00
guo 0555a55027
Merge pull request #5349 from mysterywolf/stm32l475
[stm32][l475] 增加ESP8266快速构建选项,串口驱动由v2调整为V1
2021-12-10 18:53:54 +08:00
iysheng b6d90dffcf [bsp][stm32] Modify variable name p_tm to tm 2021-12-10 16:25:40 +08:00
qinge 18da37aacc 修改格式,调整对齐 2021-12-10 15:57:20 +08:00
qinge 81b84ab166 完善了STM32H7系列SPI使用DMA的驱动
1.使能DMA时钟的条件编译中加入了STM32H7
2.添加STM32H7 "spi_config" 中的request字段
3.DMA初始化FiFo相关的初始化的条件编译选项中加入STM32H7
2021-12-10 15:30:30 +08:00
Meco Man a716a9949e [stm32][l475] 增加ESP8266快速构建选项,串口驱动由v2调整为V1 2021-12-08 18:40:37 -05:00
rtthread-bot 9bbb74affc Merge remote-tracking branch 'rtt_gitee/gitee_master' 2021-12-08 06:12:14 +00:00
Meco Man 77dc58534a [stm32][f469]update lvgl demo 2021-12-06 09:33:04 -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
Man, Jianting (Meco) 1040f4a347
fix ci error. (#68)
Co-authored-by: guozhanxin <guozhanxin@rt-thread.com>
2021-12-02 22:59:59 -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
guo fda37d55f8
Merge pull request #5319 from RT-Thread/master
【PSE分支】同步master到PSE分支
2021-12-02 10:09:37 +08:00
Meco Man 04d3d13081 替换宏定义 2021-11-30 10:39:40 -05:00
chenyingchun0312 7db9df93e5 [bsp/stm32/stm32l496] add I2C config 2021-11-27 17:22:24 +08:00
qinge f89625acb6 修复stm32l4系列flash在下载完程序后首次擦除会失败的问题 2021-11-23 17:33:56 +08:00
guo 7dabc3844c
Merge pull request #5289 from mysterywolf/lvgl
[stm32l475] update lvgl driver
2021-11-22 21:21:34 +08:00
Meco Man 364109708c [stm32l475] update lcd driver 2021-11-21 16:06:41 -05:00
Bernard Xiong 9bbcd1a8b0
Merge pull request #5284 from mysterywolf/mutex
[mutex] use RT_IPC_FLAG_PRIO to replace RT_IPC_FLAG_FIFO
2021-11-19 16:50:34 +08:00
Meco Man 5f2f862ed9 [stm32f469] update project 2021-11-18 11:44:57 -05:00
Meco Man b7d17f3df8 [stm32l475] update lvgl driver 2021-11-18 11:26:54 -05:00
guo a087a1b0fc
Merge pull request #5280 from liukangcc/u575
[update] add stm32u575-st-nucleo bsp.
2021-11-18 22:43:00 +08:00
Meco Man d6de91c68c update lvgl 2021-11-17 23:21:14 -05:00
Meco Man 1997e5c65b [stm32][l475][f469] update lvgl 2021-11-17 18:38:08 -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
qingehao 0a123c307e
Merge branch 'RT-Thread:master' into master 2021-11-16 17:39:35 +08:00
Bernard Xiong c1d7eaa015
Merge pull request #5281 from tfx2001/tinyusb_stm32
[bsp][stm32] move drv_tinyusb.c to tfx2001/tinyusb
2021-11-15 23:34:22 +08:00
liukangcc 5be4d1cc8d [update] ignore_format.yml 2021-11-15 15:31:51 +08:00
tfx2001 0fc5091fd3 [bsp][stm32] move drv_tinyusb.c to tfx2001/tinyusb 2021-11-15 12:54:02 +08:00
liukangcc 234cf4d8ff [update] readme. 2021-11-15 11:55:24 +08:00
liukangcc 1f9eb78d0e [update] add stm32u575-st-nucleo bsp. 2021-11-15 11:23:12 +08:00
Meco Man 0f7b99e2da [bsp][stm32l475] update lvgl driver 2021-11-14 00:03:04 -05:00
qinge e1c281c95d STM32H7系列无需DMA_CHANNEL_X 2021-11-11 19:05:24 +08:00
liukangcc 33bc06de40 [update] add lvgl music demo. 2021-11-11 14:47:42 +08:00
liukangcc 9684f34b08 [update] add dma for lvgl. 2021-11-11 13:57:34 +08:00
Bernard Xiong fdbaa2a808
Merge pull request #5250 from liukangcc/l552ze
[add] bsp stm32l552ze-nucleo
2021-11-10 09:13:44 +08:00
Meco Man 3d8c063194 [stm32l5xx] adjust heap size to zero 2021-11-08 14:30:10 -05:00
liukangcc c00faa21a0 Merge remote-tracking branch 'remotes/liukang/l552ze' 2021-11-08 09:41:28 +08:00
liukangcc f26dc89de6 [update] rtconfig.py 2021-11-08 09:07:20 +08:00
guo 4fe6c709d0
Merge pull request #5251 from charlown/master
[bsp/stm32/libraries/HAL_Drivers/drv_wdt.c]: add SOC_SERIES_STM32G0 to fix wdt always reset.
2021-11-03 19:05:12 +08:00
Meco Man 4e07da09e9 [bsp][stm32][bluepill] update readme 2021-11-02 21:04:06 -04:00
charlown 3c450b7560 [bsp/stm32/libraries/HAL_Drivers/drv_wdt.c]: add SOC_SERIES_STM32G0 to use "stm32_wdt.hiwdg.Init.Window = 0x00000FFF", otherwise the watchdog always reset. 2021-11-02 14:37:42 +08:00
LiuKang 84ca6d31ce
Update drv_usart.c 2021-11-01 20:05:59 +08:00
liukangcc bae07bdab1 [add] bsp stm32l552ze-nucleo 2021-11-01 15:05:02 +08:00
guo da1cc99fe2
Merge pull request #5238 from charlown/master
[bsp/stm32/stm32g070-st-nucleo/board/Kconfig]: corret path.
2021-10-28 10:43:52 +08:00
Meco Man 9eb33f6a3f [stm32l475][lvgl]update lv_demo.c 2021-10-27 16:19:03 -04:00
charlown 6bb18c11ef [bsp/stm32/stm32g070-st-nucleo/board/Kconfig]: corret path. 2021-10-27 23:24:47 +08:00
guozhanxin b7764f2aac [bsp][stm32f469-st-disco] add lvgl port. 2021-10-27 13:50:07 +08:00
guo 574e11f62a
Merge pull request #5183 from tfx2001/tinyusb_stm32
[bsp][stm32] add TinyUSB support
2021-10-25 09:57:20 +08:00
Meco Man 7f619606a1 [stm32l475] improve the structrue of sconscript 2021-10-24 16:21:21 -04:00
guo 9ea2c2b075
Merge pull request #5220 from mysterywolf/kconfig 2021-10-24 16:02:06 +08:00
Meco Man e32626da30 [stm32l475] 修复board文件夹sconscript脚本没有继续扫描子文件夹的问题 2021-10-24 01:59:31 -04:00
Meco Man 468063ae59 [stm32l475] beautify kconfig of board 2021-10-24 01:47:36 -04:00
Meco Man e63e9002bd [stm32l475] enable SPI3-DMA2 for LCD 2021-10-24 01:24:38 -04:00
Meco Man 452fbf850a [lvgl][stm32l475] update demo 2021-10-23 01:58:56 -04:00
Meco Man 7cba0ea924 [lvgl][stm32l475] implement lvgl input driver 2021-10-22 17:34:36 -04:00
guo 0746772433
Merge pull request #5214 from mysterywolf/l745 2021-10-22 20:47:47 +08:00
Meco Man a70eb5604c [stm32l475] upgrade lvgl porting 2021-10-22 01:46:34 -04:00
guo 835e656df3
Merge pull request #5211 from mysterywolf/stm32l475
[stm32l475] add BSP_USING_LCD_SAMPLE in rttlogo.h
2021-10-21 10:19:30 +08:00
Meco Man 9d8ef7382a [stm32l475] add BSP_USING_LCD_SAMPLE in rttlogo.h 2021-10-20 21:19:27 -04:00
Bernard Xiong 268a520306
Merge pull request #5209 from tfx2001/tinyusb_stm32_driver
[bsp][stm32] add TinyUSB stm32 driver
2021-10-20 17:33:31 +08:00
tfx2001 f26adf6506 [bsp][stm32] add tinyusb stm32 driver 2021-10-20 01:14:32 +08:00
guo a03846edf2
Merge pull request #5206 from liukangcc/hal
[update] Fix STM32 USB driver matching hal library version
2021-10-19 15:22:14 +08:00
liukangcc a0bdbab7c3 [update] Fix STM32 USB driver matching hal library version 2021-10-19 11:03:18 +08:00
Meco Man d4991d9d50 [l475] port for LVGL 2021-10-18 17:07:45 -04:00
Jianting (Meco) Man 830785eec7
Merge pull request #60 from mysterywolf/sconscirpt
[stm32][bsp] The sconscript script in the application folder increase…
2021-10-18 12:50:57 -05:00
Jianting (Meco) Man 4ac91e3dec
Merge pull request #59 from mysterywolf/l475
[bsp][stm32][l475] add lcd_fill_array()
2021-10-18 12:41:21 -05:00
Meco Man ff4e819dfd [stm32][l745] add lvgl demo 2021-10-17 12:03:00 -04:00
Meco Man 655d8dc768 [bsp][stm32][l475] add lcd_fill_array() 2021-10-17 03:46:20 -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
tfx2001 c1d3d87494 [bsp][stm32] add TinyUSB support 2021-10-15 00:49:11 +08:00
liukangcc 7e88605008 [update] delete undefined function 2021-10-14 18:09:08 +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
guo 20e39f0bf7
Merge pull request #5153 from cndabai/stm32_getchar
修复STM32串口mask问题
2021-10-14 13:40:35 +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
mazhiyuan 12b1e74f1c 修复STM32串口mask问题 2021-10-14 10:15:55 +08:00
guo 4351507752
Merge pull request #5159 from liukangcc/master
[update] fix SCB_EnableDCache 宏与函数名冲突
2021-10-14 10:03:11 +08:00