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" config TARGET_E2000Q bool "E2000Q" select TARGET_E2000 config TARGET_E2000D bool "E2000D" select TARGET_E2000 config TARGET_E2000S bool "E2000S" select TARGET_E2000 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 endmenu