使用lpc408x时,需要用到ADC,因此写了ADC的驱动

This commit is contained in:
fzxhub
2021-09-17 18:19:23 +08:00
parent 00221bd43f
commit 79bed2c0fd
5 changed files with 136 additions and 0 deletions
+3
View File
@@ -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')