2022-11-10 22:22:48 +08:00
|
|
|
menu "Board Configuration"
|
|
|
|
|
|
|
|
choice BUILD_TARGET_CHIP_TYPE
|
|
|
|
prompt "Chip"
|
|
|
|
default TARGET_E2000Q
|
|
|
|
help
|
|
|
|
Select chip type for build
|
|
|
|
|
|
|
|
config TARGET_F2000_4
|
|
|
|
bool "FT2000-4"
|
|
|
|
|
|
|
|
config TARGET_D2000
|
|
|
|
bool "D2000"
|
2023-05-11 10:25:21 +08:00
|
|
|
|
2022-11-10 22:22:48 +08:00
|
|
|
config TARGET_E2000Q
|
|
|
|
bool "E2000Q"
|
|
|
|
select TARGET_E2000
|
2023-05-11 10:25:21 +08:00
|
|
|
|
2022-11-10 22:22:48 +08:00
|
|
|
config TARGET_E2000D
|
|
|
|
bool "E2000D"
|
|
|
|
select TARGET_E2000
|
2023-05-11 10:25:21 +08:00
|
|
|
|
2022-11-10 22:22:48 +08:00
|
|
|
config TARGET_E2000S
|
|
|
|
bool "E2000S"
|
|
|
|
select TARGET_E2000
|
|
|
|
|
2023-05-11 10:25:21 +08:00
|
|
|
# config TARGET_TARDIGRADE
|
|
|
|
# bool "TARDIGRADE"
|
|
|
|
|
2022-11-10 22:22:48 +08:00
|
|
|
endchoice # BUILD_TARGET_CHIP_TYPE
|
|
|
|
|
|
|
|
# an invisible config to define common code of E2000 Q/D/S
|
|
|
|
config TARGET_E2000
|
|
|
|
bool
|
|
|
|
default y if TARGET_E2000Q || TARGET_E2000D || TARGET_E2000S
|
|
|
|
|
|
|
|
choice DEBUG_PRINT_UART
|
|
|
|
prompt "Select Debug uart instance"
|
|
|
|
default DEFAULT_DEBUG_PRINT_UART1
|
|
|
|
help
|
|
|
|
Select arch for build
|
|
|
|
config DEFAULT_DEBUG_PRINT_UART1
|
|
|
|
bool "Use uart1"
|
|
|
|
config DEFAULT_DEBUG_PRINT_UART0
|
|
|
|
bool "Use uart0"
|
|
|
|
config DEFAULT_DEBUG_PRINT_UART2
|
|
|
|
bool "Use uart2"
|
|
|
|
endchoice # DEBUG_PRINT_UART
|
2023-05-11 10:25:21 +08:00
|
|
|
|
2022-11-10 22:22:48 +08:00
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
|