summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-08-08 20:15:25 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-08-08 20:15:25 (GMT)
commit424f64c4878b3667f6fdf684b4b0db04a2239215 (patch)
tree76ffba8cc254cb5557a819966f29805b2e9bd576 /config
parentc57a08f7bc2b0112e85ab196c4f33ac9563425a0 (diff)
parentbfe21badf86bf69e42a2f29be734df45da57cd80 (diff)
Merge the AVR32 support branch to the default branch.
Diffstat (limited to 'config')
-rw-r--r--config/arch/avr32.in13
-rw-r--r--config/libc.in1
-rw-r--r--config/libc/newlib.in42
3 files changed, 56 insertions, 0 deletions
diff --git a/config/arch/avr32.in b/config/arch/avr32.in
new file mode 100644
index 0000000..63916da
--- /dev/null
+++ b/config/arch/avr32.in
@@ -0,0 +1,13 @@
+# AVR32 specific configuration file
+# depends on EXPERIMENTAL
+
+config ARCH_avr32
+ select ARCH_USE_MMU
+ select ARCH_DEFAULT_BE
+ select ARCH_SUPPORT_ARCH
+ select ARCH_SUPPORT_CPU
+ select ARCH_SUPPORT_TUNE
+ select ARCH_SUPPORT_FPU
+ help
+ The AVR32 architecture, as defined by:
+ http://www.atmel.com/products/avr32
diff --git a/config/libc.in b/config/libc.in
index ce1e2cc..30e39e5 100644
--- a/config/libc.in
+++ b/config/libc.in
@@ -2,6 +2,7 @@
config LIBC
string
+ default "newlib" if BARE_METAL && ARCH_avr32 && EXPERIMENTAL
default "none" if BARE_METAL
menu "C-library"
diff --git a/config/libc/newlib.in b/config/libc/newlib.in
new file mode 100644
index 0000000..c4b9e08
--- /dev/null
+++ b/config/libc/newlib.in
@@ -0,0 +1,42 @@
+# newlib options
+# depends on EXPERIMENTAL
+
+config LIBC_newlib
+ help
+ Newlib is a C library intended for use on embedded systems. It is a
+ conglomeration of several library parts, all under free software
+ licenses that make them easily usable on embedded products. Newlib
+ is only available in source form. It can be compiled for a wide
+ array of processors, and will usually work on any architecture with
+ the addition of a few low-level routines.
+
+choice
+ bool
+ prompt "newlib version"
+
+config NEWLIB_V_1_17_0
+ bool
+ prompt "1.17.0"
+
+# CT_INSERT_VERSION_ABOVE
+# Don't remove above line!
+
+endchoice
+
+config LIBC_VERSION
+ string
+ default "1.17.0" if NEWLIB_V_1_17_0
+
+# CT_INSERT_VERSION_STRING_ABOVE
+# Don't remove above line!
+
+config ATMEL_AVR32_HEADERS
+ bool
+ prompt "Install Atmel AVR32 headers"
+ default y
+ help
+ Install Atmel AVR32 headers for native AVR32 development. Most
+ AVR32 MCU devices are supported.
+
+ If you do native AVR32 development you want to say 'Y' here.
+