From d974495a734a5bb5b864974e7aadca8cf32f85fc Mon Sep 17 00:00:00 2001 From: Michel Pollet Date: Wed, 2 Aug 2017 11:04:55 +0100 Subject: [PATCH] Add a stub sfr_defs.h Some avrlibc cores include that file, that define macros and so on. We don't need/want that as we already have macros for stuff Signed-off-by: Michel Pollet --- simavr/cores/avr/sfr_defs.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 simavr/cores/avr/sfr_defs.h diff --git a/simavr/cores/avr/sfr_defs.h b/simavr/cores/avr/sfr_defs.h new file mode 100644 index 0000000..74d662e --- /dev/null +++ b/simavr/cores/avr/sfr_defs.h @@ -0,0 +1,27 @@ +/* + STUB FILE FOR sfr_defs.h + + Copyright 2008, 2009 Michel Pollet + + This file is part of simavr. + + simavr is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + simavr is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with simavr. If not, see . + */ + +/* STUB file, the orignal is included in two cores, and mess up compilation */ + +#ifndef _AVR_SFR_DEFS_H_ +#define _AVR_SFR_DEFS_H_ 1 + +#endif /* _SFR_DEFS_H_ */ -- 2.39.5