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:
f4d2478
)
Commit
dfd97a7a7d9f8d1de1716f84174212c3760493e4
author
Max Schwarz
<max.schwarz@online.de>
Thu, 5 Feb 2015 22:26:45 +0000
(23:26 +0100)
committer
Max Schwarz
<max.schwarz@online.de>
Fri, 6 Feb 2015 00:06:04 +0000
(
01:06
+0100)
ATmega2560 has UDR0 at 0x136 = 310
simavr/sim/sim_avr.h
patch
|
blob
|
history
|
download
diff --git
a/simavr/sim/sim_avr.h
b/simavr/sim/sim_avr.h
index 7a93b4dfb436521a4a4272c965e1bb3f4a70327f..1366cb5a0460a2009ef1216b3f60a88ae757bb4c 100644
(file)
--- a/
simavr/sim/sim_avr.h
+++ b/
simavr/sim/sim_avr.h
@@
-55,7
+55,7
@@
enum {
R_SREG = 32+0x3f,
// maximum number of IO registers, on normal AVRs
- MAX_IOs = 2
79
, // Bigger AVRs need more than 256-32 (mega1280)
+ MAX_IOs = 2
80
, // Bigger AVRs need more than 256-32 (mega1280)
};
#define AVR_DATA_TO_IO(v) ((v) - 32)