From: Michel Pollet Date: Mon, 14 Nov 2016 08:38:11 +0000 (+0000) Subject: cores: Add RAMPZ for the 1284p core X-Git-Tag: v1.4~2 X-Git-Url: https://git.htl-mechatronik.at/public/?a=commitdiff_plain;h=7c7d707f1092924c52719dcaeacc595449d24268;p=sx%2Fsimavr.git cores: Add RAMPZ for the 1284p core That was missing, fixes Issue #186 Signed-off-by: Michel Pollet --- diff --git a/simavr/cores/sim_megax4.h b/simavr/cores/sim_megax4.h index c1b59ec..9a22b85 100644 --- a/simavr/cores/sim_megax4.h +++ b/simavr/cores/sim_megax4.h @@ -79,6 +79,9 @@ const struct mcu_t SIM_CORENAME = { .init = mx4_init, .reset = mx4_reset, +#ifdef RAMPZ /* for 1284p */ + .rampz = RAMPZ, // extended program memory access +#endif }, AVR_EEPROM_DECLARE(EE_READY_vect), AVR_SELFPROG_DECLARE(SPMCSR, SPMEN, SPM_READY_vect),