<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/bsp/stm32/libraries/HAL_Drivers/drivers/config/f4, branch copilot/create-dfs2-documentation</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/bsp/stm32/libraries/HAL_Drivers/drivers/config/f4?h=copilot%2Fcreate-dfs2-documentation</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/bsp/stm32/libraries/HAL_Drivers/drivers/config/f4?h=copilot%2Fcreate-dfs2-documentation'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2024-04-24T05:42:03Z</updated>
<entry>
<title>[bsp][stm32] fix bugs of i2c hardware drivers</title>
<updated>2024-04-24T05:42:03Z</updated>
<author>
<name>SCZeiDan</name>
<email>53632180+SCZeiDan@users.noreply.github.com</email>
</author>
<published>2024-04-24T05:42:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=7ca2ebc51ad0bacc99d239240fd6a20b93acde78'/>
<id>urn:sha1:7ca2ebc51ad0bacc99d239240fd6a20b93acde78</id>
<content type='text'>
在STM32F429IGTx设备上使用硬件i2c驱动程序师遇到以下几个问题：

语法错误：drv_hard_i2c.c 行67、68中i2c_handle未正常替换过来，估计是上个版本对变量重命名后因为宏定义忽略了此处修改；
语法错误：drv_hard_i2c.c 行326中缺少一个"}"导致编译出错；
初始化i2c设备过程中对双地址选项进行设置时（i2c_handle-&gt;Init.OwnAddress2Masks = I2C_OA2_NOMASK），STM32F4系列SOC没有这个配置定义，于是我直接将双地址模式关闭了（i2c_handle-&gt;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的适配</content>
</entry>
<entry>
<title>[bsp][stm32] format code of i2c hardware drivers</title>
<updated>2024-03-08T05:29:32Z</updated>
<author>
<name>Meco Man</name>
<email>920369182@qq.com</email>
</author>
<published>2024-03-08T04:14:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=b85c4cade2cd730305e66c9c215a8c8e53c20e95'/>
<id>urn:sha1:b85c4cade2cd730305e66c9c215a8c8e53c20e95</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[stm32][tim-config] fix F4 TIM6's IRQ source in STM32F412</title>
<updated>2024-03-08T01:39:57Z</updated>
<author>
<name>Meco Man</name>
<email>920369182@qq.com</email>
</author>
<published>2024-03-08T00:53:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=384a370c9a0bd92ff984d6ecfc077ba54a1f538a'/>
<id>urn:sha1:384a370c9a0bd92ff984d6ecfc077ba54a1f538a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[stm32] split stm32 drivers as normal and nano drivers</title>
<updated>2023-12-03T13:25:00Z</updated>
<author>
<name>Meco Man</name>
<email>920369182@qq.com</email>
</author>
<published>2023-12-02T17:32:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=860094e89366bd6f714728e2e9c3de7517a91720'/>
<id>urn:sha1:860094e89366bd6f714728e2e9c3de7517a91720</id>
<content type='text'>
- 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.
</content>
</entry>
</feed>
