Commit Graph

2022 Commits

Author SHA1 Message Date
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
沐枫 9822b46291
[BSP][stm32]add BSP for FK407M2-ZGT6 2024-08-15 04:10:16 -04:00
yekai e418b959d7 modify startup to call entry after start 2024-08-12 19:19:59 +08:00
yekai ce9e6209ab modify heap to zero
as mysterywolf do in commit 698569c3ca
2024-08-12 19:19:59 +08:00
yekai 145c6e2b51 update `STM32Cube MCU Package for STM32H7 Series` to 1.11.2 2024-08-12 19:19:59 +08:00
Rbb666 6b3ef17830 删除stm32/drv_pm.c不必要的头文件 2024-07-19 11:51:39 +08:00
Rbb666 1a596607ed 删除bsp:stm32l476的pm组件依赖 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
LZerro befa478073 [bsp][stm32_rt_spark]Add README_EN 2024-07-09 20:18:53 +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
yuanzihao 76e123d8ca
[bsp/stm32f407-lckfb-skystar] 天空星高配版的FLASH从GD25Q32升级为W25Q128 (#9108)
* -更新芯片型号和板子型号

* -天空星目前只有青春版(没有贴外部flash),高配版(有贴外部flash)正在生产,所贴的SPI FLASH 从GD25Q32升级为W25Q128。
2024-06-27 23:04:35 +08:00
Meco Man eb1d6913b0 [bsp/stm32f103-100ask-mini] extend ROM from 64KB to 128KB 2024-06-27 00:11:18 +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
Rbb666 5e04d8b3c1 [bsp]Fix the problem of stm32l431 build ci failure 2024-06-24 13:53:10 +08:00
Shell 0f9a4fa032
fixup: building failure in bsp cause by hal (#9086)
fixup: hal
2024-06-23 21:28:26 +08:00
latercomer fe3c4d456e bsp中option env语句替换为新语句,并同步更新了source "$xxx"语句 2024-06-20 14:40:42 +08:00
WKJay 2fd9ff56dc [BSP][stm32f103-100ask-pro]add ext_sram driver to stm32f103-100ask-pro 2024-05-29 20:19:46 +08:00
LZero 1cac9e92b5 Stm32F411 Blackpill CubeMX delete SPI_NSS 2024-05-09 00:37:10 -04:00
Meco Man 84f8d209c4 [stm32l4] export env 2024-05-07 13:27:15 +08:00
Meco Man 12ad1703df [bsp][stm32l4] remove local HAL 2024-05-06 21:42:10 +08:00
Meco Man ac45676830 [stm32l4] select PKG_USING_STM32L4_HAL_DRIVER 2024-05-06 21:42:10 +08:00
Meco Man b29b29b205 [stm32l4] remove HAL 2024-05-06 21:42:10 +08:00
Meco Man 0db3cfacda [stm32l4] remove STM32L4xx_HAL/CMSIS 2024-05-06 21:42:10 +08:00
Meco Man a7a8c59ea9 [stm32l475pandora] format Kconfig 2024-05-05 22:18:34 -04:00
Meco Man 68e92985c7 [stm32] 调整CMSIS-Core软件包宏 2024-05-05 22:18:34 -04:00
Meco Man 341ce50067 [stm32] format Kconfig 2024-05-05 22:18:34 -04: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
Meco Man e548a99da4 [ci] set at_device package as strict mode 2024-04-29 10:56:05 +08: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
Meco Man d68e47eb25 [klibc] organize and renmae macros, and add CI check 2024-04-20 21:52:49 -04:00
Shell 8c4db32d04 fixup: debug 2024-04-19 21:30:12 -04:00
Rbb666 3c9b7b1f96 [bsp][renesas][stm32]Fix some bsp probelm in 5.1.x. 2024-04-18 20:32:47 -04:00
Meco Man a225d26a8a [bsp][stm32f103-fire-arbitrary] fix missing header file 2024-04-16 01:39:30 -04:00
Meco Man d10fb37c05 [bsp] revert delete of stm32f407-sparkfire RTduino pinout 2024-04-15 22:41:00 -04:00
yuanzihao 1a8b8522f7
[BSP][STM32]add stm32f407-lckfb-skystar 2024-04-13 08:00:15 -04:00
wirano dbce35ba2b bsp/stm32: remove duplicate if condition 2024-04-12 19:01:26 -04:00
Shicheng Chu ca90d3f6c3 [bsp][stm32]fix stm32f103 default console uart name 2024-04-11 18:49:10 -04:00
LZerro e50fbe8b94
[SBP] Stm32F407-rt-spark adapts to RTduino 2024-04-11 18:46:52 -04:00
StackYuan 83bd05391f
[add] Readme doc for stm32h7s7-disco BSP (#8767)
[bsp][stm32] add English version readme doc for BSP stm32h7s7-st-disco.
2024-04-11 14:55:34 +08:00
StackYuan 87d47bf935 [fix] fixup spaces and add in ci. 2024-04-10 16:04:28 +08: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