Kconfig 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. menu "Board Configuration"
  2. choice BUILD_TARGET_CHIP_TYPE
  3. prompt "Chip"
  4. default TARGET_E2000Q
  5. help
  6. Select chip type for build
  7. config TARGET_F2000_4
  8. bool "FT2000-4"
  9. config TARGET_D2000
  10. bool "D2000"
  11. config TARGET_E2000Q
  12. bool "E2000Q"
  13. select TARGET_E2000
  14. config TARGET_E2000D
  15. bool "E2000D"
  16. select TARGET_E2000
  17. config TARGET_E2000S
  18. bool "E2000S"
  19. select TARGET_E2000
  20. endchoice # BUILD_TARGET_CHIP_TYPE
  21. # an invisible config to define common code of E2000 Q/D/S
  22. config TARGET_E2000
  23. bool
  24. default y if TARGET_E2000Q || TARGET_E2000D || TARGET_E2000S
  25. choice DEBUG_PRINT_UART
  26. prompt "Select Debug uart instance"
  27. default DEFAULT_DEBUG_PRINT_UART1
  28. help
  29. Select arch for build
  30. config DEFAULT_DEBUG_PRINT_UART1
  31. bool "Use uart1"
  32. config DEFAULT_DEBUG_PRINT_UART0
  33. bool "Use uart0"
  34. config DEFAULT_DEBUG_PRINT_UART2
  35. bool "Use uart2"
  36. endchoice # DEBUG_PRINT_UART
  37. endmenu