Commit Graph

1601 Commits

Author SHA1 Message Date
Man, Jianting (Meco) ba6f78bd8e
format code (#5699) 2022-03-24 08:30:41 +08:00
cha331 96b4974ea2
[stm32][driver_crypto]修复CRC自定义设置不生效的bug (#5655)
* [stm32][drivers]修复CRC自定义设置不生效的bug

* update format
2022-03-23 14:17:10 +08:00
Miaowulue f6f6dae2d6
[bsp/stm32] add qspi flash and sdio for openmv h7plus (#5679)
* [console] fix bug of sdram, configure PA7(DRAM_WE)

* [bsp/stm32] add qspi flash for openmv

* [bsp/stm32] change sram1 to sram2

* [bsp/stm32] add sdio for openmv

* [update] update README.md of openmv
2022-03-22 09:39:13 +08:00
Man, Jianting (Meco) 81e5fa061f
[stm32f072 nucleo] support pwm for arduino (#5693) 2022-03-21 22:04:37 +08:00
Man, Jianting (Meco) 8b58577230
[ulog][rtc][time][bug] solve the interference when enable the ulog timestamp (#5687)
* [ulog] 解决ulog开启时间戳后与libc time以及rtc驱动相关函数干涉的问题
* ulog:当发生递归输出时,后续递归想要输出的内容可能会因为防范递归的判断而无法输出
因此修改输出规则,在发生递归时,采用简单的,无格式的方式直接输出。这样既保证不会发生递归输出,也可以保证递归输出的部分可以正常输出。
* [ulog] size_t->rt_size_t NULL->RT_NULL
2022-03-21 14:06:17 +08:00
Man, Jianting (Meco) fba060e550
[stm32 pandora] fix the bug when using LCD demo (#5692)
* [stm32 pandora] fix the bug when using LCD demo

* arduino 增加内部温度传感器和参考电压通道

* remove ARDUINO_PINOUT_PWM_MAX
2022-03-21 11:53:31 +08:00
Man, Jianting (Meco) bb4fc9cb3a
[stm32 pandora] support backlight with brightness adjustable (#5691) 2022-03-20 15:47:57 +08:00
Man, Jianting (Meco) 9ee5940f25
[arduino][stm32l475 pandora] fullly support analog output(PWM) and analog input(ADC) (#5690) 2022-03-20 15:46:33 +08:00
LiuKang 75a7cb6929
[update] add fal component. (#5662)
* [update] add fal component.

* [update] format code.

* [update] change PKG_USING_FAL to RT_USING_FAL

* [update] format code.

* [update] fal

* [update] delete FAL_SW_VERSION
2022-03-15 09:48:05 +08:00
Man, Jianting (Meco) 59079fe91f
update documentation (#5674) 2022-03-14 21:18:14 +08:00
Cathy-lulu 909130ba53
Merge pull request #5672 from yangjie11/f469
[bsp][stm32f469-st-disco] 增加英文readme
2022-03-14 00:37:52 -07:00
yangjie11 9ccf1ee9ad [bsp][stm32f469-st-disco] 增加英文readme 2022-03-14 14:40:34 +08:00
Man, Jianting (Meco) 5b17eeeb9b
[stm32][nucleo-f072] add arduino support (#5650)
* [stm32][nucleo-f072] add arduino gpio support

* 完善stm32f401nucleo的基本配置

* 修改led引脚描述

* 潘多拉增加arduino引脚别名

* [ARDUINO]STM32L072RB 增加ADC A0-A5的引脚配置

* add pwm
2022-03-10 13:44:39 +08:00
Yang sheng 542195559b
[bsp][stm32] Add support with pwm6 to pwm13 (#5620) 2022-03-07 01:20:05 +08:00
Man, Jianting (Meco) c1ab995371
增加板卡标识 (#5633) 2022-03-07 01:15:13 +08:00
Man, Jianting (Meco) d28654570d
增加板卡标识 (#5615) 2022-02-27 09:02:14 +08:00
Man, Jianting (Meco) 2e98bc4e19
[arduino][stm32l475] enable i2c4 bus (#5608)
* [Arduino][stm32l475] enable i2c bus device

* 增加默认i2c总线设备名称
2022-02-23 10:20:36 +08:00
Man, Jianting (Meco) 89bf823f7d
[arduino][stm32l475] update application/arduino folder (#5599) 2022-02-17 13:36:15 +08:00
WillianChan a1d1f95338 [bsp][stm32][stm32f769-st-disco]add stm32f7xx_hal_dsi.c when using LTDC/MIPI-DSI
Signed-off-by: WillianChan <chentingwei@rt-thread.com>
2022-02-14 13:55:39 +08:00
yanmowudi 98b98124c7 delete swm320-lq100 bsp 2022-02-14 13:53:04 +08:00
WillianChan 56235c21dd [bsp][stm32][stm32f769-st-disco]fix wrong CPPDEFINES and close lwip
Signed-off-by: WillianChan <chentingwei@rt-thread.com>
2022-02-14 10:13:42 +08:00
RudyLo 4192f0d651
[bsp][artpi] porting LVGL to ART-Pi with Media-IO (#5583)
* [bsp][art-pi] add spi lcd ili9488 driver
* [bsp][art-pi] support LVGL display
* [bsp][artpi] support LVGL indev
* [bsp][artpi] debug LVGL indev with ft6236
* [bsp][artpi] swap and invert touchpad coordinate
* [bsp][artpi] redundant declarations
* [bsp][artpi] indent BSP_USING_LVGL config
* [bsp][artpi] default build debug version
* [bsp][artpi] fix BSP_USING_LVGL Kconfig
2022-02-07 17:24:48 +08:00
Meco Man 7a0f48caa9 [stm32]小ROMbsp 默认为-O2 2022-01-28 04:23:41 -05:00
liukangcc ccbd22f493 [update] refresh project 2022-01-26 18:30:23 +08:00
LeeChunHei c06b57670f
修改bsp的usb host 驅動 (#4379)
* add arg for rt_usb_host_init call
2022-01-26 10:46:57 +08:00
diskwu 03f46c6694
避免警告,变量可能未初始化就使用 (#5544)
* 避免警告,变量可能未初始化就使用

* 避免警告,变量可能未初始化就使用

* 避免警告,变化可能未初始化就使用。

* Update bsp/stm32/libraries/HAL_Drivers/drv_usart.c

Co-authored-by: guo <guozhanxin@rt-thread.com>

* Update bsp/stm32/libraries/HAL_Drivers/drv_usart_v2.c

Co-authored-by: guo <guozhanxin@rt-thread.com>

Co-authored-by: guo <guozhanxin@rt-thread.com>
2022-01-21 11:06:37 +08:00
guo 7c403d3587
Merge branch 'master' into keil 2022-01-20 14:20:43 +08:00
Meco Man 884218588a [sconscript.platform] 优化针对编译器判断的脚本
- 删除啰嗦的代码
related: https://github.com/RT-Thread/rt-thread/issues/3046
2022-01-19 23:24:47 -05:00
liukangcc 27511885f3 [update] change ccflags to cflags 2022-01-20 11:50:30 +08:00
Meco Man 94116501fe [stm32][at esp8266][kconfig] 增加esp8266配置选项接管 2022-01-17 13:16:14 -05:00
guo 1a46d7fe92
Merge pull request #5530 from mysterywolf/audio
[l475][audio] 消除编译错误
2022-01-17 10:54:47 +08:00
Meco Man eef0a2d810 [qmeu] chore 2022-01-16 18:54:24 +08:00
Meco Man 0f856cc2d2 [l475][audio] 消除编译错误 2022-01-15 23:21:38 -05:00
liukangcc 3d2e23ec1c [update] move dfs_posix.h to legacy/dfs/dfs_posix.h 2022-01-14 23:09:32 +08:00
Bernard Xiong 2949ced0f4
Merge pull request #5426 from Rbb666/master
Refresh using dma2d,screen refresh average 25fps
2022-01-14 22:51:21 +08:00
Rbb666 eaf54ca571 Refresh using dma2d,screen refresh average 25fps 2022-01-13 10:18:33 +08:00
guozhanxin 502176ae63 Remove the problematic rtconfig.h|移除有问题的 rtconfig.h 2022-01-09 09:41:44 +08:00
Man, Jianting (Meco) bb1084556f [console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题
* [console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题

* format codes

* [libc] 整理格式

* refresh projects
2022-01-09 00:20:32 +08:00
Meco Man 85441c0dc4 [sconscript] 代替+=的表述方法 2022-01-08 15:48:50 +08:00
guo 495e209f37
Merge pull request #5480 from mysterywolf/l475
[lvgl][l475] use single buffer instead of double buffers
2022-01-06 19:59:03 +08:00
Meco Man 195f753cbb [lvgl][l475] use single buffer instead of double buffers 2022-01-06 03:33:28 -05:00
guo 5e24acf7fa
Merge pull request #5470 from supperthomas/dd_master
[bsp/stm32] add sdram for openmv
2022-01-05 11:02:22 +08:00
supperthomas e56221c7b1 [bsp/stm32] add sdram for openmv 2022-01-04 19:23:26 +08:00
Meco Man 9c67e061df [stm32] format codes 2021-12-29 22:33:16 -05:00
Meco Man 5187d75af5 [armclang] 使用__clang__代替__CLANG_ARM 2021-12-29 14:15:38 -05:00
xiangxistu 88a746377c [restore] restore to basic function. 2021-12-30 01:41:38 +08:00
xiangxistu 40785ea926 [update] use macro 'BSP_USING_LVGL' to select something about 'lvgl' . 2021-12-30 01:41:38 +08:00
liuxianliang a45953f2bc [update] the file format. 2021-12-30 01:41:38 +08:00
liuxianliang 8e50ef53d5 [add] proting 'lvgl' for stm32f407-atk-explorer. 2021-12-30 01:41:38 +08:00
Meco Man ed09f38012 [libc] remove RT_USING_LIBC 2021-12-30 01:27:25 +08:00
supperthomas 5593e39847 [bsp/stm32] stm32l433 starterkit first version 2021-12-29 12:10:41 +08:00
guo a8ca46869c
Merge pull request #5435 from Ouxiaolong/master
Fix the problem of stm32f746-st-nucleo that env cannot be configured with menuconfig
2021-12-28 13:47:10 +08:00
guo 008eaed0f1
Merge pull request #5440 from mysterywolf/l475
[lvgl][simulator]&[l475][arduino] 细节修改
2021-12-27 21:10:19 +08:00
Meco Man fd2892b82d [kconfig] 修复kconfig路径 2021-12-27 08:25:15 +08:00
Ouxiaolong 316af57a79 Fix the problem of stm32f746-st-nucleo that env cannot be configured with menuconfig 2021-12-26 12:40:17 +08:00
Meco Man 33c1bfbc79 [l475] 修复bug 2021-12-24 02:55:13 -05:00
Meco Man 787b854f27 [bsp][stm32l475] move arduino to application 2021-12-24 02:18:07 -05:00
Man, Jianting (Meco) ed1f8b3f64 Revert "add clang-arm support."
This reverts commit a5f6fdc780.
2021-12-22 18:57:16 -05:00
guozhanxin 67a39f62e5 Improve armclang support.|完善 armclang 支持 2021-12-22 13:04:02 +08:00
guozhanxin a5f6fdc780 add clang-arm support. 2021-12-22 13:03:05 +08:00
陈迎春 2539c7ff85
[bsp/stm32/stm32l496-ali-developert] add pm supported (#5391)
* [bsp/stm32/stm32l496-ali-developert] add lptimer config

* [bsp/stm32/stm32l496-ali-developert] add pm supported
2021-12-21 22:23:13 +08:00
guo 2babfedd52
Merge pull request #5397 from liukangcc/cflag
[update] CFLAGS
2021-12-21 17:50:54 +08:00
Meco Man 7afddbd5bb [f469-disc] 优化lvgl例程 2021-12-19 18:46:08 -05:00
Meco Man 1948988913 [lvgl] 将lvgl目录调整到application文件夹下 2021-12-19 18:21:31 -05:00
Meco Man f4aa860d8b [qemu][lvgl] 优化lvgl显示驱动 2021-12-18 14:16:08 -05: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
supperthomas 6c95714f73 [bsp/stm32] add bsp of openmv 2021-12-17 10:23:44 +08:00
liukangcc 7733999c0c [update] stm32f469 lvgl demo 2021-12-16 17:03:43 +08:00
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