Commit d974495a734a5bb5b864974e7aadca8cf32f85fc
authorMichel Pollet <buserror@gmail.com>
Wed, 2 Aug 2017 10:04:55 +0000 (11:04 +0100)
committerMichel Pollet <buserror@gmail.com>
Wed, 2 Aug 2017 10:04:55 +0000 (11:04 +0100)
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 <buserror@gmail.com>
simavr/cores/avr/sfr_defs.h [new file with mode: 0644]

diff --git a/simavr/cores/avr/sfr_defs.h b/simavr/cores/avr/sfr_defs.h
new file mode 100644 (file)
index 0000000..74d662e
--- /dev/null
@@ -0,0 +1,27 @@
+/*
+       STUB FILE FOR sfr_defs.h
+
+       Copyright 2008, 2009 Michel Pollet <buserror@gmail.com>
+
+       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 <http://www.gnu.org/licenses/>.
+ */
+
+/* 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_ */