2017-10-26 15:39:32 +08:00
|
|
|
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"
|
|
|
|
|
2017-11-30 20:12:53 +08:00
|
|
|
source "$RTT_DIR/Kconfig"
|
|
|
|
source "$PKGS_DIR/Kconfig"
|
2017-10-26 15:39:32 +08:00
|
|
|
|
2017-12-15 17:31:07 +08:00
|
|
|
config SOC_IMXRT1052
|
|
|
|
bool
|
2017-12-15 14:41:03 +08:00
|
|
|
select ARCH_ARM_CORTEX_M7
|
|
|
|
default y
|
|
|
|
|
2018-03-16 17:03:20 +08:00
|
|
|
if RT_USING_SERIAL
|
2017-10-26 15:39:32 +08:00
|
|
|
config RT_USING_UART1
|
|
|
|
bool "Using RT_USING_UART1"
|
2018-03-16 17:03:20 +08:00
|
|
|
default y
|
2017-10-26 15:39:32 +08:00
|
|
|
endif
|
2018-03-16 17:03:20 +08:00
|
|
|
|
|
|
|
if RT_USING_RTC
|
|
|
|
config RT_USING_HP_RTC
|
|
|
|
bool "Using RT_USING_HP_RTC"
|
|
|
|
default n
|
|
|
|
endif
|
|
|
|
|
2018-03-23 09:36:54 +08:00
|
|
|
if RT_USING_USB_DEVICE
|
|
|
|
choice
|
|
|
|
prompt "select usb device controller"
|
|
|
|
default RT_USING_EHCI0_AS_DEVICE
|
|
|
|
|
|
|
|
config RT_USING_EHCI0_AS_DEVICE
|
|
|
|
bool "set EHCI0 as device"
|
|
|
|
config RT_USING_EHCI1_AS_DEVICE
|
|
|
|
bool "set EHCI1 as device"
|
|
|
|
endchoice
|
|
|
|
endif
|
|
|
|
|
|
|
|
|