Commit 7c7d707f1092924c52719dcaeacc595449d24268
authorMichel Pollet <buserror@gmail.com>
Mon, 14 Nov 2016 08:38:11 +0000 (08:38 +0000)
committerMichel Pollet <buserror@gmail.com>
Mon, 14 Nov 2016 08:39:31 +0000 (08:39 +0000)
That was missing, fixes Issue #186

Signed-off-by: Michel Pollet <buserror@gmail.com>
simavr/cores/sim_megax4.h

index c1b59ecd492a3d1d9c8cb01a7554511d56f5c811..9a22b8531e0b13f82ecf8b0c38a0aad168072aa3 100644 (file)
@@ -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),