forked from xuos/xiuos
test framework
This commit is contained in:
@@ -97,12 +97,22 @@ static struct io_config
|
||||
IOCONFIG(BSP_CH438_D6_PIN, HS_GPIO(FPIOA_CH438_D6)),
|
||||
IOCONFIG(BSP_CH438_D7_PIN, HS_GPIO(FPIOA_CH438_D7)),
|
||||
#endif
|
||||
|
||||
#ifdef BSP_USING_SOFT_SPI
|
||||
IOCONFIG(BSP_SOFT_SPI_SCK_PIN, HS_GPIO(FPIOA_SOFT_SPI_SCK)),
|
||||
IOCONFIG(BSP_SOFT_SPI_MIOS_PIN, HS_GPIO(FPIOA_SOFT_SPI_MIOS)),
|
||||
IOCONFIG(BSP_SOFT_SPI_MSOI_PIN, HS_GPIO(FPIOA_SOFT_SPI_MSOI)),
|
||||
IOCONFIG(BSP_SOFT_SPI_NCS_PIN, HS_GPIO(FPIOA_SOFT_SPI_NCS)),
|
||||
#endif
|
||||
|
||||
#ifdef BSP_USING_LED
|
||||
IOCONFIG(BSP_LED_PIN,FUNC_GPIO5);
|
||||
#endif
|
||||
|
||||
#ifdef BSP_USING_KEY
|
||||
IOCONFIG(BSP_KEY_PIN,FUNC_GPIO6);
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
static int PrintIoConfig()
|
||||
|
||||
@@ -38,10 +38,6 @@ if BSP_USING_SOFT_SPI
|
||||
config SOFT_SPI_CLK_DELAY
|
||||
int "clk in microsecond"
|
||||
default 0
|
||||
|
||||
config SOFT_SPI_READ_DELAY
|
||||
int "read after millisecond"
|
||||
default 1
|
||||
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user