- 29 10月, 2022 1 次提交
-
-
由 100ask-Alen 提交于
在使用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,这是我在实际开发中遇到的现实问题,因而提出此建议。
-
- 28 10月, 2022 1 次提交
-
-
由 linshire 提交于
-
- 24 10月, 2022 1 次提交
-
-
由 wdfk-prog 提交于
* 修改ry命令,已便于自定义保存路径 * modified: components/utilities/ymodem/ry_sy.c * 修复从被动错误恢复后发送返回异常 * 修复在自动重传模式下,ACK异常阻塞线程 - 删除TX中断函数else分支。仅当RQCP位 置一才进入该中断 - 添加SCE中断函数中关于ACK_ERR的else判断。自动重传模式下会进入该判断,打断自动重传释放完成量。 * 增加对于CAN1与CAN2的SCE中断和TX中断的公共处理函数 * formatting格式化代码
-
- 23 10月, 2022 1 次提交
-
-
由 ItsGettingWorse 提交于
修复RX DMA 第一包收不到的bug
-
- 20 10月, 2022 2 次提交
-
-
由 mingmiaojing 提交于
[stm32f103-fire-arbitrary] support nandflash K9F1G08U0E && LPM init && partition create && partition read/write
-
由 csdn_JZ_ 提交于
-
- 18 10月, 2022 1 次提交
-
-
由 BreederBai 提交于
* [bsp/stm32] 将spi DMA传输更改为阻塞线程方式 * Update bsp/stm32/libraries/HAL_Drivers/drv_spi.h Co-authored-by:
Man, Jianting (Meco) <920369182@qq.com>
-
- 12 10月, 2022 1 次提交
-
-
由 armink_ztl 提交于
-
- 09 10月, 2022 1 次提交
-
-
由 bzrobotics 提交于
-
- 03 10月, 2022 1 次提交
-
-
由 mysterywolf 提交于
* [bsp][sconscript] 整理统一sconscript格式 * update * update
-
- 28 9月, 2022 1 次提交
-
-
由 mysterywolf 提交于
-
- 26 9月, 2022 1 次提交
-
-
由 mysterywolf 提交于
-
- 24 9月, 2022 1 次提交
-
-
由 taiexinleni 提交于
bsp\stm32\libraries\HAL_Drivers\drv_rtc.c在STM32F10x上有一个“RTC首次上电时BKP时钟没使能”的问题。 STM32F10x要求: 写RTC Domain and RTC registers之前需要__HAL_RCC_BKP_CLK_ENABLE(详见:stm32f1xx_hal_rtc.c里面的##### Backup Domain Access #####) 问题分析: 1、RTC首次上电时:由于HAL_RTC_Init初始化之前没有使能BKP时钟,所以对RTC registers的初始化无效。 2、然后用date命令设置时间,调用到set_rtc_time_stamp也没有__HAL_RCC_BKP_CLK_ENABLE,所以HAL_RTCEx_BKUPWrite写的值无法真正永存于BKP,重启后就丢失。 最终导致:对于RTC首次上电的情况,每次重启后RTC_BKP_DR1里的值都不是BKUP_REG_DATA,导致永远无法调用到rt_rtc_f1_bkp_update()去使能BKP时钟。 解决办法: 参考STM32F10x_StdPeriph_Lib_V3.5.0\Project\STM32F10x_StdPeriph_Examples\RTC\Calendar\main.c里面的RTC_Configuration()同时打开RCC_APB1Periph_PWR和RCC_APB1Periph_BKP
-
- 22 9月, 2022 1 次提交
-
-
由 BreederBai 提交于
-
- 16 9月, 2022 1 次提交
-
-
由 myshowtogo 提交于
修复字符串比较错误
-
- 02 9月, 2022 1 次提交
-
-
由 liYangYang 提交于
-
- 01 9月, 2022 1 次提交
-
-
由 liYangYang 提交于
* [pwm]Improve the code * 将与bsp无关的代码移植到框架部分 * 添加注释
-
- 25 8月, 2022 1 次提交
-
-
由 winfenggao 提交于
UART_FLAG_TC 不能在中断里CLEAR; 因为函数 static int stm32_putc(struct rt_serial_device *serial, char c)里发送完成后 while 循环等这个标志退出,中断服务函数CLEAR后,此处进入死循环
-
- 15 8月, 2022 1 次提交
-
-
由 mysterywolf 提交于
-
- 14 8月, 2022 1 次提交
-
-
由 Fan Yang 提交于
* Add CANFD support and correct typos - Added CANFD required fields to can.h - Fixed typos in can.h and can.c - Corrected all the projects affected by the typo - Fixed wrong line-ending in some affected can driver files Signed-off-by: NFan YANG <fan.yang@hpmicro.com> * update Signed-off-by: NFan YANG <fan.yang@hpmicro.com> Co-authored-by:
Meco Man <920369182@qq.com>
-
- 05 8月, 2022 1 次提交
-
- 04 8月, 2022 1 次提交
-
-
由 mysterywolf 提交于
-
- 03 8月, 2022 1 次提交
-
-
由 dongly 提交于
* Fix some compilation warning * 补充修正一些数据类型的使用错误 Co-authored-by:
Meco Man <920369182@qq.com>
-
- 01 8月, 2022 1 次提交
-
-
由 Meng 提交于
* [bsp][stm32] f407-robomaster-c板, 添加stm32定时器8pwm默认配置 * tab -> space * 取消DFS选定 Co-authored-by:
Meco Man <920369182@qq.com>
-
- 26 7月, 2022 1 次提交
-
-
由 liYang~ 提交于
* Fix the bug of complementary output
-
- 04 7月, 2022 4 次提交
-
-
由 mysterywolf 提交于
防止后续维护出现没有全面修改的问题
-
由 BreederBai 提交于
* [rt_drv_pwm]增加API:增加单独设置PWM频率和脉宽的函数
-
由 BreederBai 提交于
* [bsp/stm32]优化功能(drv_pwm):设置PWM频率和脉宽时不破坏上一个PWM周期
-
由 张世争 提交于
-
- 16 6月, 2022 1 次提交
-
-
由 solar_li 提交于
* [stm32][soft spi] implement soft spi
-
- 14 6月, 2022 3 次提交
-
-
由 BreederBai 提交于
用户自己可以添加DMA分配文件,所以这里的DMA分配有可能和用户自定义的冲突
-
由 mysterywolf 提交于
-
由 100ask-Alen 提交于
[bsp][stm32][drv_adc.c]: change the bsp name of 100ask to be consistent with other bsp and commit a bug for drv_adc,c (#6068) * [bsp][stm32][drv_adc.c]: change the bsp name of 100ask to be consistent with other bsp and commit a bug for drv_adc,c (#6068)
-
- 09 6月, 2022 3 次提交
-
-
由 mysterywolf 提交于
将路径更新为IAR最新版本的路径
-
由 mysterywolf 提交于
因为不确定后续IAR是否会像Keil一样内含有不同的编译工具链 此外,将判断条件改为列表方式,这样更方便后续增加其他可能的IAR编译链
-
由 mysterywolf 提交于
-
- 08 6月, 2022 1 次提交
-
-
由 BreederBai 提交于
-
- 04 6月, 2022 1 次提交
-
-
由 mysterywolf 提交于
* [stm32] move CMSIS hearder files to common folder * add CMSIS new sconscript
-
- 30 5月, 2022 1 次提交
-
-
由 xfwangqiang 提交于
* 1. 在AT32的BSP的drv_gpio中增加了at32_pin_get函数,用于实现rt_pin_ops对象中的pin_get 2. 在MSH中增加了PIN的操作命令 3. 为了方便在MSH命令中解析字符串,增加了一些字符串相关的函数
-
- 29 5月, 2022 1 次提交
-
-
由 Stanley Lwin 提交于
* add adc_get_vref add stm32_adc_get_vref
-