diff options
| author | fzxhub <[email protected]> | 2021-09-17 18:19:23 +0800 |
|---|---|---|
| committer | fzxhub <[email protected]> | 2021-09-17 18:19:23 +0800 |
| commit | 79bed2c0fd2e9add3bb9001258ff4bb4c0af492f (patch) | |
| tree | 044601c9b823ae0e533396bf4c02e5fc63048d6e /bsp/lpc408x/drivers/SConscript | |
| parent | 00221bd43f8aad4a91e44fe1a7c6fe85571df456 (diff) | |
使用lpc408x时,需要用到ADC,因此写了ADC的驱动
Diffstat (limited to 'bsp/lpc408x/drivers/SConscript')
| -rw-r--r-- | bsp/lpc408x/drivers/SConscript | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bsp/lpc408x/drivers/SConscript b/bsp/lpc408x/drivers/SConscript index 8c7c4435b2..2cfe8e8271 100644 --- a/bsp/lpc408x/drivers/SConscript +++ b/bsp/lpc408x/drivers/SConscript @@ -23,6 +23,9 @@ if GetDepend(['BSP_USING_SDRAM']): if GetDepend('BSP_USING_UART0') or GetDepend('BSP_USING_UART2'): src += ['drv_uart.c'] +if GetDepend('BSP_USING_ADC'): + src += ['drv_adc.c'] + group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH) Return('group') |
