From 69ade71a1c2ccc5b220045d44f6f3f58254886d8 Mon Sep 17 00:00:00 2001 From: Michel Pollet Date: Tue, 4 Mar 2014 08:54:10 +0000 Subject: [PATCH] cores: Fix mega2560 Added EIND, as per nnayo's. Also renamed the file to match the other cores Signed-off-by: Michel Pollet --- simavr/cores/{sim_atmega2560.c => sim_mega2560.c} | 1 + 1 file changed, 1 insertion(+) rename simavr/cores/{sim_atmega2560.c => sim_mega2560.c} (99%) diff --git a/simavr/cores/sim_atmega2560.c b/simavr/cores/sim_mega2560.c similarity index 99% rename from simavr/cores/sim_atmega2560.c rename to simavr/cores/sim_mega2560.c index 5897be2..4455bfe 100644 --- a/simavr/cores/sim_atmega2560.c +++ b/simavr/cores/sim_mega2560.c @@ -68,6 +68,7 @@ const struct mcu_t { .reset = m2560_reset, .rampz = RAMPZ, // extended program memory access + .eind = EIND, // extended index register }, AVR_EEPROM_DECLARE(EE_READY_vect), AVR_SELFPROG_DECLARE(SPMCSR, SPMEN, SPM_READY_vect), -- 2.39.5