Keyboard: Helix five_rows keymap reduced size (#4082)
[jackhill/qmk/firmware.git] / keyboards / helix / 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 #ifndef CONFIG_H
20 #define CONFIG_H
21
22 #include "config_common.h"
23
24 // GCC include 'config.h" sequence in qmk_firmware/keyboards/helix/
25 // -include keyboards/helix/config.h
26 // -include keyboards/helix/rev?/config.h
27 // -include keyboards/helix/rev?/keymaps/MAPNAME/config.h
28 // XXXX.c
29
30 #include <serial_config.h>
31
32 // GCC include search path in qmk_firmare/keyboards/helix/
33 // #include "..." search starts here:
34 // #include <...> search starts here:
35 // keyboards/helix/rev?/keymaps/MAPNAME
36 // keyboards/helix
37 // keyboards/helix/rev?
38 // .
39 // ./tmk_core
40 // ......
41
42 #ifdef USE_Link_Time_Optimization
43 // LTO has issues with macros (action_get_macro) and "functions" (fn_actions),
44 // so just disable them
45 #define NO_ACTION_MACRO
46 #define NO_ACTION_FUNCTION
47
48 #define DISABLE_LEADER
49 #endif // USE_Link_Time_Optimization
50
51 #endif /* CONFIG_H */