summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMartin Lund" <mgl@doredevelopment.dk>2009-05-22 14:46:18 (GMT)
committerMartin Lund" <mgl@doredevelopment.dk>2009-05-22 14:46:18 (GMT)
commita94b87075666680ca0285cd67efc253a5089756f (patch)
treebe807969719bedc90975851175e8759804d6a9a2 /config
parent7c893bce09f49acab08a2795ff36c066e5ed44fd (diff)
Added initial AVR32 support (bare-metal,newlib)
Diffstat (limited to 'config')
-rw-r--r--config/arch/avr32.in13
-rw-r--r--config/libc.in6
-rw-r--r--config/libc/newlib.in31
3 files changed, 49 insertions, 1 deletions
diff --git a/config/arch/avr32.in b/config/arch/avr32.in
new file mode 100644
index 0000000..2965828
--- /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
+ help
+ The AVR32 architecture, as defined by:
+ http://www.atmel.com/products/avr32
+
+config ARCH_AVR32
+ string
+ default "avr32"
diff --git a/config/libc.in b/config/libc.in
index ce1e2cc..a10b942 100644
--- a/config/libc.in
+++ b/config/libc.in
@@ -2,7 +2,11 @@
config LIBC
string
- default "none" if BARE_METAL
+# default "none" if BARE_METAL
+ default "newlib" if EXPERIMENTAL
+
+# FIXME: toolchain can be BARE_METAL (no OS) but have OS independent LIBC (eg. newlib)
+# new combinations needed
menu "C-library"
diff --git a/config/libc/newlib.in b/config/libc/newlib.in
new file mode 100644
index 0000000..e674cdd
--- /dev/null
+++ b/config/libc/newlib.in
@@ -0,0 +1,31 @@
+# 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!