Skip to content

Commit d974495

Browse files
committed
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 <buserror@gmail.com>
1 parent b6da236 commit d974495

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

simavr/cores/avr/sfr_defs.h

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/*
2+
STUB FILE FOR sfr_defs.h
3+
4+
Copyright 2008, 2009 Michel Pollet <buserror@gmail.com>
5+
6+
This file is part of simavr.
7+
8+
simavr is free software: you can redistribute it and/or modify
9+
it under the terms of the GNU General Public License as published by
10+
the Free Software Foundation, either version 3 of the License, or
11+
(at your option) any later version.
12+
13+
simavr is distributed in the hope that it will be useful,
14+
but WITHOUT ANY WARRANTY; without even the implied warranty of
15+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16+
GNU General Public License for more details.
17+
18+
You should have received a copy of the GNU General Public License
19+
along with simavr. If not, see <http://www.gnu.org/licenses/>.
20+
*/
21+
22+
/* STUB file, the orignal is included in two cores, and mess up compilation */
23+
24+
#ifndef _AVR_SFR_DEFS_H_
25+
#define _AVR_SFR_DEFS_H_ 1
26+
27+
#endif /* _SFR_DEFS_H_ */

0 commit comments

Comments
 (0)