cores: Disable signatures to help compile on ubuntu
authorMichel Pollet <buserror@gmail.com>
Mon, 21 Dec 2009 08:18:43 +0000 (08:18 +0000)
committerMichel Pollet <buserror@gmail.com>
Mon, 21 Dec 2009 08:18:43 +0000 (08:18 +0000)
Ubuntu and gento uses old avr toolchain, that lacks
the SIGNATURE defines.
So I disabled it in simavr, it was not used for
anything functional for now anyway

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

index 4394c89..fcbc145 100644 (file)
@@ -38,8 +38,8 @@
        .flashend = FLASHEND, \
        .e2end = E2END, \
        .vector_size = _vector_size, \
-       .signature = { SIGNATURE_0,SIGNATURE_1,SIGNATURE_2 }, \
        .fuse = { LFUSE_DEFAULT, HFUSE_DEFAULT, EFUSE_DEFAULT }
-
+// Disable signature for now, for ubuntu, gentoo and other using old avr toolchain
+//     .signature = { SIGNATURE_0,SIGNATURE_1,SIGNATURE_2 }, 
 
 #endif /* __SIM_CORE_DECLARE_H__ */
index 3cad3ad..b4d2148 100644 (file)
@@ -51,7 +51,8 @@ static struct mcu_t {
                .flashend = FLASHEND,
                .e2end = E2END,
                .vector_size = 2,
-               .signature = { SIGNATURE_0,SIGNATURE_1,SIGNATURE_2 },
+// Disable signature for now, for ubuntu, gentoo and other using old avr toolchain
+//             .signature = { SIGNATURE_0,SIGNATURE_1,SIGNATURE_2 }, 
                .fuse = { LFUSE_DEFAULT, HFUSE_DEFAULT },
 
                .init = init,