- 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 提交于
修复字符串比较错误
-
- 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)
-
- 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
-
- 28 5月, 2022 1 次提交
-
-
由 cha331 提交于
* [STM32][RTC] add support for STM32L0 series. * Update drv_rtc.c
-
- 25 5月, 2022 1 次提交
-
-
由 mysterywolf 提交于
-
- 10 5月, 2022 1 次提交
-
-
由 mysterywolf 提交于
-
- 09 5月, 2022 3 次提交
-
-
由 mysterywolf 提交于
-
由 wuhanstudio 提交于
-
由 mysterywolf 提交于
-
- 27 4月, 2022 2 次提交
-
-
由 BreederBai 提交于
在串口不关闭的情况下,更改波特率后,清空上次数据检索,导致更新写入检索错误, 串口无法读出正确的数据。真实数据的位置和检索值之间总有一定的距离,导致读取 数据的时候会有一定的延时。缓冲区大,延时越长
-
由 BreederBai 提交于
-
- 26 4月, 2022 1 次提交
-
-
由 blta 提交于
-
- 23 4月, 2022 1 次提交
-
-
由 mysterywolf 提交于
-
- 22 4月, 2022 1 次提交
-
-
由 mysterywolf 提交于
-
- 20 4月, 2022 1 次提交
-
-
由 mysterywolf 提交于
* [stm32f401-nucleo] arduino support * 增加application arduino main文件 * 调整目录结构
-
- 19 4月, 2022 1 次提交
-
-
由 mysterywolf 提交于
-
- 15 4月, 2022 1 次提交
-
-
由 Miaowulue 提交于
-