Commit Graph

1582 Commits

Author SHA1 Message Date
guo a6b62d37d0
Merge pull request #5394 from mysterywolf/simu 2021-12-16 16:51:30 +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 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
guo 61e993d656
Merge pull request #5163 from cndabai/stm32g
修复stm32g系列不同芯片串口中断不匹配
2021-10-14 09:58:13 +08:00
mazhiyuan 3c5ed4b108 修复stm32g系列不同芯片串口中断不匹配 2021-10-13 15:44:32 +08:00
Bernard Xiong e7f4a1177a
Merge pull request #5148 from loogg/mlw-fx
fix the tick of drv_common.c in stm32 bsp
2021-10-13 15:39:42 +08:00
liukangcc 2fd896dc89 [update] fix SCB_EnableDCache 宏与函数名冲突 2021-10-13 14:07:05 +08:00
malongwei ceef6543ee fix sysTickMillisecond to _systick_ms of drv_common.c in stm32 bsp 2021-10-12 15:27:48 +08:00
guo 76a6b2cf3a
Merge pull request #5134 from CaocoWang/stm32wle5_lm401
Stm32wle5-lm401
2021-10-12 10:53:53 +08:00
guo f5f944897e
Merge pull request #5143 from liukangcc/spi 2021-10-12 10:11:25 +08:00
guo 7b6ecb1b95
Merge pull request #5137 from mysterywolf/tool
[tools] 增加将汇编启动文件入口函数由main改为entry的自动扫描脚本
2021-10-12 09:39:17 +08:00
Meco Man 1c90cb3620 [tools] 增加将汇编启动文件入口函数由main改为entry的自动扫描脚本 2021-10-11 20:18:03 -04:00
Bernard Xiong c8a8b97d3a
Merge pull request #5129 from liukangcc/hal
[update] the stm32_hal library to the latest version.
2021-10-12 06:03:30 +08:00
Bernard Xiong 465f5fa4eb
Merge pull request #5140 from liukangcc/uart
[drivers] add uart dma support for stm32l1
2021-10-12 06:02:59 +08:00
Meco Man 698569c3ca [stm32][lib] modify heap size to zero 2021-10-11 17:25:15 -04:00
Jianting (Meco) Man 1426e57db0
Merge branch 'RT-Thread:master' into hal 2021-10-11 15:58:20 -05:00
malongwei 88133da8e5 fix the tick of drv_common.c in stm32 bsp 2021-10-11 22:38:59 +08:00
LiuKang 93792b2c84
Update drv_spi.c 2021-10-11 17:45:37 +08:00
liukangcc c7d52a4677 [update] fix stm32h750-artpi-h750 工程执行 scons --dist 后无法编译 2021-10-11 17:25:04 +08:00
liukangcc 3c32e0168d [drv_spi.c] 修复 stm32 drv_spi.c文件中的 spixfer 未实现片选为高电平的 spi 设备 2021-10-11 17:13:33 +08:00
liukangcc 89446f25c7 [drivers] add uart dma support for stm32l151 2021-10-11 17:03:59 +08:00
liukangcc 2ae8a05963 [update] bl main to bl entry 2021-10-11 14:52:41 +08:00
CaocoWang 9e50f778f4 revision date 2021-10-10 13:38:20 +08:00
CaocoWang 19dff87ec0 stm32wle5-yizhilian-lm401 2021-10-10 12:18:10 +08:00
liukangcc c820ae1888 [update] .ignore_format.yml file 2021-10-09 16:45:25 +08:00
liukangcc 02408a8577 [update] the stm32_hal library to the latest version. 2021-10-09 16:24:18 +08:00
tfx2001 7fe03a76e6 [bsp][artpi] enable HSI48 clock 2021-10-08 16:24:56 +08:00
iysheng dbaad29e04 [bsp][stm32] Replace gmtime with gmtime_r
Signed-off-by: iysheng <iysheng@163.com>
2021-10-01 16:41:21 +08:00
armink 0beb9b3a07 [STM32][RTC] Add timeval ops for STM32 platform Sub-second timestamp. 2021-09-29 17:58:00 +08:00
Bernard Xiong 63c741996b
Merge pull request #5031 from liukangcc/armclang
[update] support armclang
2021-09-28 13:51:23 +08:00
Rbb666 27a8ff8d19 完善ART-PI BSP 2021-09-27 17:42:30 +08:00
liukangcc 0e46c8a33d [update] support armclang 2021-09-26 10:46:21 +08:00
Meco Man d6b60300a5 [.ignore_format] 将ignore_format分散到各个文件夹中,不必集中在根目录下 2021-09-20 15:46:53 -04:00
guo 00221bd43f
Merge pull request #5006 from Ouxiaolong/master
add gd32407v-start
2021-09-17 16:51:04 +08:00
guo 62acc5cf45
Merge pull request #4971 from ze9hyr/acm32f030
add acm32f030 bsp
2021-09-17 14:18:04 +08:00
Bernard Xiong 7c526cea93
Merge pull request #5019 from Jackistang/master
serial: add CTS/RTS flowcontrol.
2021-09-11 08:48:42 +08:00
Rbb666 b31ef3c3f0 删除了board.h中多余的定义 2021-09-10 14:17:33 +08:00
Rbb666 334e3e238c 已验证ART-PI在rtthread主分支的I2C驱动,增加kconfig中I2C的配置。 2021-09-10 14:04:36 +08:00
Rbb666 1be660cfc3 修改kconfig,目前只保留验证RTC配置 2021-09-10 10:45:37 +08:00
Rbb666 efbac1c283 已完成ART-PI在rtthread主分支的bsp模板,同时已经验证通过RTC外设。 2021-09-10 10:23:22 +08:00
ze9hyr 563d11f8cd 警告消除及代码格式化
修改文件头信息

修改ACM32F030 BSP的文件格式

新增BSP驱动中的lib文件

IAR和GCC支持备份

1. 修复不能包含HAL_EFLASH.h问题, 2. 消除GCC编译的几个警告

1. gcc启动文件重命名;2. 文件头信息修改; 3. 硬件timer支持修改

移动 .ignore_format.yml到bsp的目录下

修改目录成相对目录
2021-09-08 13:10:39 +08:00
Jackistang fca9207517 serial: add CTS/RTS flowcontrol. 2021-09-06 13:27:40 +08:00
Meco Man a2fe0caeb7 [stm32][doc] 将英文文档的图片移入figure_en文件夹 2021-09-03 11:11:50 -04:00
Ouxiaolong d55f310d78 add gd32407v-start 2021-09-02 22:38:47 +08:00
zhangbingru f0af710ae2 [STM32][DOC] figures更新图片描述,增加对应翻译,文件夹为figures_en 2021-09-02 14:38:45 +08:00
guo 8d175ab3d2
Merge pull request #5001 from mysterywolf/readmeen
[STM32][DOC][翻译] 修复‘STM32系列BSP制作教程’的小问题,增加对应翻译(粗翻)
2021-09-02 10:16:56 +08:00
Bernard Xiong 42d90b9430
Merge pull request #4985 from MrYangMouren/update_lib
Update lib
2021-09-02 10:01:35 +08:00
Meco Man b9b45c33f0 [STM32][DOC]校正大小写问题 2021-09-01 20:07:06 -04:00
Meco Man cafc899ca0 [STM32][DOC][翻译] 修复‘STM32系列BSP制作教程’的小问题,增加对应翻译 2021-09-01 14:53:17 -04:00
guo c68917175a
Merge pull request #4980 from mysterywolf/407board
[bsp][stm32][f407-explorer] 优化board kconfig配置
2021-09-01 19:53:32 +08:00
guo ab2e87f607
Merge pull request #4982 from MrYangMouren/stm32f302_readme
【修改】README
2021-08-30 14:23:03 +08:00
Mr.Tiger 6a04f05bd2 【更新】STM32CubeF7_V1.16.0 2021-08-30 11:25:18 +08:00