]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/zinc/config.h
Remove more commented out MCUs
[qmk_firmware.git] / keyboards / zinc / config.h
1 /*
2 Copyright 2012 Jun Wako <wakojun@gmail.com>
3 Copyright 2015 Jack Humbert
4
5 This program is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 2 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program.  If not, see <http://www.gnu.org/licenses/>.
17 */
18
19 #pragma once
20 //#ifndef CONFIG_H
21 //#define CONFIG_H
22
23 #include "config_common.h"
24
25 // GCC include 'config.h" sequence in qmk_firmware/keyboards/zinc/
26 //   -include keyboards/zinc/config.h
27 //   -include keyboards/zinc/rev?/config.h
28 //   -include keyboards/zinc/rev?/keymaps/MAPNAME/config.h
29 //   XXXX.c
30
31 #include <serial_config.h>
32
33 // GCC include search path in qmk_firmare/keyboards/zinc/
34 //    #include "..." search starts here:
35 //    #include <...> search starts here:
36 //     keyboards/zinc/rev?/keymaps/MAPNAME
37 //     keyboards/zinc
38 //     keyboards/zinc/rev?
39 //     .
40 //     ./tmk_core
41 //     ......
42
43 #ifdef USE_Link_Time_Optimization
44   // LTO has issues with macros (action_get_macro) and "functions" (fn_actions),
45   //  so just disable them
46   #define NO_ACTION_MACRO
47   #define NO_ACTION_FUNCTION
48 #endif // USE_Link_Time_Optimization
49
50 //#endif /* CONFIG_H */