From 800ec55dfca06b4630acf62cbb5f130c4031e4f1 Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Sat, 14 Oct 2017 11:32:19 -1000 Subject: Make arguments redo, subproject elimination (#1784) * redo make args to use colons, better folder structuring system [skip ci] * don't put spaces after statements - hard lessons in makefile development * fix-up some other rules.mk * give travis a chance * reset KEYMAPS variable * start converting keyboards to new system * try making all with travis * redo make args to use colons, better folder structuring system [skip ci] * don't put spaces after statements - hard lessons in makefile development * fix-up some other rules.mk * give travis a chance * reset KEYMAPS variable * start converting keyboards to new system * try making all with travis * start to update readmes and keyboards * look in keyboard directories for board.mk * update visualizer rules * fix up some other keyboards/keymaps * fix arm board ld includes * fix board rules * fix up remaining keyboards * reset layout variable * reset keyboard_layouts * fix remainging keymaps/boards * update readmes, docs * add note to makefile error * update readmes * remove planck keymap warnings * update references and docs * test out tarvis build stages * don't use stages for now * don't use stages for now --- keyboards/s60_x/default/config.h | 2 +- keyboards/s60_x/keymaps/bluebear/config.h | 29 ++++++----------------------- keyboards/s60_x/keymaps/bluebear/rules.mk | 6 +----- keyboards/s60_x/readme.md | 2 +- keyboards/s60_x/rgb/config.h | 2 +- keyboards/s60_x/rules.mk | 4 +++- keyboards/s60_x/s60_x.h | 4 ++-- keyboards/s60_x/subproject.mk | 1 - 8 files changed, 15 insertions(+), 35 deletions(-) delete mode 100644 keyboards/s60_x/subproject.mk (limited to 'keyboards/s60_x') diff --git a/keyboards/s60_x/default/config.h b/keyboards/s60_x/default/config.h index 436c6fa8b6..25fc4ad2e0 100644 --- a/keyboards/s60_x/default/config.h +++ b/keyboards/s60_x/default/config.h @@ -1,7 +1,7 @@ #ifndef DEFAULT_CONFIG_H #define DEFAULT_CONFIG_H -#include "../config.h" +#include "config_common.h" #define PRODUCT S60-X #define DESCRIPTION q.m.k. keyboard firmware for S60-X diff --git a/keyboards/s60_x/keymaps/bluebear/config.h b/keyboards/s60_x/keymaps/bluebear/config.h index 5c0d08833f..35754b5233 100644 --- a/keyboards/s60_x/keymaps/bluebear/config.h +++ b/keyboards/s60_x/keymaps/bluebear/config.h @@ -15,30 +15,14 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#ifndef CONFIG_H -#define CONFIG_H +#ifndef CONFIG_USER_H +#define CONFIG_USER_H #include "config_common.h" /* USB Device descriptor parameter */ -#define VENDOR_ID 0xFEED -#define PRODUCT_ID 0x6060 +#undef DEVICE_VER #define DEVICE_VER 0x0003 -#define MANUFACTURER Sentraq -#define PRODUCT S60-RGB -#define DESCRIPTION QMK keyboard firmware for Sentraq S60-RGB - -/* key matrix size */ -#define MATRIX_ROWS 5 -#define MATRIX_COLS 15 - -// ROWS: Top to bottom, COLS: Left to right - -#define MATRIX_ROW_PINS { B5, B4, D7, D6, D4 } -#define MATRIX_COL_PINS { D0, D1, D2, D3, D5, B6, C6, C7, F1, F0, E6, B3, B2, B1, B0 } -#define UNUSED_PINS - -#define BACKLIGHT_PIN B7 /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW @@ -65,10 +49,9 @@ along with this program. If not, see . /* Underlight configuration */ - -#define RGB_DI_PIN F6 -#define RGBLIGHT_TIMER -#define RGBLED_NUM 10 // Number of LEDs +#undef RGBLIGHT_HUE_STEP +#undef RGBLIGHT_SAT_STEP +#undef RGBLIGHT_VAL_STEP #define RGBLIGHT_HUE_STEP 10 #define RGBLIGHT_SAT_STEP 17 #define RGBLIGHT_VAL_STEP 17 diff --git a/keyboards/s60_x/keymaps/bluebear/rules.mk b/keyboards/s60_x/keymaps/bluebear/rules.mk index dfefad39da..78d770d262 100644 --- a/keyboards/s60_x/keymaps/bluebear/rules.mk +++ b/keyboards/s60_x/keymaps/bluebear/rules.mk @@ -11,8 +11,4 @@ UNICODE_ENABLE = no # Unicode BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend -TAP_DANCE_ENABLE = no # Enable tap dancing keys - -ifndef QUANTUM_DIR - include ../../../../Makefile -endif +TAP_DANCE_ENABLE = no # Enable tap dancing keys \ No newline at end of file diff --git a/keyboards/s60_x/readme.md b/keyboards/s60_x/readme.md index 9e1d06150f..cd7049536f 100644 --- a/keyboards/s60_x/readme.md +++ b/keyboards/s60_x/readme.md @@ -8,6 +8,6 @@ Hardware Availability: https://www.massdrop.com/buy/sentraq-60-diy-keyboard-kit? Make example for this keyboard (after setting up your build environment): - make s60_x-default + make s60_x:default See [build environment setup](https://docs.qmk.fm/build_environment_setup.html) then the [make instructions](https://docs.qmk.fm/make_instructions.html) for more information. diff --git a/keyboards/s60_x/rgb/config.h b/keyboards/s60_x/rgb/config.h index 81efc87d54..ec8b0f49e1 100644 --- a/keyboards/s60_x/rgb/config.h +++ b/keyboards/s60_x/rgb/config.h @@ -1,7 +1,7 @@ #ifndef RBG_CONFIG_H #define RBG_CONFIG_H -#include "../config.h" +#include "config_common.h" #define PRODUCT S60-X-RGB #define DESCRIPTION q.m.k. keyboard firmware for S60-X RGB diff --git a/keyboards/s60_x/rules.mk b/keyboards/s60_x/rules.mk index 5d4b281951..57f7a9a591 100644 --- a/keyboards/s60_x/rules.mk +++ b/keyboards/s60_x/rules.mk @@ -62,4 +62,6 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend MIDI_ENABLE = no # MIDI controls UNICODE_ENABLE = no # Unicode BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID -AUDIO_ENABLE = no # Audio output on port C6 \ No newline at end of file +AUDIO_ENABLE = no # Audio output on port C6 + +DEFAULT_FOLDER = s60_x/default \ No newline at end of file diff --git a/keyboards/s60_x/s60_x.h b/keyboards/s60_x/s60_x.h index 5bf8cfcefa..b70cb5864b 100644 --- a/keyboards/s60_x/s60_x.h +++ b/keyboards/s60_x/s60_x.h @@ -1,10 +1,10 @@ #ifndef S60X_H #define S60X_H -#ifdef SUBPROJECT_default +#ifdef KEYBOARD_s60_x_default #include "default.h" #endif -#ifdef SUBPROJECT_rgb +#ifdef KEYBOARD_s60_x_rgb #include "rgb.h" #endif diff --git a/keyboards/s60_x/subproject.mk b/keyboards/s60_x/subproject.mk deleted file mode 100644 index c20a317c14..0000000000 --- a/keyboards/s60_x/subproject.mk +++ /dev/null @@ -1 +0,0 @@ -SUBPROJECT_DEFAULT = default -- cgit v1.2.3