support control json file

This commit is contained in:
wlyu
2022-03-17 15:33:37 +08:00
parent 52bf15ecac
commit 4843ff9e61
42 changed files with 2857 additions and 346 deletions
@@ -22,7 +22,7 @@ menuconfig BSP_USING_GPIO
menuconfig BSP_USING_I2C
bool "Using I2C device"
default y
default n
select RESOURCES_I2C
if BSP_USING_I2C
@@ -31,7 +31,7 @@ menuconfig BSP_USING_I2C
menuconfig BSP_USING_ADC
bool "Using ADC device"
default y
default n
select RESOURCES_ADC
if BSP_USING_ADC
@@ -40,7 +40,7 @@ menuconfig BSP_USING_ADC
menuconfig BSP_USING_SPI
bool "Using SPI device"
default y
default n
select RESOURCES_SPI
if BSP_USING_SPI
@@ -1,3 +1,7 @@
SRC_FILES := fsl_lpspi.c connect_spi.c connect_flash_spi.c
SRC_FILES := fsl_lpspi.c connect_spi.c
ifeq ($(CONFIG_RESOURCES_SPI_SFUD),y)
SRC_FILES += connect_flash_spi.c
endif
include $(KERNEL_ROOT)/compiler.mk