From 9a106537f64fe61af6048b41262f002ce6a716d9 Mon Sep 17 00:00:00 2001 From: tmk Date: Tue, 19 Mar 2013 14:08:40 +0900 Subject: Add NO_PRINT and NO_DEBUG config options. - NO_PRINT: disable print.h API(also disable debug.h) - NO_DEBUG: disable debug.h API --- keyboard/gh60/config.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'keyboard/gh60/config.h') diff --git a/keyboard/gh60/config.h b/keyboard/gh60/config.h index 38d88eecc..64a080e1c 100644 --- a/keyboard/gh60/config.h +++ b/keyboard/gh60/config.h @@ -56,5 +56,10 @@ along with this program. If not, see . */ #define BOOTLOADER_SIZE 4096 +/* disable debug print */ +//#define NO_DEBUG + +/* disable print */ +//#define NO_PRINT #endif -- cgit v1.2.3-24-g4f1b From b057511f45de020c43021f2991569a53c2b929c9 Mon Sep 17 00:00:00 2001 From: tmk Date: Wed, 20 Mar 2013 00:26:01 +0900 Subject: Add NO_ACTION_OVERLAY config option --- keyboard/gh60/config.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'keyboard/gh60/config.h') diff --git a/keyboard/gh60/config.h b/keyboard/gh60/config.h index 64a080e1c..bb4277ae6 100644 --- a/keyboard/gh60/config.h +++ b/keyboard/gh60/config.h @@ -58,8 +58,9 @@ along with this program. If not, see . /* disable debug print */ //#define NO_DEBUG - /* disable print */ //#define NO_PRINT +#define NO_ACTION_OVERLAY + #endif -- cgit v1.2.3-24-g4f1b From 9757f960f9f50841df6651a1a52f63eb9aae242b Mon Sep 17 00:00:00 2001 From: tmk Date: Wed, 20 Mar 2013 00:28:13 +0900 Subject: Add NO_ACTION_TAPPING and NO_ACTION_MACRO config options --- keyboard/gh60/config.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'keyboard/gh60/config.h') diff --git a/keyboard/gh60/config.h b/keyboard/gh60/config.h index bb4277ae6..bf5807644 100644 --- a/keyboard/gh60/config.h +++ b/keyboard/gh60/config.h @@ -62,5 +62,7 @@ along with this program. If not, see . //#define NO_PRINT #define NO_ACTION_OVERLAY +#define NO_ACTION_TAPPING +#define NO_ACTION_MACRO #endif -- cgit v1.2.3-24-g4f1b From ecb7550a91a7fb9a2e7e717f3c0d40d30fd92121 Mon Sep 17 00:00:00 2001 From: tmk Date: Wed, 20 Mar 2013 00:37:32 +0900 Subject: Add NO_ACTION_FUNCTION config option --- keyboard/gh60/config.h | 1 + 1 file changed, 1 insertion(+) (limited to 'keyboard/gh60/config.h') diff --git a/keyboard/gh60/config.h b/keyboard/gh60/config.h index bf5807644..2e2387aa2 100644 --- a/keyboard/gh60/config.h +++ b/keyboard/gh60/config.h @@ -64,5 +64,6 @@ along with this program. If not, see . #define NO_ACTION_OVERLAY #define NO_ACTION_TAPPING #define NO_ACTION_MACRO +#define NO_ACTION_FUNCTION #endif -- cgit v1.2.3-24-g4f1b From dbcac865b9faef2286ca2b0195ea08cf550d83ae Mon Sep 17 00:00:00 2001 From: tmk Date: Wed, 20 Mar 2013 00:56:54 +0900 Subject: Add NO_ACTION_KEYMAP config option --- keyboard/gh60/config.h | 1 + 1 file changed, 1 insertion(+) (limited to 'keyboard/gh60/config.h') diff --git a/keyboard/gh60/config.h b/keyboard/gh60/config.h index 2e2387aa2..7da5c6bbf 100644 --- a/keyboard/gh60/config.h +++ b/keyboard/gh60/config.h @@ -61,6 +61,7 @@ along with this program. If not, see . /* disable print */ //#define NO_PRINT +#define NO_ACTION_KEYMAP #define NO_ACTION_OVERLAY #define NO_ACTION_TAPPING #define NO_ACTION_MACRO -- cgit v1.2.3-24-g4f1b From 9a3edb897ab8549bae089645c0d7f27df8fa15b7 Mon Sep 17 00:00:00 2001 From: tmk Date: Thu, 21 Mar 2013 01:36:59 +0900 Subject: Fix Makefile and config.h of gh60 for new options --- keyboard/gh60/config.h | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'keyboard/gh60/config.h') diff --git a/keyboard/gh60/config.h b/keyboard/gh60/config.h index 7da5c6bbf..679ff3662 100644 --- a/keyboard/gh60/config.h +++ b/keyboard/gh60/config.h @@ -56,15 +56,24 @@ along with this program. If not, see . */ #define BOOTLOADER_SIZE 4096 + + +/* + * Feature disable options + * These options are also useful to firmware size reduction. + */ + /* disable debug print */ //#define NO_DEBUG + /* disable print */ //#define NO_PRINT -#define NO_ACTION_KEYMAP -#define NO_ACTION_OVERLAY -#define NO_ACTION_TAPPING -#define NO_ACTION_MACRO -#define NO_ACTION_FUNCTION +/* disable action features */ +//#define NO_ACTION_KEYMAP +//#define NO_ACTION_OVERLAY +//#define NO_ACTION_TAPPING +//#define NO_ACTION_MACRO +//#define NO_ACTION_FUNCTION #endif -- cgit v1.2.3-24-g4f1b From b2a19328ad35f51dcc9cef7c4d2801acd143582a Mon Sep 17 00:00:00 2001 From: tmk Date: Thu, 21 Mar 2013 15:34:36 +0900 Subject: Changed Makefile and config.h for new options --- keyboard/gh60/config.h | 1 + 1 file changed, 1 insertion(+) (limited to 'keyboard/gh60/config.h') diff --git a/keyboard/gh60/config.h b/keyboard/gh60/config.h index 679ff3662..7fe28470d 100644 --- a/keyboard/gh60/config.h +++ b/keyboard/gh60/config.h @@ -73,6 +73,7 @@ along with this program. If not, see . //#define NO_ACTION_KEYMAP //#define NO_ACTION_OVERLAY //#define NO_ACTION_TAPPING +//#define NO_ACTION_ONESHOT //#define NO_ACTION_MACRO //#define NO_ACTION_FUNCTION -- cgit v1.2.3-24-g4f1b