CYFS
76adf376db
[bsp][stm32][rsoc]串口超时判断逻辑有问题
...
[bsp][stm32]fix uart bug
2024-10-19 12:24:42 -04:00
Meco Man
47d941388b
[bsp][stm32] fix variable init
...
fix https://github.com/RT-Thread/rt-thread/pull/9525
2024-10-14 22:12:21 -04:00
Diamond Rivero
5010c17539
move `GPIO_InitStruct` variable inside to `PIN_IRQ_ENABLE`. thanks to @mysterywolf
2024-10-12 22:34:42 +08:00
Diamond Rivero
df36d1806c
call `HAL_GPIO_Init()` by default
2024-10-12 22:34:42 +08:00
CXSforHPU
bb91502465
[drivers] Specifies the name of the drivers driver file
...
https://github.com/RT-Thread/rt-thread/pull/9420
2024-09-13 17:40:40 -04:00
CXSforHPU
416ec66380
[device] add dev_ prefix for file names
2024-08-23 18:15:09 -04:00
Rbb666
6b3ef17830
删除stm32/drv_pm.c不必要的头文件
2024-07-19 11:51:39 +08:00
wdfk-prog
568356cc48
[stm32][pm]lptimer is supported
2024-07-19 11:51:39 +08:00
wdfk-prog
fccd98747e
[stm32][lptim]lptimer is register with hwtimer, only supports pm calls,the timer function is not supported
2024-07-19 11:51:39 +08:00
wdfk-prog
df948ad603
[STM32][SPI]移除内部编写的延时函数使用统一延时接口
2024-07-12 17:48:17 +08:00
Rbb666
5f70f974d5
[bsp][stm32]Increase the serial_v1 tx timeout.
2024-07-04 00:33:06 +08:00
Rbb666
8487e774a3
[bsp][stm32]fix stm32h7 spi transmit fail probelm.
2024-07-02 22:54:23 +08:00
wdfk-prog
d342450594
[bsp][stm32][uart V1]优化驱动实现
...
* 增加putc超时处理机制,防止死循环
* 优化TX中断初始化与卸载
* 添加TX中断方式实现
2024-06-27 00:11:18 +08:00
yiyi
bc3afab2c9
[bsp][stm32]Optimize ADCs and fix some bugs
2024-06-26 20:26:52 +08:00
Chasel
189f5ed8a9
[chip flash] add drv_flash_l1.c for stm32l1xxx ( #9077 )
...
* [chip flash] add drv_flash_l1.c for stm32l1xxx
* [fix] Modified the SConscript file to support building for STM32L1xxx.
2024-06-25 01:29:36 +08:00
SCZeiDan
d78429eb8e
[stm32] i2c hard driver fixup:增加硬件I2C传输超时等待时间
...
问题:
在使用硬件 I2C 驱动进行音频模块 WM8978 配置时,发现连续 rt_i2c_transfer 进行 I2C 传输时发现,连续多次调用 rt_i2c_transfer 会出现丢包现象;溯源发现是每次使用 rt_i2c_transfer 传输2字节,传输频率过高导致底层 HAL_I2C_Master_Seq_Transmit_DMA 报错 HAL_BUSY;
现象:
rt_completion_wait超时等待完成之后,I2C仍处于HAL_I2C_STATE_BUSY_TX状态,且后续第二次运行至HAL_I2C_Master_Seq_Transmit_DMA时会直接返回HAL_BUSY,从而直接 goto out; 退出而不会再次进行超时等待;
* drv_hard_i2c.c: 修复325行缺失'}'语法错误;更改HAL_I2C_xx_Transimt_xx调用中目标设备地址值;i2c_hard_config.h: 添加STM32F系列芯片xx_DMA_CONFIG宏定义;
* 回溯I2C设备地址传参处(msg->addr<<1)修改;
* fixup: 增加硬件I2C传输延时,解决连续传输导致HAL_BUSY状态;
2024-05-04 12:51:27 -04:00
LZerro
f190cba0ab
[i2c] adjust the timing for I2C initialization
2024-04-29 20:46:12 -04:00
LZerro
a92f971267
[spi] soft_spi_pin_init loop variable is initialized to 0
...
The loop variable in the function 'drv_soft_spi:xx_pin_init()' is initialized to 0.
2024-04-29 17:49:20 -04:00
SCZeiDan
7ca2ebc51a
[bsp][stm32] fix bugs of i2c hardware drivers
...
在STM32F429IGTx设备上使用硬件i2c驱动程序师遇到以下几个问题:
语法错误:drv_hard_i2c.c 行67、68中i2c_handle未正常替换过来,估计是上个版本对变量重命名后因为宏定义忽略了此处修改;
语法错误:drv_hard_i2c.c 行326中缺少一个"}"导致编译出错;
初始化i2c设备过程中对双地址选项进行设置时(i2c_handle->Init.OwnAddress2Masks = I2C_OA2_NOMASK),STM32F4系列SOC没有这个配置定义,于是我直接将双地址模式关闭了(i2c_handle->Init.DualAddressMode = I2C_DUALADDRESS_DISABLE);
初始化i2c设备(DMA方式)过程中发现i2c_hard_config.h文件中未定义DMA通道配置;
主要补丁如下:
修复硬件i2c驱动代码中语法错误(drv_hard_i2c.c行67、68、326);
关闭默认i2c双地址模式(drv_hard_i2c.c行75:I2C_DUALADDRESS_DISABLE);
添加硬件i2c驱动配置文件DMA相关配置项,增加对SOC_SERIES_STM32F2、SOC_SERIES_STM32F4、SOC_SERIES_STM32F7系列芯片配置DMA_CHANNEL的适配
2024-04-24 01:42:03 -04:00
wdfk-prog
184bfb447b
[STM32][SPI-DMA]特定条件下接收错误
2024-04-22 21:15:38 -04:00
wirano
dbce35ba2b
bsp/stm32: remove duplicate if condition
2024-04-12 19:01:26 -04:00
LZerro
e50fbe8b94
[SBP] Stm32F407-rt-spark adapts to RTduino
2024-04-11 18:46:52 -04:00
StackYuan
187e69a698
[BSP] add bsp for st's new platform stm32h7s7-st-disco.
...
[drv] STM32H7RSxx_HAL bsp fixed and update.
[add] bsp stm32h7s7-dk README.md
2024-04-10 16:04:28 +08:00
Yuqiang Wang
d08ae0bfd1
[driver][soft-spi] spi device driver framework adds pin init function function
...
为什么提交这份PR (why to submit this PR)
ps:在设备初始化阶段不应该存在对硬件的操作
你的解决方案是什么 (what is your solution)
ps:添加一个pin_init函数,在spi设备使用时调用该函数来完成硬件引脚的状态初始化,而不是在设备初始化阶段对硬件进行操作,已经在瑞萨HMI上通过验证
2024-04-09 18:33:29 -04:00
Dyyt587
34fb8d2f10
[bsp][stm32] fix hardware i2c driver bug
2024-04-01 23:21:09 -04:00
wdfk-prog
5cfa9c6390
[bsp][stm32][spi] 优化H7 DMA数据非字节对齐的处理流程
2024-03-31 20:30:56 -04:00
Shicheng Chu
3ff4fe5395
[bsp][stm32] drv_rtc.c中包含drv_common.h 避免找不到 error_handle实现 ( #8676 )
2024-03-26 00:57:03 -04:00
Meco Man
6a9c42a19d
[bsp][drv_gpio] fix the error code return when pin number is illegal
2024-03-24 09:18:25 +08:00
kk
2549b82bd6
[pin] pin_read/write rt_uint8_t to rt_ssize_t
2024-03-23 14:50:31 -04:00
刘伟
0ff23d8951
[bsp][stm32] eth driver support phy YT8512C
2024-03-15 19:12:46 -04:00
Meco Man
b85c4cade2
[bsp][stm32] format code of i2c hardware drivers
2024-03-08 13:29:32 +08:00
Dyyt587
4e1626703f
[bsp][stm32] add hardware i2c driver
2024-03-07 22:59:47 -05:00
Meco Man
384a370c9a
[stm32][tim-config] fix F4 TIM6's IRQ source in STM32F412
2024-03-08 09:39:57 +08:00
yangpengya
b3da34b784
[bsp][stm32]完善stm32g0系列部分外设中断处理 ( #8509 )
2024-01-27 09:56:52 +08:00
Shicheng Chu
3ea8e08e2d
[bsp][stm32]: Add ADC and PWM support for H5 ( #8495 )
2024-01-20 19:30:03 +08:00
kurisaw
345ce24e31
[bsp][renesas] RTduino configuration update
...
sync update
some optimize
[bsp][driver] Updates the naming convention of the i2c configuration item
2024-01-18 11:57:51 +08:00
yangpeng
dfd4ae5464
[bsp][stm32]fix stm32f2 usart driver
2024-01-11 23:58:46 +08:00
Rbb666
8b5831cb64
[bsp][stm32]fix stm32f469 sdram not enable problem.
2024-01-10 18:12:57 +08:00
Meco Man
74ac685b9a
[stm32] fix missing headfer files
2024-01-08 18:54:43 +08:00
Meco Man
0a3a10e5bb
[stm32] fxi gpio header files included
2024-01-07 22:46:12 +08:00
Meco Man
0ad5c9585d
[stm32][rt-spark] support nano version
2023-12-28 14:03:29 +08:00
Meco Man
ed4d037d7b
[ci][stm32f407] add attach config CI check
2023-12-26 23:13:08 +08:00
yangpengya
76acc4146b
[bsp][stm32]eth driver support phy YT8512C
2023-12-26 20:56:31 +08:00
Meco Man
58d0db9875
[stm32][ci] add RTduino CI checking
2023-12-25 08:20:58 +08:00
Meco Man
fe35011fc5
[stm32][drv_tim.c] fix errors when TIMx doesn't exist
2023-12-24 20:03:58 +08:00
Supper Thomas
6d1fdde1ff
add tim8
2023-12-18 20:29:56 +08:00
Supper Thomas
04b2c81745
[BSP/STM32] add support of RTC in g491 ( #8377 )
2023-12-17 21:44:25 +08:00
Supper Thomas
32342c6995
[bsp/stm32g491] add tim and iwdog
2023-12-08 18:01:45 +08:00
Meco Man
1b0dae2bb0
[stm32] support nano version
...
- G0
- G4
- L0
- L4
2023-12-05 23:22:19 +08:00
Meco Man
860094e893
[stm32] split stm32 drivers as normal and nano drivers
...
- move all normal drivers (devices framework drivers) into drivers
folder.
- create nano folder for nano drivers
nano drivers are only for a simply wrap of the HAL function, and
not seek for adopting rt-thread devcies framework.
- provide unified nano console and GPIO drivers.
2023-12-03 21:25:00 +08:00