wdfk-prog
e59b6c7ab4
FIX: [bsp][stm32]CAN从ACK错误恢复后发送异常 ( #6511 )
...
* 修改ry命令,已便于自定义保存路径
* modified: components/utilities/ymodem/ry_sy.c
* 修复从被动错误恢复后发送返回异常
* 修复在自动重传模式下,ACK异常阻塞线程
- 删除TX中断函数else分支。仅当RQCP位 置一才进入该中断
- 添加SCE中断函数中关于ACK_ERR的else判断。自动重传模式下会进入该判断,打断自动重传释放完成量。
* 增加对于CAN1与CAN2的SCE中断和TX中断的公共处理函数
* formatting格式化代码
2022-10-23 22:37:19 -04:00
ItsGettingWorse
9c6d8d96ce
Update drv_usart.c
...
修复RX DMA 第一包收不到的bug
2022-10-22 15:11:46 -04:00
spaceman
5f7d9b3e0e
[stm32-artpi-h750]去除冗余代码 与本文件36行重复 ( #6522 )
2022-10-20 12:19:52 -04:00
mingmiaojing
4690ed90f1
[stm32f103-fire-arbitrary] support nandflash K9F1G08U0E && LPM init && partition create && partition read/write
2022-10-20 00:28:52 -04:00
NU-LL
6723573716
[bsp/stm32] format code
2022-10-20 11:44:34 +08:00
NU-LL
b380bdf071
[bsp/stm32] upgrade to rt-thread 5.0
2022-10-20 11:44:34 +08:00
NU-LL
40aaf3e7f3
[bsp/stm32] add weact mini stm32h7xx board bsp
2022-10-20 11:44:34 +08:00
BreederBai
3a9152c5fe
[bsp/stm32] 将spi DMA传输更改为阻塞线程方式 ( #6513 )
...
* [bsp/stm32] 将spi DMA传输更改为阻塞线程方式
* Update bsp/stm32/libraries/HAL_Drivers/drv_spi.h
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-10-17 15:52:03 -04:00
liYangYang
56794960d1
[RTduino]STM32F411对接RTduino软件包 ( #6524 )
2022-10-16 00:28:51 -04:00
朱天龙 (Armink)
d480690f77
[bsp][stm32] Update the serialv2 driver for CPU Cache. Simplified the DMA receive code.
2022-10-12 14:21:41 +08:00
Meco Man
250de80e9a
[bsp][rtduino] update readme
2022-10-12 14:20:46 +08:00
Man, Jianting (Meco)
ed1bcfbd7e
[rtduino][BSPs] translate readme to English ( #6496 )
2022-10-09 21:45:25 -04:00
YuQi
7c122cca25
[bsp][c28x] add driver for GPIO and improve pwm's driver ( #6493 )
...
1. 增加PWM模块的配置kconfig代码
2. 调整目录结构,新增c28x文件夹,将原有tms320f28379的porting移动至c28x文件夹下,通用设备驱动移动至c28x/libraries下
3. 增加gpio驱动代码以及外部中断触发驱动代码
目前已经在tms320f28379上通过测试
2022-10-08 23:24:05 -04:00
bzrobotics
560a21207e
FIX: [bsp][stm32] pulse_encoder driver did not handle TIM overflow
2022-10-08 22:32:45 -04:00
Man, Jianting (Meco)
f7be5fc84b
[bsp][applications][sconscript] 整理统一sconscript格式 ( #6481 )
...
* [bsp][sconscript] 整理统一sconscript格式
* update
* update
2022-10-03 10:43:08 -04:00
cy023
f741ccb400
Fix string comparison method
2022-10-01 14:00:21 -04:00
Meco Man
688b6e2014
[iar] PLATFOMR更正为'iccarm'
2022-09-29 20:58:34 -04:00
Meco Man
97c483fe35
[rtduino][readme] change title
2022-09-28 02:11:35 -04:00
Man, Jianting (Meco)
c7a9481831
[rtduino] 对接STM32F412 NUCLEO ( #6461 )
2022-09-25 22:38:35 -04:00
YangZhongQing
1c2d05d545
RTC STM32F1 Enable PWR and BKP clocks in the same time
...
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
2022-09-23 21:04:35 -04:00
BreederBai
61e1e31ca9
[bsp/stm32] 简化drv_usart中的DMA接收逻辑 ( #6357 )
2022-09-22 14:13:57 +08:00
Meco Man
560166477e
[stm32f401 nucleo] update main.c revert blinking LED
2022-09-20 10:33:12 -04:00
liyangyang
f71a287a68
[RTduino]更新stm32f469的对接文件
2022-09-20 10:32:56 -04:00
liyangyang
4e9786cdab
[RTduino]stm32f103-blue-pill更新对接文件
2022-09-19 23:36:22 -04:00
Man, Jianting (Meco)
8d3c1f7008
[rtduino]重新整理pinout ( #6445 )
...
* [rtduino][stm32l475-pandora] 重新整理pinout
* [rtduino][bluepill] 整理pinout
* [rtduino][stm32-f401nucleo]整理pinout
* [rtduino][stm32-pandora] 整理pinout
* [rtduino][stm32f072]整理pinout
2022-09-18 22:14:35 -04:00
liyangyang
dc6b9fde98
[RTduino]stm32f401-st-nucleo 更新对接文件
2022-09-18 10:05:36 -04:00
myshowtogo
4637eb16dc
Modified bsp/stm32/libraries/HAL_Drivers/drv_can.c
...
修复字符串比较错误
2022-09-16 08:36:48 -04:00
Meco Man
2133b8536a
[stm32][bluepill] update readme
2022-09-15 23:52:23 -04:00
Man, Jianting (Meco)
09e29c4d93
[rtduino][bluepill] 增加英语readme ( #6425 )
...
* [rtduino][bluepill] update readme
2022-09-14 21:44:36 -04:00
Harrypotter-zhs
4a83592596
完善README文件的格式
2022-09-11 09:52:20 -04:00
Harrypotter-zhs
24bf4ad270
对README文件中的大小写和文章格式修改
2022-09-09 10:44:28 -04:00
liYangYang
19106eb3a1
[RTduino]更新blue-pill引脚分布 ( #6400 )
...
* [RTduino]更新引脚分布
* update
* update readme
2022-09-08 23:07:55 -04:00
Meco Man
f35791e36b
[rtduino] [stm32f072] update i2c device readme
2022-09-09 10:47:22 +08:00
小李憨憨
dd92a4979f
Modify error annotations
2022-09-08 13:45:03 -04:00
liyangyang
29c6f6ed73
Remove duplicate initialization code
2022-09-08 07:19:45 -04:00
liyangyang
c75f52ff3a
[RTduino]Add SPI adaptation
2022-09-07 10:11:23 -04:00
Yifang
f325032c5e
[stm32h750-artpi][Kconfig] add SPI3 ( #6382 )
...
* [add] board/Kconfig 完善SPI3部分
* [add] 提交代码注释
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-09-06 22:00:30 -04:00
liYangYang
cc5af9a72d
[bsp][stm32]添加硬石科技YS-F1Pro开发板 ( #6364 )
2022-09-01 23:06:44 -04:00
slhuan
75133af2e7
更正stm32/stm32f103-100ask-mini和pro的默认下载器为st-link,添加基于mm32f3270系列由百问网自主设计的火龙果开发板的bsp
2022-09-02 10:04:47 +08:00
liYangYang
d25bf469fa
[rt_drv_pwm]完善PWM框架互补输出部分代码 ( #6338 )
...
* [pwm]Improve the code
* 将与bsp无关的代码移植到框架部分
* 添加注释
2022-09-01 00:59:44 -04:00
winfenggao
ae66e67dee
bug:
...
UART_FLAG_TC 不能在中断里CLEAR;
因为函数 static int stm32_putc(struct rt_serial_device *serial, char c)里发送完成后
while 循环等这个标志退出,中断服务函数CLEAR后,此处进入死循环
2022-08-25 10:25:34 -04:00
Meco Man
4fa40bcee5
[stm32l4-pandora] 整理文件系统
...
增加ROMFS,FATFS和未来的LittleFS将挂载在ROMFS上
初步增加littlefs文件系统,尚未完全实现一键化配置
2022-08-24 22:40:11 -04:00
Meco Man
97a5e4ca19
[rtduino] remove libraries dependencies
2022-08-22 09:45:45 +08:00
Meco Man
2f7c294d97
[stm32f407-explorer][fs] 优化文件系统选项配置
2022-08-22 09:45:01 +08:00
liuxianliang
a4eb64b873
update the project for RT-Thread_V4.1.1
2022-08-16 19:38:48 +08:00
Meco Man
dd94198bd6
[gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM
2022-08-16 09:39:00 +08:00
Meco Man
4537d06afb
[stm32] add missing void
2022-08-14 21:49:43 -04:00
Fan Yang
666af5e29d
[DeviceDriver] Add CANFD support and correct typos ( #5912 )
...
* 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: Fan YANG <fan.yang@hpmicro.com>
* update
Signed-off-by: Fan YANG <fan.yang@hpmicro.com>
Co-authored-by: Meco Man <920369182@qq.com>
2022-08-13 22:59:28 -04:00
Man, Jianting (Meco)
0ac8f72037
[lvgl] remove suareline studio specific support for imxrt1060 ( #6261 )
...
* [lvgl] PKG_USING_LV_MUSIC_DEMO defaults by yes
* [lvgl] remove specific suppport for imxrt1060
https://github.com/lvgl/lvgl/pull/3566
2022-08-13 22:02:41 -04:00
chinky
448843ffd8
[bsp]stm32l475-atk-pandora update readme, .gitignore
2022-08-11 22:19:45 -04:00
liYang~
40f5e1d1ea
[Ardunio] stm32-blue-pill对接RTdunio软件包 ( #6241 )
...
按照pinout布局图重新设计Arduino引脚布局和功能
- 目前PB0(D12, PWM)和PA15(D5,PWM)测试不通过
参考:https://github.com/stm32duino/Arduino_Core_STM32/issues/1082#issuecomment-634027716
2022-08-08 10:00:03 -04:00
liYang~
a8581ac8a4
[Ardunio]为stm32f103-blue-pill对接RTdunio软件包 ( #6231 )
...
* 对接RTdunio
2022-08-05 11:51:40 -04:00
Meco Man
76885ca908
[stm32][drv_serial] 修复recv_len意外为负(即很大正数)的问题
...
https://github.com/RT-Thread/rt-thread/issues/6106
https://github.com/RT-Thread/rt-thread/issues/4467#issuecomment-850814143
2022-08-04 22:51:34 -04:00
Meco Man
067315ff40
[phy] fix the PHY_FULL_DUPLEX conflicts
2022-08-03 22:45:27 -04:00
dongly
3363586cbb
Fix some compilation warning ( #5744 )
...
* Fix some compilation warning
* 补充修正一些数据类型的使用错误
Co-authored-by: Meco Man <920369182@qq.com>
2022-08-02 12:09:49 -04:00
liyangyang
2a7da005ba
perfect bsp
2022-08-01 23:14: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
Meco Man
c775809223
[arduino][stm32f072] 修正f072反向PWM不输出的问题
2022-07-27 11:46:45 +08:00
liYang~
a79b34ef8a
Improve the connection of RTdunio PWM(stm32f401-st-nucleo) ( #6192 )
...
* Improve the connection of RTdunio PWM
* Update bsp/stm32/stm32f401-st-nucleo/applications/arduino_pinout/README.md
2022-07-27 11:44:13 +08:00
liYang~
32ed7dcfd2
修复了pwm互补输出的一些bug,并在finsh中添加使用说明 ( #6191 )
...
* Fix the bug of complementary output
2022-07-26 10:07:07 +08:00
ririyeye
ae918797b9
[bsp/stm32]:修复阿波罗f429网口引脚错误 ( #6184 )
...
* [bsp/stm32]:修复阿波罗f429网口引脚错误
* [bsp/stm32]:更新cubemx文件,添加kconfig依赖
* Update bsp/stm32/stm32f429-atk-apollo/board/Kconfig
2022-07-25 10:15:44 +08:00
liyangyang
709d615096
Fix the configuration of stm32f401's PWM in CubeMX
2022-07-22 12:04:43 +08:00
Meco Man
b9b2ac1690
attach #6162
2022-07-15 10:11:00 +08:00
Meco Man
21e35dbbfd
[arduino][stm32l475 pandora]update readme
2022-07-15 10:09:50 +08:00
Meco Man
65a5e3af0f
[arduino] 优化默认代码
2022-07-15 10:09:50 +08:00
liyangyang
0fe1d152f0
guiengine在RTT中已经淘汰了,删除这个文件,避免影响开发者
2022-07-14 16:49:32 +08:00
liYang~
e36e3fda0c
Adapt lvgl for using ft6206 model touch screen[stm32f469-st-disco] ( #6153 )
...
* Adapt lvgl for using ft6206 model touch screen
2022-07-08 13:55:13 +08:00
liYang~
c850054aee
Docking lvgl touch driver using package ( #6149 )
...
* Docking lvgl touch driver using package
2022-07-08 09:25:32 +08:00
Meco Man
15cd71bae6
[lvgl] adapt lvgl 8.3.0
2022-07-07 16:55:25 +08:00
solar_li
d3139706e4
Adapt RTduino package for stm32f469-st-disco BSP ( #6139 )
...
* Adapt RTdunio package for stm32f469-st-disco BSP
2022-07-05 10:05:31 +08:00
Meco Man
74a802b445
[stm32] 合并获取定时器时钟频率公共部分
...
防止后续维护出现没有全面修改的问题
2022-07-04 16:23:21 +08:00
BreederBai
b2bc0dcd16
[rt_drv_pwm]增加API:增加单独设置PWM频率和脉宽的函数 ( #6130 )
...
* [rt_drv_pwm]增加API:增加单独设置PWM频率和脉宽的函数
2022-07-04 10:40:42 +08:00
BreederBai
78faea4b8d
[bsp/stm32]优化功能(drv_pwm):设置PWM频率和脉宽时不破坏上一个PWM周期 ( #6129 )
...
* [bsp/stm32]优化功能(drv_pwm):设置PWM频率和脉宽时不破坏上一个PWM周期
2022-07-04 10:26:33 +08:00
张世争
c8a73411f6
[BSP][STM32] RTC Alarm驱动适配
2022-07-04 09:39:12 +08:00
solar_li
b19602bcaa
Docking lvgl for stm32f469-st-disco bsp using ft6336 touch chip ( #6121 )
...
* Add touch V2 version
* Added touch driver ft6336 for stm32f469 bsp
2022-06-30 10:27:16 +08:00
solar_li
5b00165f6e
Add lvgl adaptation of touch screen xpt2046 for BSP ( #6114 )
...
* lvgl adaptation to resistive touch screen xpt2046
* some bug
* canonical code
* canonical code
* fix
* Modify the calibration section
* Modify the calibration section
* fix
2022-06-29 14:11:36 +08:00
Meco Man
9f4b7b3858
[arduino][stm32l475] support wireless module pinout
2022-06-23 21:28:27 +08:00
Man, Jianting (Meco)
70bd55fea5
[arduino] use perf_counter to instead of hwtimer ( #6089 )
...
移除硬件定时器依赖
取消stm32f401 spi的支持
更换f401 arduino默认例程
2022-06-17 14:29:44 +08:00
solar_li
a50018c57e
[stm32][soft spi] implement soft spi ( #6078 )
...
* [stm32][soft spi] implement soft spi
2022-06-16 10:54:30 +08:00
breederbai
14cd8d0145
[bsp][stm32]:修复UART6 DMA分配有可能冲突的BUG
...
用户自己可以添加DMA分配文件,所以这里的DMA分配有可能和用户自定义的冲突
2022-06-14 17:00:11 +08:00
Meco Man
b0030704d0
[stm32][hwtimer] add H7 support
2022-06-14 16:11:05 +08:00
100ask-Alen
3d06d96f65
[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 )
2022-06-14 14:17:22 +08:00
supperthomas
c16eaf55de
[bsp/stm32l496_ali] add the on-chip flash ( #6061 )
...
* [bsp/stm32l496_ali] add the on-chip flash
* [bsp/stm32l496_ali]add Kconfig
Co-authored-by: Meco Man <920369182@qq.com>
2022-06-13 21:15:12 +08:00
supperthomas
5e0810e756
[bsp][stm32l496zg] add on-chip feature ( #6056 )
...
* [bsp][stm32l496zg] add on-chip feature
2022-06-09 14:28:36 +08:00
Meco Man
c9878aacd2
[scons][iar] 将IAR的PLATFORM字段由iar调整为iccarm
...
将路径更新为IAR最新版本的路径
2022-06-09 07:01:59 +08:00
Meco Man
83b3aadaa3
[Scons][iar][iccarm] IAR统一使用iccarm作为判断条件而不是是用IDE的名字来进行判断
...
因为不确定后续IAR是否会像Keil一样内含有不同的编译工具链
此外,将判断条件改为列表方式,这样更方便后续增加其他可能的IAR编译链
2022-06-09 07:01:59 +08:00
Meco Man
50f041f5c2
[Scons] 将GCC判断条件改为列表方式,方便后续增加新的编译工具链
2022-06-09 07:01:59 +08:00
100ask-Alen
4fa1beb812
[bsp][100ask]: create two new bsp for 100ask stm32f103 boards and commit them ( #6045 )
...
* 重新pull后上传bsp和action
* remove the file named main.c in cubemx prj and add enter at last in the file named user_key.c
* remove personal project environment file project.uvguix.slhuan in rtt/bsp/stm32/stm32f103_100ask_mini
* remove system_stmf1xx.c in bsp/stm32/stm32f103-100ask_pro/mini
* modify stm32f1xx_it.c code to conform to the specification
Co-authored-by: slhuan <953172510@qq.com>
2022-06-08 23:28:49 +08:00
luhuadong
5b84857889
[bsp][stm32] fix stm32f767-st-nucleo console device name
2022-06-08 14:46:34 +08:00
Yanlineng
a9dce72915
[bsp][stm32h750-artpi] Modify the content of flash algorithms in README.md
2022-06-08 14:18:11 +08:00
Yanlineng
4b26e44e55
[bsp][stm32h750-artpi] add bootloader.bin, add the description of the bootloader in README.md.( #5923 )
2022-06-08 14:18:11 +08:00
breederbai
21003c74ea
[bsp][stm32] 增加uart7和uart8的DMA配置
2022-06-08 11:57:23 +08:00
Man, Jianting (Meco)
b197b503c6
[stm32] move CMSIS hearder files to common folder ( #5998 )
...
* [stm32] move CMSIS hearder files to common folder
* add CMSIS new sconscript
2022-06-04 17:05:37 +08:00
Man, Jianting (Meco)
02b176f8cb
[arduino] add comment ( #6016 )
2022-06-04 13:20:30 +08:00
xfwangqiang
e8d775f888
[componnets][pin]add pin operate command in MSH ( #5892 )
...
* 1. 在AT32的BSP的drv_gpio中增加了at32_pin_get函数,用于实现rt_pin_ops对象中的pin_get
2. 在MSH中增加了PIN的操作命令
3. 为了方便在MSH命令中解析字符串,增加了一些字符串相关的函数
2022-05-30 18:00:26 +08:00
Stanley Lwin
04a17d469a
[device][adc] implement adc_get_vref ( #5988 )
...
* add adc_get_vref
add stm32_adc_get_vref
2022-05-29 10:22:33 +08:00
cha331
9d5302d7fb
[STM32][RTC] add support for STM32L0 series. ( #5994 )
...
* [STM32][RTC] add support for STM32L0 series.
* Update drv_rtc.c
2022-05-28 10:02:01 +08:00
Meco Man
996add96d6
[stm32][dac] add comment
2022-05-25 10:04:33 +08:00
Meco Man
4ac54cfd60
[arduino] suuport MsTimer2 library
2022-05-25 10:03:54 +08:00
Meco Man
3d4bb43aec
[arduino][readme] 增加对5v容忍的描述
2022-05-25 10:03:54 +08:00