Skip to content

Commit

Permalink
[drivers] merge the software i2c driver
Browse files Browse the repository at this point in the history
  • Loading branch information
kurisaW authored and mysterywolf committed Jan 9, 2025
1 parent 97b9cc5 commit 1b76ecc
Show file tree
Hide file tree
Showing 9 changed files with 727 additions and 600 deletions.
4 changes: 0 additions & 4 deletions bsp/renesas/libraries/HAL_Drivers/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ if GetDepend(['BSP_USING_WDT']):
if GetDepend(['BSP_USING_ONCHIP_RTC']):
src += ['drv_rtc.c']

if GetDepend(['BSP_USING_SOFT_I2C']):
if GetDepend('BSP_USING_I2C0') or GetDepend('BSP_USING_I2C1') or GetDepend('BSP_USING_I2C2'):
src += ['drv_soft_i2c.c']

if GetDepend(['BSP_USING_HW_I2C']):
src += ['drv_i2c.c']

Expand Down
232 changes: 0 additions & 232 deletions bsp/renesas/libraries/HAL_Drivers/drv_soft_i2c.c

This file was deleted.

62 changes: 0 additions & 62 deletions bsp/renesas/libraries/HAL_Drivers/drv_soft_i2c.h

This file was deleted.

16 changes: 16 additions & 0 deletions bsp/renesas/ra6m3-hmi-board/.ci/attachconfig/attachconfig.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
devices.strict:
depend_scons_arg:
- '--strict'
devices.gpio:
depends:
- devices.strict
kconfig:
- CONFIG_BSP_USING_GPIO=y
devices.uart:
kconfig:
- CONFIG_BSP_USING_UART=y
devices.soft_i2c:
kconfig:
- CONFIG_RT_USING_I2C=y
- CONFIG_RT_USING_SOFT_I2C=y
- CONFIG_RT_USING_SOFT_I2C0=y
Loading

0 comments on commit 1b76ecc

Please sign in to comment.