From 67832e450930a48abced28cfab7e02d33e2a80eb Mon Sep 17 00:00:00 2001 From: zhuangwei Date: Thu, 9 Aug 2018 14:50:00 +0800 Subject: rename kconfig to Kconfig --- bsp/ls1cdev/Kconfig | 83 +++++++++++++++++++++++++++++++++++++++++++++++++++++ bsp/ls1cdev/kconfig | 83 ----------------------------------------------------- 2 files changed, 83 insertions(+), 83 deletions(-) create mode 100644 bsp/ls1cdev/Kconfig delete mode 100644 bsp/ls1cdev/kconfig (limited to 'bsp/ls1cdev') diff --git a/bsp/ls1cdev/Kconfig b/bsp/ls1cdev/Kconfig new file mode 100644 index 0000000000..23ecbb3190 --- /dev/null +++ b/bsp/ls1cdev/Kconfig @@ -0,0 +1,83 @@ +mainmenu "RT-Thread Configuration" + + +config $BSP_DIR + string + option env="BSP_ROOT" + default "." + +config $RTT_DIR + string + option env="RTT_ROOT" + default "../.." + +config $PKGS_DIR + string + option env="PKGS_ROOT" + default "packages" + +source "$RTT_DIR/Kconfig" +source "$PKGS_DIR/Kconfig" + +config RT_USING_SELF_BOOT + bool "Enable RT-Thread run without bootloader" + default n + +if RT_USING_SERIAL +config RT_USING_UART2 + bool "Using RT_USING_UART2" + default y + +config RT_UART_RX_BUFFER_SIZE + int "The rx buffer size" + default 64 if RT_USING_SERIAL + default 64 +endif + +config RT_USING_GMAC_INT_MODE + bool "Using RT_USING_GMAC_INT_MODE" + default y + +config RT_USING_FPU + bool "Using RT_USING_FPU" + default y + +config RT_USING_SPI0 + bool "Enable SPI0" + select RT_USING_SPI + default y + +config RT_USING_SPI1 + bool "Enable SPI1" + select RT_USING_SPI + default y + +if RT_USING_I2C +config RT_USING_I2C1 + bool "Enable I2C1" + default y + +config RT_USING_I2C2 + bool "Enable I2C2" + default y +endif + + +config USING_BXCAN0 + bool "Enable CAN0" + select RT_USING_CAN + default y + +config USING_BXCAN1 + bool "Enable CAN1" + select RT_USING_CAN + default y + +if RT_USING_CAN +config RT_CAN_USING_HDR + bool "Using RT_CAN_USING_HDR" + select RT_USING_CAN + default y +endif + + \ No newline at end of file diff --git a/bsp/ls1cdev/kconfig b/bsp/ls1cdev/kconfig deleted file mode 100644 index 23ecbb3190..0000000000 --- a/bsp/ls1cdev/kconfig +++ /dev/null @@ -1,83 +0,0 @@ -mainmenu "RT-Thread Configuration" - - -config $BSP_DIR - string - option env="BSP_ROOT" - default "." - -config $RTT_DIR - string - option env="RTT_ROOT" - default "../.." - -config $PKGS_DIR - string - option env="PKGS_ROOT" - default "packages" - -source "$RTT_DIR/Kconfig" -source "$PKGS_DIR/Kconfig" - -config RT_USING_SELF_BOOT - bool "Enable RT-Thread run without bootloader" - default n - -if RT_USING_SERIAL -config RT_USING_UART2 - bool "Using RT_USING_UART2" - default y - -config RT_UART_RX_BUFFER_SIZE - int "The rx buffer size" - default 64 if RT_USING_SERIAL - default 64 -endif - -config RT_USING_GMAC_INT_MODE - bool "Using RT_USING_GMAC_INT_MODE" - default y - -config RT_USING_FPU - bool "Using RT_USING_FPU" - default y - -config RT_USING_SPI0 - bool "Enable SPI0" - select RT_USING_SPI - default y - -config RT_USING_SPI1 - bool "Enable SPI1" - select RT_USING_SPI - default y - -if RT_USING_I2C -config RT_USING_I2C1 - bool "Enable I2C1" - default y - -config RT_USING_I2C2 - bool "Enable I2C2" - default y -endif - - -config USING_BXCAN0 - bool "Enable CAN0" - select RT_USING_CAN - default y - -config USING_BXCAN1 - bool "Enable CAN1" - select RT_USING_CAN - default y - -if RT_USING_CAN -config RT_CAN_USING_HDR - bool "Using RT_CAN_USING_HDR" - select RT_USING_CAN - default y -endif - - \ No newline at end of file -- cgit v1.3.1