mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-24 22:04:54 +08:00
Add SPI driver
This commit is contained in:
@@ -7,15 +7,13 @@ src = Split('''
|
||||
board.c
|
||||
heap.c
|
||||
drv_uart.c
|
||||
drv_io_config.c
|
||||
''')
|
||||
CPPPATH = [cwd]
|
||||
|
||||
if GetDepend('BSP_USING_LCD'):
|
||||
src += ['drv_lcd.c']
|
||||
|
||||
if GetDepend('RT_USING_PIN'):
|
||||
src += ['drv_gpio.c']
|
||||
|
||||
if GetDepend('RT_USING_HWTIMER'):
|
||||
src += ['drv_hw_timer.c']
|
||||
|
||||
@@ -31,9 +29,6 @@ if GetDepend('RT_USING_SPI'):
|
||||
if GetDepend('RT_USING_PWM'):
|
||||
src += ['drv_pwm.c']
|
||||
|
||||
if GetDepend('RT_USING_RTC'):
|
||||
src += ['drv_rtc.c']
|
||||
|
||||
if GetDepend('RT_USING_WDT'):
|
||||
src += ['drv_wdt.c']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user