summaryrefslogtreecommitdiff
path: root/config/arch
diff options
context:
space:
mode:
authorErico Nunes <nunes.erico@gmail.com>2015-06-21 23:49:10 (GMT)
committerErico Nunes <nunes.erico@gmail.com>2015-06-21 23:49:10 (GMT)
commit230dc12285842a51e0a2a95137ae4eae675b97d3 (patch)
tree6c5f15cb38635916cd4e6cfe65d533b88742cd46 /config/arch
parentbaceedd23903353477617f0b3e1f71cdbb4b3674 (diff)
avr: add support for AVR 8-bit architecture
This commit adds support for the Atmel AVR 8-bit RISC architecture. This is the first 8-bit architecture to be added to crosstool-ng so the configuration options for 8-bit architectures are added here as well. gcc has had support for AVR for quite a while, at least since the 4.3 series for the currently popular ATmega microcontroler series. The AVR architecture only supports bare-metal toolchains. gcc for the AVR 8-bit architecture, usually referred to as avr-gcc, is commonly used in conjunction with the avr-libc library which provides additional resources for the Atmel AVR 8-bit microcontrollers. avr-gcc can also be found as a supported package in some recent Linux distributions. This commit also closes #66 Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Diffstat (limited to 'config/arch')
-rw-r--r--config/arch/avr.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/config/arch/avr.in b/config/arch/avr.in
new file mode 100644
index 0000000..cf8e9af
--- /dev/null
+++ b/config/arch/avr.in
@@ -0,0 +1,8 @@
+# AVR specific config options
+
+## select ARCH_SUPPORTS_8
+## select ARCH_DEFAULT_8
+## select ARCH_REQUIRES_MULTILIB
+##
+## help The 8-bit AVR architecture, as defined by:
+## help http://www.atmel.com/products/microcontrollers/avr