projects
/
sx
/
simavr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
regExp
home
|
summary
|
tags
|
heads
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
raw
|
patch
| inline |
side by side
(parent:
8e4434c
)
Commit
2fcc8cad6c1b9170df90e0e6463d9f77b263ecf5
author
Michel
<michel@acer.vidiactive.com>
Wed, 10 Mar 2010 18:05:42 +0000
(18:05 +0000)
committer
Michel
<michel@acer.vidiactive.com>
Wed, 10 Mar 2010 18:05:42 +0000
(18:05 +0000)
Added some constants for the addresses used by gcc
to link the flash and eeprom data.
Signed-off-by: Michel Pollet <buserror@gmail.com>
simavr/sim/sim_elf.h
patch
|
blob
|
history
|
download
diff --git
a/simavr/sim/sim_elf.h
b/simavr/sim/sim_elf.h
index 172b1c5ef4f23eb4404155fcfb976dbb20f247ba..085193a99c9ae53299d602be805f136c29cc1c42 100644
(file)
--- a/
simavr/sim/sim_elf.h
+++ b/
simavr/sim/sim_elf.h
@@
-28,6
+28,12
@@
#define ELF_SYMBOLS 1
#endif
+/* these are the addresses the gnu linker uses to
+ * "fake" a non-harward addressign space for the AVR
+ */
+#define AVR_SEGMENT_OFFSET_FLASH 0
+#define AVR_SEGMENT_OFFSET_EEPROM 0x00810000
+
#include "sim_avr.h"
typedef struct elf_firmware_t {