summaryrefslogtreecommitdiff
path: root/bsp/avr32/drivers/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/avr32/drivers/SConscript')
-rw-r--r--bsp/avr32/drivers/SConscript14
1 files changed, 7 insertions, 7 deletions
diff --git a/bsp/avr32/drivers/SConscript b/bsp/avr32/drivers/SConscript
index 6dd572dfb2..2ecd23b5d6 100644
--- a/bsp/avr32/drivers/SConscript
+++ b/bsp/avr32/drivers/SConscript
@@ -7,16 +7,16 @@ cwd = GetCurrentDir()
# add the general drivers.
src = []
-if GetDepend(['RT_USING_PIN']):
+if GetDepend(['BSP_USING_PIN']):
src += ['drv_gpio.c']
-if GetDepend(['RT_USING_SERIAL']):
- if GetDepend(['RT_USING_SERIAL_V2']):
- src += ['drv_uart_v2.c']
- else:
- src += ['drv_uart.c']
+if GetDepend(['BSP_USING_UART']):
+ src += ['drv_uart.c']
-path = [cwd]
+if GetDepend(['BSP_USING_SOFT_I2C']):
+ src += ['drv_soft_i2c.c']
+
+path = [cwd]
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)