new global_logger, used in AVR_LOG(), default is stdout/stderr
[simavr] / simavr / cores / sim_megaxm1.h
index e39bcb4..46c72fb 100644 (file)
@@ -63,7 +63,7 @@ struct mcu_t {
 #error SIM_MMCU is not declared
 #endif
 
-struct mcu_t SIM_CORENAME = {
+const struct mcu_t SIM_CORENAME = {
        .core = {
                .mmcu = SIM_MMCU,
                DEFAULT_CORE(SIM_VECTOR_SIZE),