rt-thread-official/bsp
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
..
CME_M7 [bsp] update projects 2024-03-21 11:23:29 +08:00
ESP32_C3 [pin] pin_read/write rt_uint8_t to rt_ssize_t 2024-03-23 14:50:31 -04:00
Infineon [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
Vango [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
acm32 [bsp][acm32]format utf-8 2024-04-21 01:18:37 -04:00
airm2m [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
allwinner [bsp] format drivers code 2024-03-24 09:18:25 +08:00
allwinner_tina [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
amebaz [bsp] update projects 2024-03-21 11:23:29 +08:00
apm32 [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
apollo2 [pin] pin_read/write rt_uint8_t to rt_ssize_t 2024-03-23 14:50:31 -04:00
asm9260t [bsp] update projects 2024-03-21 11:23:29 +08:00
at32 [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
at91 [bsp] update projects 2024-03-21 11:23:29 +08:00
avr32 [bsp] format drivers code 2024-03-24 09:18:25 +08:00
beaglebone [pin] pin_read/write rt_uint8_t to rt_ssize_t 2024-03-23 14:50:31 -04:00
bf533
bluetrum [pin] pin_read/write rt_uint8_t to rt_ssize_t 2024-03-23 14:50:31 -04:00
bm3803 [bsp] update projects 2024-03-21 11:23:29 +08:00
bouffalo_lab [bsp] format drivers code 2024-03-24 09:18:25 +08:00
ck802 [bsp] format drivers code 2024-03-24 09:18:25 +08:00
core-v-mcu [bsp] update projects 2024-03-21 11:23:29 +08:00
cvitek [bsp]support cvitek sdhci drvier (#8849) 2024-04-24 05:40:22 +08:00
dm365 [bsp] update projects 2024-03-21 11:23:29 +08:00
efm32 [debug] 整理debug宏并增加RT_DEBUGING_CONTEXT (#7805) 2023-07-22 10:36:42 +08:00
essemi [RTduino] change the pinout group name 2024-03-29 21:49:13 +08:00
fm33lc026 [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
frdm-k64f [bsp] update projects 2024-03-21 11:23:29 +08:00
ft32 [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
ft2004 [bsp] format drivers code 2024-03-24 09:18:25 +08:00
fujitsu/mb9x [bsp] update projects 2024-03-21 11:23:29 +08:00
gd32 [bsp] format drivers code 2024-03-24 09:18:25 +08:00
hc32 [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
hc32l136 [bsp] format drivers code 2024-03-24 09:18:25 +08:00
hc32l196 [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
hifive1 [bsp] update projects 2024-03-21 11:23:29 +08:00
hk32 [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
hpmicro [bsp] format drivers code 2024-03-24 09:18:25 +08:00
ht32 [BSP][HT32]新增合泰ht32f52352和ht32f12366 2024-04-17 23:44:25 -04:00
juicevm [bsp] update projects 2024-03-21 11:23:29 +08:00
k210 [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
lm3s9b9x [bsp] update projects 2024-03-21 11:23:29 +08:00
lm3s8962 [bsp] update projects 2024-03-21 11:23:29 +08:00
lm4f232 [bsp] update projects 2024-03-21 11:23:29 +08:00
loongson [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
m16c62p
maxim [pin] pin_read/write rt_uint8_t to rt_ssize_t 2024-03-23 14:50:31 -04:00
microblaze
microchip [bsp] update projects 2024-03-21 11:23:29 +08:00
mini2440 [bsp] update projects 2024-03-21 11:23:29 +08:00
mini4020 [errno code]fix that use RT_ENOMEM without - 2023-03-23 01:55:21 -04:00
mipssim [bsp] format drivers code 2024-03-24 09:18:25 +08:00
mm32 [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
mm32f103x [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
mm32f327x [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
mm32l3xx [bsp] format drivers code 2024-03-24 09:18:25 +08:00
mm32l07x [bsp] format drivers code 2024-03-24 09:18:25 +08:00
msp432e401y-LaunchPad [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
n32 [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
n32g452xx [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
nios_ii
nrf5x [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
nuclei [bsp] format drivers code 2024-03-24 09:18:25 +08:00
nuvoton [bsp] format drivers code 2024-03-24 09:18:25 +08:00
nv32f100x [HUST CSE]github上正常但导入vscode出现乱码 2023-04-22 19:22:19 +01:00
nxp [bsp][nxp] Add select BSP_USING_PIN for SPI and RW007 driver 2024-04-20 23:46:39 -04:00
phytium [bsp/phytium]部分设备驱动修改 (#8794) 2024-04-19 08:52:09 +08:00
pic32ethernet
qemu-vexpress-a9 sync smart & dfs (#8672) 2024-03-28 23:42:56 +08:00
qemu-virt64-aarch64 sync smart & dfs (#8672) 2024-03-28 23:42:56 +08:00
qemu-virt64-riscv [bsp] update projects 2024-03-21 11:23:29 +08:00
raspberry-pi [bsp/rpi4] fixup startup failure (#8754) 2024-04-11 00:02:49 +08:00
raspberry-pico [driver][soft-spi] spi device driver framework adds pin init function function 2024-04-09 18:33:29 -04:00
renesas [bsp][renesas]Link script adds finsh related sections. (#8837) 2024-04-22 11:55:45 +08:00
rm48x50 [bsp] format drivers code 2024-03-24 09:18:25 +08:00
rockchip [pin] pin_read/write rt_uint8_t to rt_ssize_t 2024-03-23 14:50:31 -04:00
rv32m1_vega [bsp] format drivers code 2024-03-24 09:18:25 +08:00
rx [errno code][-RT_ERROR] fix that use RT_ERROR without - 2023-03-20 00:06:16 -04:00
sam7x [bsp] update projects 2024-03-21 11:23:29 +08:00
samd21 [errno code][-RT_ERROR] fix that use RT_ERROR without - 2023-03-20 00:06:16 -04:00
sep6200 [debug] remove RT_DEBUG_xxx 2023-07-09 00:19:29 -04:00
simulator [bsp] update projects 2024-03-21 11:23:29 +08:00
smartfusion2 [bsp] format drivers code 2024-03-24 09:18:25 +08:00
sparkfun-redv [bsp] update projects 2024-03-21 11:23:29 +08:00
stm32 [bsp][stm32] fix bugs of i2c hardware drivers 2024-04-24 01:42:03 -04:00
synopsys/boards [bsp] update projects 2024-03-21 11:23:29 +08:00
synwit [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
tae32f5300 [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
taihu [kernel] 将rt_thread结构体改为显式继承rt_object (#7131) 2023-04-04 09:06:27 -04:00
thead-smart [bsp] update projects 2024-03-21 11:23:29 +08:00
ti/c28x [pin] pin_read/write rt_uint8_t to rt_ssize_t 2024-03-23 14:50:31 -04:00
tkm32F499 [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
tm4c123bsp bsp/tm4c123: move i2c clk config to tm4c123_config.c 2024-04-12 19:02:49 -04:00
tm4c129x [bsp] update projects 2024-03-21 11:23:29 +08:00
tms320c6678
upd70f3454
w60x [pin] pin_read/write rt_uint8_t to rt_ssize_t 2024-03-23 14:50:31 -04:00
wch [driver][soft-spi] spi device driver framework adds pin init function function 2024-04-09 18:33:29 -04:00
wh44b0
x86 [bsp] update projects 2024-03-21 11:23:29 +08:00
xplorer4330 [bsp] update projects 2024-03-21 11:23:29 +08:00
yichip [pin] pin_read/write rt_uint8_t to rt_ssize_t 2024-03-23 14:50:31 -04:00
zynqmp-a53-dfzu2eg [bsp][zynqmp] 为 DFZU2EG MPSoC 开发板支持标准版和Smart版内核 (#8773) 2024-04-12 15:57:06 +08:00
zynqmp-r5-axu4ev [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
.clang-format [clang-format] 增加clang-format格式化配置,通过ide或者手动运行tools/run-clang-format.py进行代码自动格式化 2024-04-21 01:18:37 -04:00
Copyright_Notice.md
README.md [bsp] remove gd32 in the root 2023-11-20 07:34:46 -05:00

README.md

RT-THREAD bsp company list