From: Michel Pollet Date: Mon, 21 Dec 2009 08:18:43 +0000 (+0000) Subject: cores: Disable signatures to help compile on ubuntu X-Git-Tag: v1.0a1~35 X-Git-Url: https://git.htl-mechatronik.at/public/?a=commitdiff_plain;h=32fc69660340c9251403ba07f7968265f3a0d20f;p=sx%2Fsimavr.git cores: Disable signatures to help compile on ubuntu 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 --- diff --git a/simavr/cores/sim_core_declare.h b/simavr/cores/sim_core_declare.h index 4394c89..fcbc145 100644 --- a/simavr/cores/sim_core_declare.h +++ b/simavr/cores/sim_core_declare.h @@ -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__ */ diff --git a/simavr/cores/sim_tiny13.c b/simavr/cores/sim_tiny13.c index 3cad3ad..b4d2148 100644 --- a/simavr/cores/sim_tiny13.c +++ b/simavr/cores/sim_tiny13.c @@ -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,