summaryrefslogtreecommitdiff
path: root/nuttx/arch/avr/Kconfig
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-23 14:13:57 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-23 14:13:57 +0000
commit302877eafc373d8ae61d7ecc66f17968d4e1e643 (patch)
treeea307eb5f1582a00a29acfdb8e9b8e2dd32b62b6 /nuttx/arch/avr/Kconfig
parent5d8459bbc994e69d80127776d82faa185ae42f9c (diff)
downloadpx4-nuttx-302877eafc373d8ae61d7ecc66f17968d4e1e643.tar.gz
px4-nuttx-302877eafc373d8ae61d7ecc66f17968d4e1e643.tar.bz2
px4-nuttx-302877eafc373d8ae61d7ecc66f17968d4e1e643.zip
Add common Toolchain.defs for AVR/AVR32; Add Toolchain.defs for ARM; Add more toolchain options (from Mike); incdir.sh and .bat now take -s option
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5384 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/avr/Kconfig')
-rw-r--r--nuttx/arch/avr/Kconfig42
1 files changed, 5 insertions, 37 deletions
diff --git a/nuttx/arch/avr/Kconfig b/nuttx/arch/avr/Kconfig
index 4ebd26d5f..41b6c72d3 100644
--- a/nuttx/arch/avr/Kconfig
+++ b/nuttx/arch/avr/Kconfig
@@ -6,43 +6,6 @@
if ARCH_AVR
choice
- prompt "Toolchain"
- default AVR_BUILDROOT
-
-config AVR_WINAVR
- bool "WinAVR"
- ---help---
- For Cygwin development environment on Windows machines, you
- can use WinAVR: http://sourceforge.net/projects/winavr/files/
-
- It is assumed in some places that WinAVR is installed at
- C:/WinAVR. Edit the setenv.sh file if this is not the case.
-
- WARNING: There is an incompatible version of cygwin.dll in
- the WinAVR/bin directory! Make sure that the path to the
- correct cygwin.dll file precedes the path to the WinAVR
- binaries!
-
-config AVR_LINUXGCC
- bool "Linux GCC"
- ---help---
- For Linux, there are widely available avr-gcc packages. On
- Ubuntu, use: sudo apt-get install gcc-avr gdb-avr avr-libc
-
-config AVR_BUILDROOT
- bool "Buildroot"
- ---help---
- There is a DIY buildroot version for the AVR boards here:
- http://sourceforge.net/projects/nuttx/files/buildroot/. See
- the following section for details on building this toolchain.
-
- It is assumed in some places that buildroot toolchain is
- available at ../misc/buildroot/build_avr. Edit the setenv.sh
- file if this is not the case.
-
-endchoice
-
-choice
prompt "Atmel AVR chip selection"
default ARCH_CHIP_AT32UC3B0256
@@ -110,11 +73,16 @@ config ARCH_CHIP
default "at32uc3" if ARCH_AT32UC3
source arch/avr/src/common/Kconfig
+
+if ARCH_FAMILY_AVR
source arch/avr/src/avr/Kconfig
source arch/avr/src/at90usb/Kconfig
source arch/avr/src/atmega/Kconfig
+endif
+if ARCH_FAMILY_AVR32
source arch/avr/src/avr32/Kconfig
source arch/avr/src/at32uc3/Kconfig
+endif
config AVR_USART0
bool "USART0 specific serial device driver settings"