Commit Graph

113 Commits

Author SHA1 Message Date
Meco Man 7ecba50ff6 format stm32 drivers 2023-01-08 22:52:13 -05:00
liYangYang 4bdca93a8d
[RTduino][STM32]为stm32l431-BearPi开发板对接RTduino软件包 (#6688) 2022-12-04 20:28:15 -05:00
myshowtogo a9d8168b4d Modified bsp/stm32/libraries/HAL_Drivers/config/f4/dma_config.h
Modified   bsp/stm32/libraries/HAL_Drivers/drv_usart_v2.c
修复stm32的串口 dma配置
2022-10-30 21:19:31 -04:00
linshire 1fc558e6f8 删除对pwm_config的判断,并初始化channel 为RT_NULL 2022-10-30 13:04:07 -04:00
linshire 14722a4853 Revert "提交stm32 bsp drv_pwm.c里面的一个小建议 (#6517)"
This reverts commit a4eb5a5399.
2022-10-28 21:07:39 -04:00
100ask-Alen a4eb5a5399
提交stm32 bsp drv_pwm.c里面的一个小建议 (#6517)
在使用stm32的pwm驱动时,发现其初始化channel的时候是根据device->channel这个值去初始化的,device->channel这个值是在pwm_configh.h里面定义设置的,又根据rtt的pwm例程,和常规习惯,应该大多数人会更喜欢设置channel=1/2/3/4,而不是在pwm_configh.h中将channel设置为TIM_CHANNEL_1/2/3/4,因此建议drv_pwm.c做出PR中的修改。

在实际开发中,因pwm_configh.h的示例均是.channel=0,又没有做出解释说明要让.channel=TIM_CHANNEL_1/2/3/4的值,容易误操作导致没有成功输出PWM,这是我在实际开发中遇到的现实问题,因而提出此建议。
2022-10-28 18:38:17 -04:00
Man, Jianting (Meco) c7a9481831
[rtduino] 对接STM32F412 NUCLEO (#6461) 2022-09-25 22:38:35 -04:00
Meng 9673f060f1
[bsp][stm32] 更新f407-robomaster-c板的bsp, 添加stm32定时器8 pwm默认配置 (#6201)
* [bsp][stm32] f407-robomaster-c板, 添加stm32定时器8pwm默认配置

* tab -> space

* 取消DFS选定

Co-authored-by: Meco Man <920369182@qq.com>
2022-08-01 00:21:41 -04:00
liYang~ 32ed7dcfd2
修复了pwm互补输出的一些bug,并在finsh中添加使用说明 (#6191)
* Fix the bug of complementary output
2022-07-26 10:07:07 +08:00
breederbai 14cd8d0145 [bsp][stm32]:修复UART6 DMA分配有可能冲突的BUG
用户自己可以添加DMA分配文件,所以这里的DMA分配有可能和用户自定义的冲突
2022-06-14 17:00:11 +08:00
Meco Man 8a7b9da76d [stm32 nucleo][f072][f401] support TIM7/TIM11 hardware timer 2022-05-10 13:55:16 +08:00
Man, Jianting (Meco) 0d2b96d7cc
[stm32][l4] add tim7 support | 设备框架以及驱动错误码处理逻辑存在问题 (#5901) 2022-05-09 22:59:27 +08:00
breederbai 326abec0e7 修复BUG:SDIO和UART6(TX)的DMA通道分配冲突 2022-04-27 21:54:28 +08:00
Miaowulue 5e7badd34c [bsp/stm32] update ov5640 configuration of openmv 2022-04-15 10:34:38 +08:00
Man, Jianting (Meco) 81e5fa061f
[stm32f072 nucleo] support pwm for arduino (#5693) 2022-03-21 22:04:37 +08:00
Yang sheng 542195559b
[bsp][stm32] Add support with pwm6 to pwm13 (#5620) 2022-03-07 01:20:05 +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
guo a087a1b0fc
Merge pull request #5280 from liukangcc/u575
[update] add stm32u575-st-nucleo bsp.
2021-11-18 22:43:00 +08:00
liukangcc 1f9eb78d0e [update] add stm32u575-st-nucleo bsp. 2021-11-15 11:23:12 +08:00
qinge e1c281c95d STM32H7系列无需DMA_CHANNEL_X 2021-11-11 19:05:24 +08:00
liukangcc bae07bdab1 [add] bsp stm32l552ze-nucleo 2021-11-01 15:05:02 +08:00
Meco Man e63e9002bd [stm32l475] enable SPI3-DMA2 for LCD 2021-10-24 01:24:38 -04:00
mazhiyuan 3c5ed4b108 修复stm32g系列不同芯片串口中断不匹配 2021-10-13 15:44:32 +08:00
YJIE_1998 19d4c6809c 【添加】dma_config 文件 2021-08-05 16:01:40 +08:00
YJIE_1998 b98f631580 【添加】stm32f3xx 库文件 2021-07-30 11:38:25 +08:00
chenjh d94be14df5 [serial] 增加serial_v2版本的框架和基于stm32的串口驱动 2021-06-08 09:38:43 +08:00
wanghaijing 5b7dac8c8e [add] spi config increases irq_type 2021-04-23 09:55:31 +08:00
Meco Man fc04d828ee [stm32][driver] auto formatted 2021-03-08 22:40:39 +08:00
forest-rain aa285845f2 add support stm32wl and bsp/stm32wl55jc-st-nucleo(recommit)
update STM32WLxx_HAL to released v1.0.0
2021-01-29 10:28:18 +08:00
thread-liu f691db99b5 [update] uart dma sample. 2021-01-20 15:31:38 +08:00
chenjh 352f599367 add dac config for stmf4 2020-12-15 17:58: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 dbd67507d9 [add] qspi_flash driver. 2020-12-05 09:09:28 +08:00
thread-liu d97530e0ff
Merge branch 'master' into step4 2020-12-03 09:09:00 +08:00
thread-liu 73391c60fb [add] crc, rng, hash and cryp driver for smt32mp1. 2020-11-26 14:31:08 +08:00
chenjh 3fa1f523df add dac driver for stm32l4 2020-11-18 23:05:18 +08:00
Dozingfiretruck af1e92e661 stm32wb 2020-10-14 15:03:33 +08:00
thread-liu 8edb7c316a [add] stm32h7 adc and dac driver. 2020-10-09 10:24:08 +08:00
thread-liu 3c848e3c90 [update] clear code 2020-06-23 14:19:30 +08:00
thread-liu 2fcd940b57 [update] add drivers for stm32mp1. 2020-06-23 11:26:11 +08:00
thread-liu 8c44edf8a2 [update] stm32mp1 link 2020-06-20 16:39:32 +08:00
thread-liu 0606261b97 [add] stm32mp1 drivers 2020-06-20 14:05:14 +08:00
Bernard Xiong c88870bfd7
Merge pull request #3527 from z14git/pwm_patch
add PWM1_CONFIG
2020-05-06 21:30:36 +08:00
whj4674672 92ddb8b0f3 [bsp/stm32/stm32h743-atk-apollo]support stm32h7 uart dma 2020-05-02 15:09:41 +08:00
z14git 5fa0656a9a add PWM1_CONFIG 2020-04-13 15:28:12 +08:00
unknown db23a69f49 dd STM32L1 HAL DRIVER 2020-03-17 22:11:13 +08:00
Bernard Xiong 3e8c03e934
Merge pull request #3421 from ErnestChen1/master
[bsp] fix UART DMA TX
2020-03-10 16:24:38 +08:00
Ernest c1821b85a1 [bsp] fix UART DMA TX 2020-02-29 21:20:54 +08:00