提交 fc0d4e72 编写于 作者: 流光

[bsp][lpc54114] 修复drv_gpio.c drv_romfs.c驱动未被默认编译的问题.

上级 d00ef3b1
......@@ -19,6 +19,12 @@ menu "LPC54110 Bsp Config"
default y
endmenu
config BSP_USING_ROMFS
bool "Enable ROMFS"
select RT_USING_DFS
select RT_USING_DFS_ROMFS
default y
config BSP_USING_SDCARD
bool "Enable SDCARD"
select BSP_USING_SPI2
......
......@@ -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']
......
此差异已折叠。
......@@ -407,6 +407,11 @@
<FileType>1</FileType>
<FilePath>drivers\clock_config.c</FilePath>
</File>
<File>
<FileName>drv_gpio.c</FileName>
<FileType>1</FileType>
<FilePath>drivers\drv_gpio.c</FilePath>
</File>
<File>
<FileName>drv_uart.c</FileName>
<FileType>1</FileType>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册