mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-20 17:44:20 +08:00
[bsp][lpc54114] 修复drv_gpio.c drv_romfs.c驱动未被默认编译的问题.
This commit is contained in:
@@ -5,6 +5,7 @@ cwd = GetCurrentDir()
|
||||
src = Split("""
|
||||
board.c
|
||||
clock_config.c
|
||||
drv_gpio.c
|
||||
""")
|
||||
|
||||
CPPPATH = [cwd]
|
||||
@@ -19,6 +20,9 @@ if GetDepend('BSP_USING_SPI2'):
|
||||
if GetDepend('BSP_USING_I2C4'):
|
||||
src = src + ['drv_i2c.c']
|
||||
|
||||
if GetDepend('BSP_USING_ROMFS'):
|
||||
src = src + ['drv_romfs.c']
|
||||
|
||||
if GetDepend('BSP_USING_SDCARD'):
|
||||
src = src + ['drv_sdcard.c']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user