Kconfig 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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_AT32UC3B0256
  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. endchoice
  27. config ARCH_FAMILY_AVR
  28. bool
  29. default n
  30. select ARCH_HAVE_STACKCHECK
  31. config ARCH_FAMILY_AVR32
  32. bool
  33. default n
  34. config ARCH_FAMILY
  35. string
  36. default "avr" if ARCH_FAMILY_AVR
  37. default "avr32" if ARCH_FAMILY_AVR32
  38. config ARCH_CHIP
  39. string
  40. default "atmega" if ARCH_CHIP_ATMEGA
  41. default "at90usb" if ARCH_CHIP_AT90USB
  42. default "at32uc3" if ARCH_CHIP_AT32UC3
  43. source arch/avr/src/common/Kconfig
  44. if ARCH_FAMILY_AVR
  45. source arch/avr/src/avr/Kconfig
  46. source arch/avr/src/at90usb/Kconfig
  47. source arch/avr/src/atmega/Kconfig
  48. endif
  49. if ARCH_FAMILY_AVR32
  50. source arch/avr/src/avr32/Kconfig
  51. source arch/avr/src/at32uc3/Kconfig
  52. endif
  53. endif # ARCH_AVR