Commit Graph

2021 Commits

Author SHA1 Message Date
arche8 59977a21de
[HUST CSE]Modify invalid links (#7279)
* [HUST CSE]Modify invalid links
2023-04-18 19:13:58 +08:00
7YZ7 501b22aabe
[HUST CSE] Fix many abnormal symbols in annotations and format code 2023-04-17 22:26:23 -04:00
L3LeTrigger 60835af8e1
[HUST-CSE]fix:Invalid document link about env (#7262) 2023-04-17 08:10:43 +08:00
songw4232 d4257aff20
[add]添加stm32u575上手文档 (#7246) 2023-04-14 18:46:42 +08:00
songw4232 ad309699d6
[add]添加bsp/stm32/stm32u575-st-nucleo外设 (#7237)
* [add]添加bsp/stm32/stm32u575-st-nucleo外设

* [fix]修改源码格式使之符合RT-Thread代码规范

* [fix]修改相关报错问题

* [fix]修改README.md

* [fix]删除无效代码及添加相关注释
2023-04-14 14:07:05 +08:00
Yaochenger 83c0565e36
[change]修正stm32f401-st-nucleo上手指南 (#7227)
* [add]修正stm32f401-st-nucleo英文上手指南

* [add]添加STM32中文工程使用指南

* 规范英文图片名称

* 修改图片路径

* Update STM32系列如何创建新项目.md
2023-04-14 00:29:23 +08:00
Stanley L aa4d4dfbe3 Create How to create a new project.md
initial commit
2023-04-11 18:48:45 -04:00
Meco Man 24c3d7d72a [RTduino][stm32g474-nucleo] update readme 2023-04-09 20:02:33 -04:00
Meco Man 0e5ee77c39 [RTduino][stm32l476-nucleo] correct D9 pwm3 channel number 2023-04-09 20:02:33 -04:00
Meco Man 9fdb710f87 [RTduino][stm32l476-nucleo] update readme 2023-04-09 20:02:33 -04:00
Meco Man 85294a8e86 [RTduino][STM32] 优化内置ADC通道 2023-04-08 22:40:55 -04:00
Meco Man c8956357e4 [stm32][adc] 优化adc通道获取流程 2023-04-08 22:40:37 -04:00
Yuqiang Wang ccd6bd26ec
[bsp][stm32G474-Nucleo] Update RTduino README.md (#7197) 2023-04-08 14:24:58 -04:00
Yuqiang Wang 7fbe8bbd49
[bsp][stm32] 完善STM32系列 pwm_config.h文件 (#7196) 2023-04-08 01:03:22 -04:00
wdfk-prog 25bcb84756 [bsp][stm32]添加SDMMC驱动,以区分SDIO与SDMMC 2023-04-08 12:23:52 +08:00
Yuqiang Wang e45d9c4a1e
[bsp][rtduino] support for STM32G474 Nucleo in RTduino (#7151) 2023-04-07 21:56:59 -04:00
shandianchengzi e49140b513
[HUST CSE IoTS&P Lab][bsp] add missing UL suffix to BIT macro to prevent undefined behavior (#7153)
* [bsp] add missing UL suffix to BIT macro to prevent undefined behavior.

* [bsp] add UL suffix to BIT macro for consistency and readability.

* fix toUppercase.

* fix the abnormal character.

* format the file.
2023-04-03 23:05:42 +08:00
Eziotao ce346d798b modify the sampling rate to increase the actual baud rate(drv_usart.c/drv_usart_v2.c) 2023-04-03 10:14:52 -04:00
hwk2077 d6c1b75e42 add `TIM1` and `TIM8` 2023-04-03 02:45:57 -04:00
KurisaW 429f46c632 [bsp][stm32] update the template.uvprojx for stm32f411-st-nucleo 2023-04-03 14:02:36 +08:00
yangjie11 95e6b69b8e
sync and update all projects (#7138)
* sync and update
2023-03-31 16:49:48 +08:00
NU-LL 4ab11d5bbc FIX: add stm32h7xx series board information 2023-03-26 22:17:57 -04:00
NU-LL 735fb14fe7 [bsp][stm32] add stm32h750-fk750m1-vbt6 bsp 2023-03-26 22:17:57 -04:00
褚仕成 1dc8e5060a [arduino][stm32f411-weact-blackpill] : update Kconfig and README 2023-03-25 06:59:14 -04:00
Meco Man 4f8094ecd0 [stm32][l476-nucleo] support RTduino 2023-03-25 13:48:56 +08:00
褚仕成 dfd0e3e96d [arduino][stm32f401-weact-blackpill] : 对接RTduino 2023-03-25 00:49:31 -04:00
yangjie11 b0c247fb59
[components/drivers][touch]删除多余的touch.h (#7090)
* [components/drivers][touch]删除多余的touch.h

* 将touc.h替换为rtdevice.h
2023-03-24 11:47:28 -04:00
褚仕成 6095d65679 [stm32] update README.md of f401 2023-03-24 11:43:03 -04:00
Zxy 156fda61cf [errno code]fix that use RT_ENOMEM without - 2023-03-23 01:55:21 -04:00
Meco Man eb3cb250be [errno code][-RT_ETIMEOUT] fix that use RT_ETIMEOUT without - 2023-03-22 01:54:52 -04:00
Meco Man 0f461e870c [errno code][-RT_ERROR] fix that use RT_ERROR without - 2023-03-20 00:06:16 -04:00
Meco Man de963feef4 [stm32][drv_tim.c] enable timer clock 2023-03-20 00:05:36 -04:00
Meco Man f80e61d6ff [stm32][pwm] fix the timer clock enable problem 2023-03-20 00:05:36 -04:00
Meco Man 27da0f0472 format .icf, .lds, .sct 2023-03-20 00:04:51 -04:00
Meco Man 4b8f518c48 [stm32][adc] add error code return 2023-03-19 23:50:44 -04:00
Meco Man b33e1cbf68 [stm32][pin] 修复GPIO驱动警告 2023-03-19 23:50:24 -04:00
Meco Man c3820a2c1b format sconscript Kconfig files 2023-03-19 07:08:27 -04:00
Meco Man 991a2f1e9e [RT_ALIGN_SIZE] set RT_ALIGN_SIZE as 8 by default 2023-03-16 20:20:55 -04:00
Meco Man 2cc9bd876e [error code][-RT_EIO] fix that use RT_EIO without - 2023-03-16 20:20:37 -04:00
Meco Man 0429452465 [bsp][rtduino] update arduino_main.cpp 2023-03-05 21:10:08 -05:00
Misthao fab0e506be
新增stm32f401-weact-blackpill BSP(STM32F401CCU6最小系统板) (#6973)
* 新增stm32f401-weact-blackpill
2023-03-06 10:09:03 +08:00
Rbb666 d1e1f66e42 [STM32]Fix f469 touch build error and set lvgl to double buffer 2023-03-02 23:22:02 -05:00
Rbb666 00ad3921e4 [STM32]Add STM32F723E-DISCO bsp support 2023-03-01 08:23:35 -05:00
Rbb666 afd86f4547
fix stm32 drv_lcd some problem (#6836)
* LTDC:将 Alpha 通道默认设置为0(完全透明)
* rt_malloc 替换为 rt_malloc_align
2023-03-01 02:12:50 -05:00
Zxy f5798d9917
[pin][5.0.0] 修正pin框架数据类型使用不当 (#6934) 2023-02-26 21:17:51 -05:00
liYangYang 93d572dee6
[spi][5.0.0] 修正SPI设备框架中,对函数返回值类型使用不恰当的情况 (#6937) 2023-02-26 21:09:07 -05:00
liYangYang 1eec660b12
[spi]添加rt_spi_bus_attach_device_cspin 函数 (#6916)
这个函数实现了原先的挂载功能,并且调用pin框架,初始化cs引脚,是一个功能相对完善的挂载函数。用户也能更简单的使用。
该函数取代rt_spi_bus_attach_device,后续rt_spi_bus_attach_device会被逐渐淘汰掉。新的BSP以及软件包应当使用rt_spi_bus_attach_device_cspin新函数。

STM32L475潘多拉测试通过。
2023-02-11 22:14:54 -05:00
Meco Man f58d3c5200 rt_device_write/read return data type as rt_ssize_t
rt_ssize_t can give negative error code, which follows the unix style correctly
2023-02-07 21:43:57 -05:00
Meco Man 9b109639d1 [stm32] sconscript typo 2023-01-22 22:07:54 -05:00
liYangYang 6eaf9a9c57
[stm32][qspi] qspi attach 函数问题解决方案 (#6867)
* [qspi] qspi attach 函数解决方案

* pin

* 更改函数名字
2023-01-18 22:04:45 -05:00
liYangYang 63294afc9d
[stm32][softspi]soft spi attach函数问题解决方案 (#6868)
* [softspi]soft spi attach函数问题解决方案

* 更改函数名
2023-01-18 22:03:48 -05:00
liYangYang 7ff64c1cfd
[stm32][spi] spi attach函数问题解决方案 (#6864)
attach #6819
2023-01-18 00:27:08 -05:00
会飞的猪 65f1804005 [bsp/stm32wle5-yizhilian-lm402]修复scons --dist缺失大量文件 2023-01-17 21:32:43 -05:00
会飞的猪 265dbc0ce1 [bsp/stm32wle5-yizhilian-lm401]修复scons --dist缺失大量文件 2023-01-17 21:32:43 -05:00
Zxy c9f7f0e771
[BSP][stm32] fix the compile error 2023-01-16 23:21:21 -05:00
Meco Man ddccef3a64 modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
Meco Man f4fa7ba970 [RTduino][stm32f469-disco][readme] fix typo 2023-01-13 11:40:57 +08:00
Meco Man 09b36e76f2 [RTduino][stm32f411-nucleo] add English readme 2023-01-13 11:40:57 +08:00
Meco Man baac8760a5 [RTduino][stm32f410-nucleo] add English readme 2023-01-13 11:40:57 +08:00
Meco Man 120595d371 [RTduino][readme] correct grammar 2023-01-13 11:40:57 +08:00
Meco Man b310541471 [env] add scons --strict
此commit意图在脚本中增加 scons --strict命令,使用该命令编译工程时,会自动将CFLAGS CXXFLAGS设置为 Werrors,即较为严格的编译模式,任何警告都会当做错误来处理。

该命令主要用于CI,在CI执行bsp编译时,可以使用 scons --strict命令。现在QEMU的rtconfig.py 为了CI检查,直接将CFLAGS加上了Werrors,导致正常编译过程中也把警告当做了错误,对日常使用该bsp造成了影响。
2023-01-12 01:43:44 -05:00
lpy 071d52ad44
[RTduino][stm32f410-nucleo] 添加readme,在pins_arduino.c和pins_arduino.h添加了USER_KEY引脚编号 (#6838)
* 添加readme
* 更改pins_arduino.h引脚编号
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2023-01-10 21:41:58 -05:00
Meco Man 7ecba50ff6 format stm32 drivers 2023-01-08 22:52:13 -05:00
Meco Man 592284c66c format link scripts 2023-01-08 22:52:13 -05:00
Meco Man 9bc68d26a4 format Kconfig and sconscript 2023-01-08 22:52:13 -05:00
Man, Jianting (Meco) f4b285dc9c
improve sensor framework (#6784)
* [stm32l475-pandora] rename sensor_port.c as drv_sensors.c
* [sensor][cmd] add enter critical section protection
* [sensor] add sensor reset command
2023-01-08 21:33:38 -05:00
liYangYang 7c05d8517c
[STM32][SPI]解决挂载函数里面不同bsp对uaer_data的滥用 (#6819)
* [spi]attach 片选引脚依赖pin框架
* 修改attach函数
2023-01-07 23:03:42 -05:00
wdfk-prog 431579a166
[stm32][adc]更改配置通道与校准函数顺序 (#6758)
* [stm32][adc]更改配置通道与校准函数顺序
* 添加16位与14位分辨率配置
* 添加内部参考电压与温度,电池电压通道配置

* [stm32][adc]修改返回参考电压函数
* 返回准确的参考电压值
* 通过该值在使用__HAL_ADC_CALC_DATA_TO_VOLTAGE宏计算的电压值更为准确

* 删除多余代码

* 规划代码格式

* 更新支持其余芯片
* 已测试F429
2023-01-02 01:47:58 -05:00
螺丝松掉的人 c38c6e2c83
[rtduino]:add README for stm32f411-weact-blackpill pinout (#6807)
* [rtduino]:add README for stm32f411-weact-blackpill pinout
2023-01-01 23:39:40 -05:00
褚仕成 2b41f80f0e [rtduino]: fix README 2023-01-01 23:00:52 -05:00
goldengrandpa d355981041 [bsp][stm32f407-RoboMaster-C]Enable TIM5_CH1/2/3 2022-12-31 16:30:16 -05:00
褚仕成 de9db80814 [rtduino] : fix arduino_pinout and README 2022-12-30 07:51:49 -05:00
Meco Man 20a6f14e89 use PIN_IRQ_PIN_NONE to replace RT_PIN_NONE 2022-12-26 02:10:30 -05:00
Meco Man 40a24806f9 [stm32][pandora] add ap3216c sensor support 2022-12-26 02:10:30 -05:00
wdfk-prog fa7c1db768 [stm32][spic]修改SPI TX DMA中断优先级
* 原先中断优先级不生效
2022-12-24 15:12:30 -05:00
wdfk-prog db6ee55379 [STM32][common]更新rt_hw_us_delay函数,以支持设置更高延时
* 未判断设置延时数是否会溢出
2022-12-22 21:18:29 -05:00
Man, Jianting (Meco) 262392a69c
[sensor] draft new sensor-hal framework (#6746)
* [sensor] new sensor framework
针对老版本sensor框架的诸多不合理设计进行重构
之前的PR中已经重构了浮点数相关的问题
本次PR主要围绕sensor的整体架构予以重构,对过于理想化的参数和模式予以删除
* [sensor] 增加can modbus总线类型
* [stm32l745] 完善sensor对接
* [sensor] fix the onchip ID print
2022-12-21 21:24:51 -05:00
Zxy f4323f2049
[stm32f1] 对于RTC-Alarm进行添加STM32F1宏控制 (#6765)
并确认并列出已经在什么情况或板卡上进行了测试。
And confirm in which case or board has been tested. -->
STM32F103ZET6

为什么提交这份PR (why to submit this PR)
使用STM32F103ZET6的RTC的Alarm功能出现问题,按照原本的驱动代码编译会报错。

你的解决方案是什么 (what is your solution)
修改底层驱动drv_rtc.c文件,将报错的几个结构体给注释掉即可。

在什么测试环境下测试通过 (what is the test environment)
rtstudio下对STM32F103ZET6进行测试并且成功运行Alarm功能
2022-12-21 20:33:54 -05:00
螺丝松掉的人 eec9d4f595
[arduino][stm32f427-robomaster-a] : 对接RTduino (#6767)
* [arduino][stm32f427-robomaster-a] : 对接RTduino

* Update README.md

* Update pins_arduino.c

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-12-21 18:16:31 -05:00
Stanley Lwin f0ef8ada33
[bsp] [stm32F401] Enable PA11 for TIM1_CH4 (#6756) 2022-12-20 01:20:20 -05:00
螺丝松掉的人 ba2d7ba4c0
[arduino][stm32f407-robomaster-c] 对接RTduino (#6759) 2022-12-20 00:59:54 -05:00
wdfk-prog 0a6ffce446
[STM32][SPI]使用rt_hw_cpu_dcache_ops函数替换HAL库函数 (#6745)
* [STM32][SPI]使用rt_hw_cpu_dcache_ops函数替换HAL库函数

* 规范代码格式
2022-12-16 02:10:42 -05:00
wdfk-prog 63e7633246
[STM32][SPI]在H7芯片下修复时钟频率获取错误问题并添加DMA驱动 (#6741)
* [STM32][SPI]在H7芯片下修复时钟频率获取错误问题并添加DMA驱动
* H7下SPI时钟不再为外设总线时钟频率
* H7下DMA驱动需要进行CacheLine对齐
2022-12-15 01:05:56 -05:00
Man, Jianting (Meco) 99bdf978d7
[rtdef] use lower-case to define attributes (#6728)
* [rtdef] rename RT_WEAK attribute as rt_weak

* [rtdef] rename RT_USED attribute as rt_used

* [rtdef] rename RT_SECTION attribute as rt_section

* [rtdef] rename ALIGN attribute as rt_align

* [legacy] add RT_USED ALIGN RT_SECTION RT_WEAK as legacy support
2022-12-11 13:12:03 -05:00
liYony 190eda6ab0 [bug] fix tim bug 2022-12-09 23:19:18 -05:00
liYangYang e3a09b2791
[STM32][SPI]优化APBx时钟配置代码 (#6698)
* [STM32][SPI]优化APBx时钟配置代码
2022-12-06 12:52:37 -05:00
wdfk-prog db3e261bc4 添加判断当前使用定时器是否可配置为主从定时器模式 2022-12-06 00:07:57 -05:00
少年老王 12ec87d64e 修改串口V2的putc顺序
1.顺序修改回V1,保证每次都是当前数据发送完才跳出
2022-12-06 10:37:35 +08:00
liYony 575fe18ea0 some errors 2022-12-06 10:37:15 +08:00
liYony 7a49f8d920 tim_clock_get 2022-12-06 10:37:15 +08:00
liYony e9ddc36488 tim clk config fix 2022-12-06 10:36:59 +08:00
wdfk-prog aaf1abf25f [fix][stm32]修复输出高电平异常的问题 2022-12-05 20:49:28 -05:00
Meco Man dea34be06c [stm32l475-pandora] update readme 2022-12-05 20:44:34 -05:00
liYangYang 4bdca93a8d
[RTduino][STM32]为stm32l431-BearPi开发板对接RTduino软件包 (#6688) 2022-12-04 20:28:15 -05:00
guo ecf2d82159
sync branch rt-smart. (#6641)
* Synchronize the code of the rt mart branch to the master branch.
  * TTY device
  * Add lwP code from rt-smart
  * Add vnode in DFS, but DFS will be re-write for rt-smart
  * There are three libcpu for rt-smart:
    * arm/cortex-a, arm/aarch64
    * riscv64

Co-authored-by: Rbb666 <zhangbingru@rt-thread.com>
Co-authored-by: zhkag <zhkag@foxmail.com>
2022-12-03 12:07:44 +08:00
wdfk-prog 569e2ae1e8
[CAN]update struct can_filter_item and rt_can_msg (#6556)
* 修改ry命令,已便于自定义保存路径

* modified:   components/utilities/ymodem/ry_sy.c

* 修复从被动错误恢复后发送返回异常

* 修复在自动重传模式下,ACK异常阻塞线程
- 删除TX中断函数else分支。仅当RQCP位 置一才进入该中断
- 添加SCE中断函数中关于ACK_ERR的else判断。自动重传模式下会进入该判断,打断自动重传释放完成量。

* 增加对于CAN1与CAN2的SCE中断和TX中断的公共处理函数

* formatting格式化代码

* update struct can_filter_item and rt_can_msg
1. 对过滤器号和索引号结构体定义中同一名称hdr进行重命名hdr_bank和hdr_index,
以便准确区分.采用宏定义兼容以前变量名.
2. 添加接收标识rxfifo,已指明是哪个RXFIFO.

* 更正42M下的波特率

* 修复接收获取索引号错误

* 添加接收标识

* 更新注释

* 取消CANFD限制

* update struct can_filter_item and rt_can_msg
2022-11-21 21:45:51 -05:00
Meco Man 6808f48bdc [stm32] 解决Error_Handler()函数在*_msp.c文件下报错的问题
在用户头文件区增加#include <drv_common.h>即可
2022-11-21 21:31:33 -05:00
Meco Man dc5f280a9a [stm32l475-pandora] select AHT10_USING_SENSOR_DEVICE 2022-11-21 21:31:16 -05:00
lpy 8e8fcd8d25
[stm32f410][RTduino] 修改pins_arduino.c和Kconfig (#6629) 2022-11-20 21:48:39 -05:00
螺丝松掉的人 d98a4ec1b5
[arduino][f411-blackpill] 已配置cubeMX,并生成pinout文件 (#6614)
* [arduino][f411-blackpill] 已配置cubeMX,并生成pinout文件

Signed-off-by: 褚仕成 <1468559561@qq.com>

* [arduino][f411-blackpill] 完善cubeMX配置

* 编辑 Kconfig 文件

* 完善Kconfig文件中PWM的配置

* 将rtduino的配置移至Onboard Peripheral Drivers

* 使能SPI

* Update Sconscript

Signed-off-by: 褚仕成 <1468559561@qq.com>
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-11-18 20:58:32 -05:00
myshow2258 87be8fdba8 Modified bsp/stm32/libraries/HAL_Drivers/drv_usbd.c
Modified   components/drivers/usb/usbdevice/class/cdc_vcom.c
修复cdc在v1v2的serial框架下接收发送错误的问题.stm32下usbd添加更多的ep_id,以支持复合设备.
2022-11-14 23:47:49 -05:00
Meco Man 6b9bdc12a9 [sensor] use arg to replace user_data 2022-11-14 22:19:47 -05:00
lpy a6151716b2
添加STM32F410 NUCLEO RTDUINO (#6613)
* 添加STM32F410 NUCLEO RTDUINO

* 修改stm32f410 nuleco RTDUINO

* 修改stm32f410 nuleco RTDUINO

* Update Sconscript

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-11-13 23:16:52 -05:00
Meco Man e89b0e7d8a [stm32 f411] rename stm32f411-weact-blackpill 2022-11-12 02:16:42 -05:00
Meco Man c67ff54b6e [Kconfig] remove PKG_USING_SENSORS_DRIVERS and PKG_USING_TOUCH_DRIVERS 2022-11-06 23:01:37 -05:00
Man, Jianting (Meco) a24f527990
[stm32][tim/pwm] 抽出公共代码,防止日后演进出现分歧 (#6575)
* [stm32][tim/pwm] 抽出公共代码,防止日后演进出现分歧

* Update drv_tim.c
2022-11-06 22:58:39 -05:00
Meco Man ac2fb2beab [rtduino] 修正pinout_arduino文件所在Group名称 2022-11-05 10:56:36 -04: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 315c25883c [bsp] fix the return of the function(drv_pwm_control) in stm32 drv_pwm 2022-10-30 02:17:02 -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
linshire e01776ea76 将驱动文件中判断RT_USING_XXX改为BSP_USING_XXX,解决了部分框架层与驱动层的混用 2022-10-27 18:30:08 -04:00
Man, Jianting (Meco) 055267f049
[compiler] 增加SConscript依赖标志 AddDepend (#6534)
* [compiler] 增加SConscript依赖标志 AddDepend

* RT_USING_NEWLIB->RT_USING_NEWLIBC RT_USING_ARM_LIBC->RT_USING_ARMLIBC

* 删除过时的板载测试例程

* [gd32] 移除无用的反汇编文件

* [bsp]移除老旧bsp中对RT_USING_NEWLIBC的手动宏定义
2022-10-25 00:01:37 -04:00
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
Meco Man b0364da7e3 [arduino] add F_CPU to indicate the frequency of CPU 2022-05-25 10:03:54 +08:00
Meco Man 36f142fbc3 [arduino] add RTDUINO_NO_SETUP_LOOP 2022-05-25 10:03:54 +08:00
Meco Man 2fc7fab80a remove CMSIS/RTOS folders 2022-05-20 10:51:55 +08:00
Meco Man 4557d3c8c3 update 2022-05-20 10:51:55 +08:00
Meco Man 19672b7c3a update stm32 ci checking list 2022-05-20 10:51:55 +08:00
Meco Man 9182d4cbb7 [stm32] remove meaningless files 2022-05-20 10:51:55 +08:00
Meco Man 2d41853124 [stm32f746] update the project
取消了默认选中LWIP和DFS
2022-05-16 09:53:25 +08:00
Meco Man 6fe83d4a77 [lvgl][stm32f407] 优化LVGL初始化流程 2022-05-12 10:10:11 +08:00
Meco Man 1b4f16f729 [stm32f469][lvgl] 优化LVGL文件结构 2022-05-11 20:30:50 +08:00
Meco Man 4448869394 [simulator] 优化vs模拟器的LVGL结构 2022-05-11 20:30:38 +08:00
Meco Man 9ff61b4cb3 [l475] remove meaningless header file 2022-05-11 20:30:38 +08:00
Man, Jianting (Meco) 4e7823cb6b
[stm32l475]优化LVGL初始化流程和结构 (#5919)
* [lvgl] 代码精炼

* delet lv_port_indev.c

* Update Kconfig
2022-05-11 08:41:57 +08:00
Meco Man 8a7b9da76d [stm32 nucleo][f072][f401] support TIM7/TIM11 hardware timer 2022-05-10 13:55:16 +08:00
Meco Man c14dbe8a2e [lvgl] beautify code 2022-05-10 10:12:45 +08:00
Man, Jianting (Meco) 0d2b96d7cc
[stm32][l4] add tim7 support | 设备框架以及驱动错误码处理逻辑存在问题 (#5901) 2022-05-09 22:59:27 +08:00
Meco Man 96dd783f37 [cmsis] avoid conflict between cmsis5 and bsp cmsis 2022-05-09 22:54:36 +08:00
Wu Han 4171fcbb06 [bsp][stm32][drv_crypto] Enable RNG Clock 2022-05-09 11:13:01 +08:00
Meco Man 73236a825c [stm32][spi] remove hardware NSS 2022-05-09 09:57:22 +08:00
Meco Man e037b7684e prepare to support squareline studio 2022-05-09 09:56:27 +08:00
Man, Jianting (Meco) 0e66f3f833
[arduino] update (#5895) 2022-05-01 12:24:35 +08:00
Meco Man ec9629b5f0 更新文档 潘多拉增加spi2 2022-04-28 09:19:39 +08:00
breederbai 429e1cafe6 修复BUG:串口启用DMA接收后,动态修改串口波特率扰乱接收检索
在串口不关闭的情况下,更改波特率后,清空上次数据检索,导致更新写入检索错误,
串口无法读出正确的数据。真实数据的位置和检索值之间总有一定的距离,导致读取
数据的时候会有一定的延时。缓冲区大,延时越长
2022-04-27 21:59:06 +08:00
breederbai 326abec0e7 修复BUG:SDIO和UART6(TX)的DMA通道分配冲突 2022-04-27 21:54:28 +08:00
blta d52ad69d6f
[BSP] judge the SPI instances before operating (#5874) 2022-04-26 13:26:28 +08:00
Meco Man 175ca2ee09 [dac] add get resolution method 2022-04-23 23:03:59 +08:00
Man, Jianting (Meco) c2a0995545
[adc] 支持adc框架获取BSP的ADC分辨率 (#5853) 2022-04-22 22:26:41 +08:00
Man, Jianting (Meco) a0f8d43744
[gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM (#5802)
* [gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM
2022-04-20 09:56:04 +08:00
Man, Jianting (Meco) 7b47e8d052
[stm32f401-nucleo] arduino support (#5842)
* [stm32f401-nucleo] arduino support
* 增加application arduino main文件
* 调整目录结构
2022-04-20 09:09:58 +08:00
Meco Man 991b6e78b3 [bug] 修正rtc对时间参数范围的处理 | fix a bug of rtc 2022-04-19 11:48:59 +08:00
Man, Jianting (Meco) 0dc493d6da
[stm32f072] support Arduino I2C and update readme (#5824)
[stm32f072] support Arduino I2C and update readme
2022-04-18 09:36:12 +08:00
Man, Jianting (Meco) 9fa8c78c9a
update arduino related (#5809)
- add comments
- remove ARDUINO_PWM_HZ
- remove initVariant blank function
- support DAC0
- improve Kconfig of STM32L475 PANDORA
- add readme
- add i2c1 bus device
2022-04-16 15:10:00 +08:00
Miaowulue 5e7badd34c [bsp/stm32] update ov5640 configuration of openmv 2022-04-15 10:34:38 +08:00
Miaowulue da0164cf8e [bsp/stm32] add ov5640、dcmi、i2c for openmv 2022-04-15 10:34:38 +08:00
Miaowulue 7919642a8b [bsp/stm32] add rtc for openmv 2022-04-15 10:34:38 +08:00
zuozuojia ecb69f56ac Update drv_can.c
删除多余注释,另外确定了对于其他型号单片机的适应性
2022-04-14 11:50:22 +08:00
zuozuojia ff36a39d32 [bsp/stm32] fix the bug of can filter conflict 2022-04-14 11:50:22 +08:00