Meco Man
c8956357e4
[stm32][adc] 优化adc通道获取流程
2023-04-08 22:40:37 -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
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
NU-LL
735fb14fe7
[bsp][stm32] add stm32h750-fk750m1-vbt6 bsp
2023-03-26 22:17:57 -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
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
2cc9bd876e
[error code][-RT_EIO] fix that use RT_EIO without -
2023-03-16 20:20:37 -04: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
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
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
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
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
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
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
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
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