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)
|
0d2b96d7cc
|
[stm32][l4] add tim7 support | 设备框架以及驱动错误码处理逻辑存在问题 (#5901)
|
2022-05-09 22:59:27 +08:00 |
Meco Man
|
e63e9002bd
|
[stm32l475] enable SPI3-DMA2 for LCD
|
2021-10-24 01:24:38 -04: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 |
chenjh
|
3fa1f523df
|
add dac driver for stm32l4
|
2020-11-18 23:05:18 +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 |
armink
|
f1e5883543
|
[bsp/stm32] Add DMAMUX support for stm32l4+.
Signed-off-by: armink <armink.ztl@gmail.com>
|
2019-12-01 15:50:51 +08:00 |
guozhanxin
|
40d6055849
|
[bsp][stm32]Enable interrupt in drive.|在驱动里使能中断,不需要在cubemx里配置中断了。
|
2019-10-30 23:53:13 +08:00 |
guozhanxin
|
f50f38745b
|
Perfect usb driver compatible with HS.|完善usb驱动兼容 HS
|
2019-10-27 21:06:58 +08:00 |
Willian Chan
|
48b4385c01
|
[bsp][stm32][stm32l475-atk-pandora]Add lcd driver and fix compilation report error on spi_config.h
Signed-off-by: Willian Chan <chentingwei@rt-thread.com>
|
2019-08-28 12:03:11 +08:00 |
guozhanxin
|
3a5a2ff5a3
|
[bsp][stm32] Add usb configuration for L4 series
|
2019-05-29 11:38:37 +08:00 |
SummerGift
|
9e26010948
|
【修复】由于添加串口 DMA 发送对串口 DMA 接收配置造成的影响
|
2019-05-24 20:53:43 +08:00 |
yangjie
|
e92a4263b4
|
[bsp][stm32/libraries]support PWM1
|
2019-04-23 19:17:21 +08:00 |
guozhanxin
|
7967365dc5
|
[bsp][stm32] add more driver supoort for l4
|
2019-02-16 12:41:55 +08:00 |
SummerGift
|
289b4316af
|
[bsp][stm32] add extern "C" for header file
|
2019-01-09 10:12:35 +08:00 |
SummerGift
|
0d025a69e6
|
[bsp][stm32] fix bug in dma config && clean up the dma config code
|
2019-01-08 18:20:17 +08:00 |
SummerGift
|
574492a282
|
[bsp][stm32] Modify the DMA implementation
|
2019-01-08 11:59:27 +08:00 |
SummerGift
|
d023fb47ba
|
[bsp][stm32] add all series dma_config files
|
2019-01-08 11:58:46 +08:00 |
SummerGift
|
d498b8fce5
|
[bsp][stm32] add qspi_config.h for l4 series
|
2018-12-25 16:25:49 +08:00 |
SummerGift
|
71751eb6f1
|
[bsp][stm32] add sdio, hw_timer and pwm drivers
|
2018-12-17 10:38:38 +08:00 |
SummerGift
|
d509db834b
|
[bsp][stm32] add more drivers for stm32 bsp
|
2018-12-10 09:48:10 +08:00 |
SummerGift
|
5cbe222196
|
[bsp][STM32] update stm32 bsp
|
2018-11-30 18:29:59 +08:00 |
SummerGift
|
739b2ba51c
|
[bsp][STM32] Add bsp based on new framework
|
2018-11-29 17:06:06 +08:00 |