openbsd-ports/devel/avr/binutils/patches/patch-ld_emulparams_avrxmega3_sh
ckuethe ebcb40e5e1 Update to the latest AVR gcc, binutils, libc and gdb. Based on the FreeBSD
port, which is also in sync with winavr/avrstudio. Among other things, this
adds support for atmega328... which means new arduino boards should work.
2010-06-27 20:58:10 +00:00

17 lines
420 B
Plaintext

$OpenBSD: patch-ld_emulparams_avrxmega3_sh,v 1.3 2010/06/27 20:58:10 ckuethe Exp $
--- ld/emulparams/avrxmega3.sh.orig Sat Jun 26 11:31:17 2010
+++ ld/emulparams/avrxmega3.sh Sat Jun 26 11:31:17 2010
@@ -0,0 +1,12 @@
+ARCH=avr:103
+MACHINE=
+SCRIPT_NAME=avr
+OUTPUT_FORMAT="elf32-avr"
+MAXPAGESIZE=1
+EMBEDDED=yes
+TEMPLATE_NAME=elf32
+
+TEXT_LENGTH=1024K
+DATA_ORIGIN=0x802000
+DATA_LENGTH=0xffa0
+EXTRA_EM_FILE=avrelf