Meco Man
4e0225a48d
[debug] use LOG_D instead RT_DEBUG_LOG
...
related: https://github.com/RT-Thread/rt-thread/pull/7799
2023-07-28 13:50:32 -04:00
wangqinglin
a07fda3470
[bsp][stm32][airm2m]<pin>更新pin num命令 ( #7390 )
2023-07-19 18:45:43 -04:00
程蒙蒙
72a6c91032
[bsp]stm32工程生成路径在源码目录
2023-07-03 15:20:57 +08:00
Meco Man
34bc78331c
[stm32][i2c] replace stm32_udelay as rt_hw_us_delay
2023-06-28 22:08:14 -04:00
Rbb666
b8796f55a5
[bsp][stm32]fix stm32u5 gpio interrupt error
2023-06-25 17:12:44 +08:00
zst123
96207d4246
[bsp][stm32u575] add ADC support
2023-06-15 18:37:31 -04:00
Meco Man
28b7c88269
[stm32][drv_spi] revert the typo
...
it shouldn't be a static variable.
2023-06-10 19:00:08 -04:00
wdfk-prog
7c3f5c3879
[bsp][stm32][spi] 优化DMA数据非字节对齐的处理流程
2023-06-09 22:48:22 -04:00
winfenggao
37585a3f20
[serial_v1] 增加变量 DR_mask 成员变量提高效率 ( #7597 )
2023-06-06 00:18:32 -04:00
Meco Man
22fb7152d9
[stm32][spi-dma] 只有传输数据超过一定长度才会使用DMA方式
...
在传输数据为短小报文时,使用DMA模式反倒会慢
2023-06-02 03:14:32 -04:00
Man, Jianting (Meco)
1638241297
[stm32][drv_spi] 优化spi单工发送, 不对接收buffer操作
...
否则可能影响上层应用的接收/发送buffer
attach: afcc400
2023-05-31 21:54:45 -04:00
Meco Man
afcc4005b8
[stm32][spi]完善在双工设置下仅开启TX/RX一方DMA的处理
2023-05-28 22:14:52 -04:00
Meco Man
3334a05148
[stm32l4] support SPI3 RX DMA
2023-05-22 02:56:14 -04:00
褚仕成
5f8b33f85d
[bsp][lpc55sxx]update: drv_spi
2023-05-17 07:20:05 +08:00
nobody
613e5a3e51
[HUST CSE]fix:修改drv_spi.c空指针问题
2023-04-29 18:16:10 -04: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
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