Remove no-longer-necessary LTO checks from keyboards' config.h files (#8773)
* Remove no-longer-necessary LTO checks from keyboards' config.h files * Remove unnecessary LTO check in @danielo515's Ergodox EZ keymap * Remove unnecessary USE_Link_Time_Optimization checks from keyboards' config.h files Note: DISABLE_LEADER doesn't seem to be used anywhere
This commit is contained in:
parent
33bf4863f5
commit
2d39a9dcdb
@ -105,10 +105,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
//#define NO_ACTION_ONESHOT
|
//#define NO_ACTION_ONESHOT
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
#define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
#define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
/*
|
/*
|
||||||
* MIDI options
|
* MIDI options
|
||||||
*/
|
*/
|
||||||
|
@ -165,10 +165,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
//#define NO_ACTION_ONESHOT
|
//#define NO_ACTION_ONESHOT
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
#define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
#define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Bootmagic Lite key configuration */
|
/* Bootmagic Lite key configuration */
|
||||||
// #define BOOTMAGIC_LITE_ROW 0
|
// #define BOOTMAGIC_LITE_ROW 0
|
||||||
|
@ -192,10 +192,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
//#define NO_ACTION_ONESHOT
|
//#define NO_ACTION_ONESHOT
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
#define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
#define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
/*
|
/*
|
||||||
* MIDI options
|
* MIDI options
|
||||||
*/
|
*/
|
||||||
|
@ -192,10 +192,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
//#define NO_ACTION_ONESHOT
|
//#define NO_ACTION_ONESHOT
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
#define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
#define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
/*
|
/*
|
||||||
* MIDI options
|
* MIDI options
|
||||||
*/
|
*/
|
||||||
|
@ -192,10 +192,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
//#define NO_ACTION_ONESHOT
|
//#define NO_ACTION_ONESHOT
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
#define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
#define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
/*
|
/*
|
||||||
* MIDI options
|
* MIDI options
|
||||||
*/
|
*/
|
||||||
|
@ -193,10 +193,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
//#define NO_ACTION_ONESHOT
|
//#define NO_ACTION_ONESHOT
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
#define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
#define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
/*
|
/*
|
||||||
* MIDI options
|
* MIDI options
|
||||||
*/
|
*/
|
||||||
|
@ -193,10 +193,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
//#define NO_ACTION_ONESHOT
|
//#define NO_ACTION_ONESHOT
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
#define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
#define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
/*
|
/*
|
||||||
* MIDI options
|
* MIDI options
|
||||||
*/
|
*/
|
||||||
|
@ -24,11 +24,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define USE_I2C
|
#define USE_I2C
|
||||||
#define USE_SERIAL
|
#define USE_SERIAL
|
||||||
|
|
||||||
#ifdef USE_Link_Time_Optimization
|
#define NO_ACTION_MACRO
|
||||||
// LTO has issues with macros (action_get_macro) and "functions" (fn_actions),
|
#define NO_ACTION_FUNCTION
|
||||||
// so just disable them
|
|
||||||
#define NO_ACTION_MACRO
|
|
||||||
#define NO_ACTION_FUNCTION
|
|
||||||
|
|
||||||
#define DISABLE_LEADER
|
|
||||||
#endif // USE_Link_Time_Optimization
|
|
||||||
|
@ -192,10 +192,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
//#define NO_ACTION_ONESHOT
|
//#define NO_ACTION_ONESHOT
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
#define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
#define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
/*
|
/*
|
||||||
* MIDI options
|
* MIDI options
|
||||||
*/
|
*/
|
||||||
|
@ -33,10 +33,8 @@
|
|||||||
#define DEBOUNCE 3
|
#define DEBOUNCE 3
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
# define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
# define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef RGB_MATRIX_ENABLE
|
#ifdef RGB_MATRIX_ENABLE
|
||||||
# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
|
# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
|
||||||
|
@ -33,10 +33,8 @@
|
|||||||
#define DEBOUNCE 3
|
#define DEBOUNCE 3
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
# define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
# define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef RGB_MATRIX_ENABLE
|
#ifdef RGB_MATRIX_ENABLE
|
||||||
# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
|
# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
|
||||||
|
@ -33,10 +33,8 @@
|
|||||||
#define DEBOUNCE 3
|
#define DEBOUNCE 3
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
# define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
# define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef RGB_MATRIX_ENABLE
|
#ifdef RGB_MATRIX_ENABLE
|
||||||
# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
|
# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
|
||||||
|
@ -33,10 +33,8 @@
|
|||||||
#define DEBOUNCE 3
|
#define DEBOUNCE 3
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
# define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
# define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef RGB_MATRIX_ENABLE
|
#ifdef RGB_MATRIX_ENABLE
|
||||||
# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
|
# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
|
||||||
|
@ -33,10 +33,8 @@
|
|||||||
#define DEBOUNCE 3
|
#define DEBOUNCE 3
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
# define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
# define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef RGB_MATRIX_ENABLE
|
#ifdef RGB_MATRIX_ENABLE
|
||||||
# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
|
# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
|
||||||
|
@ -33,10 +33,8 @@
|
|||||||
#define DEBOUNCE 3
|
#define DEBOUNCE 3
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
# define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
# define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef RGB_MATRIX_ENABLE
|
#ifdef RGB_MATRIX_ENABLE
|
||||||
# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
|
# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
|
||||||
|
@ -29,10 +29,8 @@
|
|||||||
#define DIODE_DIRECTION COL2ROW
|
#define DIODE_DIRECTION COL2ROW
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
# define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
# define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef RGB_MATRIX_ENABLE
|
#ifdef RGB_MATRIX_ENABLE
|
||||||
# define RGB_MATRIX_LED_PROCESS_LIMIT 4
|
# define RGB_MATRIX_LED_PROCESS_LIMIT 4
|
||||||
|
@ -29,10 +29,8 @@
|
|||||||
#define DIODE_DIRECTION COL2ROW
|
#define DIODE_DIRECTION COL2ROW
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
# define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
# define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef RGB_MATRIX_ENABLE
|
#ifdef RGB_MATRIX_ENABLE
|
||||||
# define RGB_MATRIX_LED_PROCESS_LIMIT 4
|
# define RGB_MATRIX_LED_PROCESS_LIMIT 4
|
||||||
|
@ -25,9 +25,7 @@
|
|||||||
# define NO_PRINT
|
# define NO_PRINT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
# define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
# define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#undef RGBLIGHT_ANIMATIONS
|
#undef RGBLIGHT_ANIMATIONS
|
||||||
|
@ -192,10 +192,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
//#define NO_ACTION_ONESHOT
|
//#define NO_ACTION_ONESHOT
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
#define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
#define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
/*
|
/*
|
||||||
* MIDI options
|
* MIDI options
|
||||||
*/
|
*/
|
||||||
|
@ -31,7 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define MATRIX_ROWS 8
|
#define MATRIX_ROWS 8
|
||||||
#define MATRIX_COLS 16
|
#define MATRIX_COLS 16
|
||||||
|
|
||||||
|
|
||||||
#define MATRIX_ROW_PINS { B0, B1, B2, B3, E6, B7, D0, D1 }
|
#define MATRIX_ROW_PINS { B0, B1, B2, B3, E6, B7, D0, D1 }
|
||||||
#define MATRIX_COL_PINS { D2, D3, C6, C7, D5, D4, D6, D7, B4, B5, B6, F7, F6, F5, F4, F1 }
|
#define MATRIX_COL_PINS { D2, D3, C6, C7, D5, D4, D6, D7, B4, B5, B6, F7, F6, F5, F4, F1 }
|
||||||
#define UNUSED_PINS
|
#define UNUSED_PINS
|
||||||
@ -39,7 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
/* COL2ROW, ROW2COL*/
|
/* COL2ROW, ROW2COL*/
|
||||||
#define DIODE_DIRECTION ROW2COL
|
#define DIODE_DIRECTION ROW2COL
|
||||||
|
|
||||||
|
|
||||||
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
||||||
#define DEBOUNCE 5
|
#define DEBOUNCE 5
|
||||||
|
|
||||||
@ -130,7 +128,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
//#define MAGIC_KEY_NKRO N
|
//#define MAGIC_KEY_NKRO N
|
||||||
//#define MAGIC_KEY_SLEEP_LED Z
|
//#define MAGIC_KEY_SLEEP_LED Z
|
||||||
|
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
/* disable these deprecated features by default */
|
||||||
#define NO_ACTION_MACRO
|
#define NO_ACTION_MACRO
|
||||||
#define NO_ACTION_FUNCTION
|
#define NO_ACTION_FUNCTION
|
||||||
#endif
|
|
||||||
|
@ -192,10 +192,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
//#define NO_ACTION_ONESHOT
|
//#define NO_ACTION_ONESHOT
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
#define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
#define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
/*
|
/*
|
||||||
* MIDI options
|
* MIDI options
|
||||||
*/
|
*/
|
||||||
|
@ -195,10 +195,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
//#define NO_ACTION_ONESHOT
|
//#define NO_ACTION_ONESHOT
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
#define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
#define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
/*
|
/*
|
||||||
* MIDI options
|
* MIDI options
|
||||||
*/
|
*/
|
||||||
|
@ -194,10 +194,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
//#define NO_ACTION_ONESHOT
|
//#define NO_ACTION_ONESHOT
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
# define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
# define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
/*
|
/*
|
||||||
* MIDI options
|
* MIDI options
|
||||||
*/
|
*/
|
||||||
|
@ -130,10 +130,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
//#define NO_ACTION_ONESHOT
|
//#define NO_ACTION_ONESHOT
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
#define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
#define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Bootmagic Lite key configuration */
|
/* Bootmagic Lite key configuration */
|
||||||
// #define BOOTMAGIC_LITE_ROW 0
|
// #define BOOTMAGIC_LITE_ROW 0
|
||||||
|
@ -192,10 +192,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
//#define NO_ACTION_ONESHOT
|
//#define NO_ACTION_ONESHOT
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
#define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
#define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
/*
|
/*
|
||||||
* MIDI options
|
* MIDI options
|
||||||
*/
|
*/
|
||||||
|
@ -39,10 +39,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define BACKLIGHT_PIN D4
|
#define BACKLIGHT_PIN D4
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
#define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
#define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* key combination for magic key command */
|
/* key combination for magic key command */
|
||||||
/* defined by default; to change, uncomment and set to the combination you want */
|
/* defined by default; to change, uncomment and set to the combination you want */
|
||||||
|
@ -165,10 +165,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
//#define NO_ACTION_ONESHOT
|
//#define NO_ACTION_ONESHOT
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
#define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
#define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
/*
|
/*
|
||||||
* MIDI options
|
* MIDI options
|
||||||
*/
|
*/
|
||||||
|
@ -48,7 +48,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define LOCKING_RESYNC_ENABLE
|
#define LOCKING_RESYNC_ENABLE
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
#define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
#define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
|
@ -147,10 +147,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
//#define NO_ACTION_ONESHOT
|
//#define NO_ACTION_ONESHOT
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
#define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
#define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
/*
|
/*
|
||||||
* MIDI options
|
* MIDI options
|
||||||
*/
|
*/
|
||||||
|
@ -161,10 +161,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
//#define NO_ACTION_ONESHOT
|
//#define NO_ACTION_ONESHOT
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
# define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
# define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
/*
|
/*
|
||||||
* MIDI options
|
* MIDI options
|
||||||
*/
|
*/
|
||||||
|
@ -99,7 +99,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
//#define NO_ACTION_ONESHOT
|
//#define NO_ACTION_ONESHOT
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
#define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
#define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
|
@ -158,10 +158,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
//#define NO_ACTION_ONESHOT
|
//#define NO_ACTION_ONESHOT
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
#define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
#define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
/*
|
/*
|
||||||
* MIDI options
|
* MIDI options
|
||||||
*/
|
*/
|
||||||
|
@ -175,10 +175,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
//#define NO_ACTION_ONESHOT
|
//#define NO_ACTION_ONESHOT
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
#define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
#define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
/*
|
/*
|
||||||
* MIDI options
|
* MIDI options
|
||||||
*/
|
*/
|
||||||
|
@ -98,7 +98,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
#define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
#define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
|
@ -28,11 +28,11 @@
|
|||||||
#define UNUSED_PINS
|
#define UNUSED_PINS
|
||||||
/* COL2ROW, ROW2COL*/
|
/* COL2ROW, ROW2COL*/
|
||||||
#define DIODE_DIRECTION COL2ROW
|
#define DIODE_DIRECTION COL2ROW
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
# define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
# define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
||||||
#define DEBOUNCE 3
|
#define DEBOUNCE 3
|
||||||
#ifdef RGB_MATRIX_ENABLE
|
#ifdef RGB_MATRIX_ENABLE
|
||||||
|
@ -147,12 +147,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
#define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
#define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -195,10 +195,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
//#define NO_ACTION_ONESHOT
|
//#define NO_ACTION_ONESHOT
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
#define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
#define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
/*
|
/*
|
||||||
* MIDI options
|
* MIDI options
|
||||||
*/
|
*/
|
||||||
|
@ -233,10 +233,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
//#define NO_ACTION_LAYER
|
//#define NO_ACTION_LAYER
|
||||||
//#define NO_ACTION_TAPPING
|
//#define NO_ACTION_TAPPING
|
||||||
//#define NO_ACTION_ONESHOT
|
//#define NO_ACTION_ONESHOT
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
|
||||||
# define NO_ACTION_MACRO
|
/* disable these deprecated features by default */
|
||||||
# define NO_ACTION_FUNCTION
|
#define NO_ACTION_MACRO
|
||||||
#endif
|
#define NO_ACTION_FUNCTION
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* MIDI options
|
* MIDI options
|
||||||
|
@ -133,10 +133,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
//#define NO_ACTION_ONESHOT
|
//#define NO_ACTION_ONESHOT
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
#define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
#define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Bootmagic Lite key configuration */
|
/* Bootmagic Lite key configuration */
|
||||||
// #define BOOTMAGIC_LITE_ROW 0
|
// #define BOOTMAGIC_LITE_ROW 0
|
||||||
|
@ -198,10 +198,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
//#define NO_ACTION_ONESHOT
|
//#define NO_ACTION_ONESHOT
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
#define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
#define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
/*
|
/*
|
||||||
* MIDI options
|
* MIDI options
|
||||||
*/
|
*/
|
||||||
|
@ -192,10 +192,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
//#define NO_ACTION_ONESHOT
|
//#define NO_ACTION_ONESHOT
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
#define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
#define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
/*
|
/*
|
||||||
* MIDI options
|
* MIDI options
|
||||||
*/
|
*/
|
||||||
|
@ -60,7 +60,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define LOCKING_RESYNC_ENABLE
|
#define LOCKING_RESYNC_ENABLE
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
#define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
#define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
|
@ -24,11 +24,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define USE_I2C
|
#define USE_I2C
|
||||||
#define USE_SERIAL
|
#define USE_SERIAL
|
||||||
|
|
||||||
#ifdef USE_Link_Time_Optimization
|
#define NO_ACTION_MACRO
|
||||||
// LTO has issues with macros (action_get_macro) and "functions" (fn_actions),
|
#define NO_ACTION_FUNCTION
|
||||||
// so just disable them
|
|
||||||
#define NO_ACTION_MACRO
|
|
||||||
#define NO_ACTION_FUNCTION
|
|
||||||
|
|
||||||
#define DISABLE_LEADER
|
|
||||||
#endif // USE_Link_Time_Optimization
|
|
||||||
|
@ -192,10 +192,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
//#define NO_ACTION_ONESHOT
|
//#define NO_ACTION_ONESHOT
|
||||||
|
|
||||||
/* disable these deprecated features by default */
|
/* disable these deprecated features by default */
|
||||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
#define NO_ACTION_MACRO
|
||||||
#define NO_ACTION_MACRO
|
#define NO_ACTION_FUNCTION
|
||||||
#define NO_ACTION_FUNCTION
|
|
||||||
#endif
|
|
||||||
/*
|
/*
|
||||||
* MIDI options
|
* MIDI options
|
||||||
*/
|
*/
|
||||||
|
@ -40,11 +40,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
// ./tmk_core
|
// ./tmk_core
|
||||||
// ......
|
// ......
|
||||||
|
|
||||||
#ifdef USE_Link_Time_Optimization
|
#define NO_ACTION_MACRO
|
||||||
// LTO has issues with macros (action_get_macro) and "functions" (fn_actions),
|
#define NO_ACTION_FUNCTION
|
||||||
// so just disable them
|
|
||||||
#define NO_ACTION_MACRO
|
|
||||||
#define NO_ACTION_FUNCTION
|
|
||||||
#endif // USE_Link_Time_Optimization
|
|
||||||
|
|
||||||
//#endif /* CONFIG_H */
|
//#endif /* CONFIG_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user