diff options
author | Erico Nunes <nunes.erico@gmail.com> | 2015-06-21 20:53:18 -0300 |
---|---|---|
committer | Erico Nunes <nunes.erico@gmail.com> | 2015-06-21 20:53:18 -0300 |
commit | 6da2fde11eca8be4a11cfea2e44a4b1f4902ff74 (patch) | |
tree | 37058eb07bdd85d00d684aec0f92dfacbb7c702e /samples/avr | |
parent | b8e64a0c08ea2c3b2940d8e7154970f0dc610ed5 (diff) | |
download | crosstool-ng-6da2fde11eca8be4a11cfea2e44a4b1f4902ff74.tar.gz crosstool-ng-6da2fde11eca8be4a11cfea2e44a4b1f4902ff74.tar.bz2 crosstool-ng-6da2fde11eca8be4a11cfea2e44a4b1f4902ff74.zip |
avr: add avr toolchain config sample
The avr-libc manual and most distributions build the AVR 8-bit gcc
toolchain with the "avr" (non-canonical) target.
Some experimentation also led to the conclusion that other (canonical)
targets are not very well supported, so we force the "avr" target for
crosstool-ng as well.
Some patches are required in avr-libc for a toolchain with gcc 5.x to
work. These patches are still not part of any avr-libc release version,
so the config sample currently forces 4.9.x to avoid requiring to clone
avr-libc trunk.
References:
https://savannah.nongnu.org/bugs/?44574
https://gcc.gnu.org/gcc-5/changes.html
Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Diffstat (limited to 'samples/avr')
-rw-r--r-- | samples/avr/crosstool.config | 4 | ||||
-rw-r--r-- | samples/avr/reported.by | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/samples/avr/crosstool.config b/samples/avr/crosstool.config new file mode 100644 index 00000000..6aa2001a --- /dev/null +++ b/samples/avr/crosstool.config @@ -0,0 +1,4 @@ +CT_ARCH_avr=y +CT_CC_GCC_V_4_9_2=y +CT_DEBUG_gdb=y +CT_ISL_V_0_12_2=y diff --git a/samples/avr/reported.by b/samples/avr/reported.by new file mode 100644 index 00000000..512ed205 --- /dev/null +++ b/samples/avr/reported.by @@ -0,0 +1,3 @@ +reporter_name="Erico Nunes" +reporter_url="https://github.com/enunes" +reporter_comment="EXPERIMENTAL AVR 8-bit toolchain" |