diff options
| author | Rbb666 <[email protected]> | 2022-07-11 11:17:03 +0800 |
|---|---|---|
| committer | guo <[email protected]> | 2022-07-28 18:54:50 +0800 |
| commit | 7d68083bd7cbabe375062069af61764ea60dc344 (patch) | |
| tree | 75cf0479a2a1cd7fc9213f25eed9b018ab8b0946 /bsp/cypress/libraries/HAL_Drivers/SConscript | |
| parent | a0be4ee3e921056560172c417a2458e7915077e4 (diff) | |
Add Hardware I2C Bus
Diffstat (limited to 'bsp/cypress/libraries/HAL_Drivers/SConscript')
| -rw-r--r-- | bsp/cypress/libraries/HAL_Drivers/SConscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/cypress/libraries/HAL_Drivers/SConscript b/bsp/cypress/libraries/HAL_Drivers/SConscript index 5fef6acb7d..e61bdf7c2e 100644 --- a/bsp/cypress/libraries/HAL_Drivers/SConscript +++ b/bsp/cypress/libraries/HAL_Drivers/SConscript @@ -23,7 +23,7 @@ if GetDepend(['RT_USING_I2C', 'RT_USING_I2C_BITOPS']): src += ['drv_soft_i2c.c'] if GetDepend(['RT_USING_I2C']): - if GetDepend('BSP_USING_HW_I2C1'): + if GetDepend('BSP_USING_HW_I2C3') or GetDepend('BSP_USING_HW_I2C6'): src += ['drv_i2c.c'] if GetDepend(['RT_USING_ADC']): |
