Kconfig 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see the file kconfig-language.txt in the NuttX tools repository.
  4. #
  5. if ARCH_AVR
  6. choice
  7. prompt "Atmel AVR chip selection"
  8. default ARCH_CHIP_AT32UC3
  9. config ARCH_CHIP_ATMEGA
  10. bool "ATMega family"
  11. select ARCH_FAMILY_AVR
  12. select MM_SMALL
  13. ---help---
  14. Atmel ATMega family of 8-bit AVRs.
  15. config ARCH_CHIP_AT90USB
  16. bool "AT90USB family"
  17. select ARCH_FAMILY_AVR
  18. select MM_SMALL
  19. ---help---
  20. Atmel AT90USB family of 8-bit AVRs.
  21. config ARCH_CHIP_AT32UC3
  22. bool "AVR32 AT32UC3* family"
  23. select ARCH_FAMILY_AVR32
  24. ---help---
  25. Atmel AT32UC3A/B/C family of 32-bit AVR32s.
  26. config ARCH_CHIP_AVR_CUSTOM
  27. bool "Custom AVR chip"
  28. select ARCH_CHIP_CUSTOM
  29. ---help---
  30. Select this option if there is no directory for the chip under arch/avr/src/.
  31. endchoice
  32. config ARCH_FAMILY_AVR
  33. bool
  34. default n
  35. select ARCH_HAVE_STACKCHECK
  36. config ARCH_FAMILY_AVR32
  37. bool
  38. default n
  39. config ARCH_FAMILY
  40. string
  41. default "avr" if ARCH_FAMILY_AVR
  42. default "avr32" if ARCH_FAMILY_AVR32
  43. config ARCH_CHIP
  44. string
  45. default "atmega" if ARCH_CHIP_ATMEGA
  46. default "at90usb" if ARCH_CHIP_AT90USB
  47. default "at32uc3" if ARCH_CHIP_AT32UC3
  48. source arch/avr/src/common/Kconfig
  49. if ARCH_FAMILY_AVR
  50. source arch/avr/src/avr/Kconfig
  51. source arch/avr/src/at90usb/Kconfig
  52. source arch/avr/src/atmega/Kconfig
  53. endif
  54. if ARCH_FAMILY_AVR32
  55. source arch/avr/src/avr32/Kconfig
  56. source arch/avr/src/at32uc3/Kconfig
  57. endif
  58. endif # ARCH_AVR