From 32fc69660340c9251403ba07f7968265f3a0d20f Mon Sep 17 00:00:00 2001 From: Michel Pollet Date: Mon, 21 Dec 2009 08:18:43 +0000 Subject: [PATCH] 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 --- simavr/cores/sim_core_declare.h | 4 ++-- simavr/cores/sim_tiny13.c | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) 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, -- 2.39.5