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/9key/readme.md | 2 +- keyboards/alps64/readme.md | 6 +- keyboards/amj40/readme.md | 39 +++---------- keyboards/amj60/readme.md | 2 +- keyboards/amjpad/readme.md | 2 +- keyboards/atomic/keymaps/pvc/config.h | 24 +------- keyboards/atomic/readme.md | 6 +- keyboards/atreus/keymaps/dvorak_42_key/README.md | 2 +- keyboards/atreus/keymaps/dvorak_42_key/keymap.c | 2 +- keyboards/atreus/readme.md | 6 +- keyboards/atreus62/readme.md | 6 +- keyboards/bananasplit/README.md | 32 +++-------- keyboards/bantam44/readme.md | 6 +- .../boards/GENERIC_STM32_F103/board.mk | 4 +- keyboards/chibios_test/rules.mk | 4 +- keyboards/chibios_test/subproject.mk | 1 - keyboards/clueboard_17/Makefile | 3 - keyboards/clueboard_17/readme.md | 2 +- .../boards/GENERIC_STM32_F303XC/board.mk | 4 +- keyboards/clueboard_60/readme.md | 2 +- keyboards/clueboard_66/Makefile | 5 -- keyboards/clueboard_66/clueboard_66.h | 10 ++-- keyboards/clueboard_66/config.h | 11 ---- keyboards/clueboard_66/readme.md | 2 +- keyboards/clueboard_66/rev1/Makefile | 3 - keyboards/clueboard_66/rev1/config.h | 2 +- keyboards/clueboard_66/rev2/Makefile | 3 - keyboards/clueboard_66/rev2/config.h | 2 +- keyboards/clueboard_66/rev2/rev2.h | 2 +- keyboards/clueboard_66/rev3/config.h | 2 +- keyboards/clueboard_66/rev3/rev3.h | 2 +- keyboards/clueboard_66/rules.mk | 2 + keyboards/clueboard_66/subproject.mk | 1 - keyboards/cluecard/readme.md | 2 +- keyboards/converter/converter.c | 1 - keyboards/converter/converter.h | 1 - keyboards/converter/rules.mk | 0 keyboards/converter/usb_usb/README.md | 2 +- keyboards/converter/usb_usb/rules.mk | 29 +++++----- keyboards/deltasplit75/config.h | 6 -- keyboards/deltasplit75/deltasplit75.h | 7 +-- keyboards/deltasplit75/readme.md | 2 +- keyboards/deltasplit75/rules.mk | 32 ++++++----- keyboards/deltasplit75/subproject.mk | 1 - keyboards/deltasplit75/v2/config.h | 4 +- keyboards/deltasplit75/v2/rules.mk | 6 +- keyboards/dk60/readme.md | 2 +- keyboards/dz60/readme.md | 2 +- keyboards/eco/eco.h | 4 +- keyboards/eco/readme.md | 2 +- keyboards/eco/rules.mk | 2 + keyboards/eco/subproject.mk | 1 - keyboards/ergodone/readme.md | 2 +- .../ergodox_ez/keymaps/drashna-custom/keymap.c | 2 +- .../ergodox_ez/keymaps/dvorak_42_key/README.md | 2 +- .../ergodox_ez/keymaps/dvorak_42_key/keymap.c | 2 +- keyboards/ergodox_infinity/keymaps/rask/README.md | 2 +- keyboards/ergodox_infinity/readme.md | 6 +- keyboards/felix/readme.md | 2 +- keyboards/four_banger/readme.md | 2 +- keyboards/frosty_flake/readme.md | 6 +- keyboards/gh60/keymaps/dbroqua/config.h | 4 +- keyboards/gh60/keymaps/robotmaxtron/config.h | 4 +- keyboards/gh60/readme.md | 2 +- keyboards/gherkin/README.md | 2 +- keyboards/gonnerd/readme.md | 2 +- keyboards/hadron/out.txt | 66 ---------------------- keyboards/hadron/rules.mk | 1 + keyboards/hadron/subproject.mk | 1 - keyboards/handwired/handwired.c | 1 - keyboards/handwired/handwired.h | 1 - keyboards/handwired/kbod/readme.md | 2 +- keyboards/handwired/magicforce61/README.md | 2 +- keyboards/handwired/rules.mk | 0 keyboards/handwired/traveller/rules.mk | 7 --- keyboards/hhkb/keymaps/blakedietz/README.md | 4 +- keyboards/hhkb/readme.md | 2 +- keyboards/infinity60/readme.md | 2 +- keyboards/jc65/readme.md | 4 +- keyboards/jd40/readme.md | 2 +- keyboards/jd45/config.h | 4 +- keyboards/jd45/keymaps/mjt/config.h | 4 +- keyboards/jd45/readme.md | 2 +- keyboards/jj40/README.md | 2 +- keyboards/jm60/boards/JM60_BOARD/board.mk | 4 +- keyboards/jm60/readme.md | 4 +- keyboards/kbd75/readme.md | 2 +- keyboards/kinesis/kinesis.h | 4 +- keyboards/kinesis/rules.mk | 2 + keyboards/kinesis/stapelberg/rules.mk | 5 -- keyboards/kinesis/subproject.mk | 1 - keyboards/kitten_paw/readme.md | 2 +- keyboards/lets_split/lets_split.h | 6 +- keyboards/lets_split/readme.md | 8 +-- keyboards/lets_split/rules.mk | 4 +- keyboards/lets_split/subproject.mk | 1 - keyboards/levinson/keymaps/bakingpy2u/config.h | 2 +- keyboards/levinson/keymaps/default/config.h | 2 +- keyboards/levinson/levinson.h | 2 +- keyboards/levinson/readme.md | 4 +- keyboards/levinson/rules.mk | 4 +- keyboards/levinson/subproject.mk | 1 - keyboards/mechmini/README.md | 4 +- keyboards/mf68/README.md | 4 +- keyboards/minidox/minidox.h | 2 +- keyboards/minidox/readme.md | 6 +- keyboards/minidox/rev1/rules.mk | 6 +- keyboards/minidox/rules.mk | 2 + keyboards/minidox/subproject.mk | 1 - keyboards/mitosis/readme.md | 2 +- keyboards/nyquist/config.h | 2 - keyboards/nyquist/keymaps/default/config.h | 2 +- keyboards/nyquist/keymaps/hexwire/config.h | 2 +- keyboards/nyquist/nyquist.h | 4 +- keyboards/nyquist/readme.md | 4 +- keyboards/nyquist/rev1/rev1.c | 2 +- keyboards/nyquist/rev1/rev1.h | 2 +- keyboards/nyquist/rules.mk | 4 +- keyboards/nyquist/subproject.mk | 1 - keyboards/obelus/readme.md | 4 +- keyboards/org60/readme.md | 2 +- keyboards/orthodox/config.h | 6 +- keyboards/orthodox/keymaps/default/config.h | 2 +- keyboards/orthodox/keymaps/default/rules.mk | 3 - keyboards/orthodox/keymaps/drashna/config.h | 2 +- keyboards/orthodox/keymaps/drashna/rules.mk | 6 +- keyboards/orthodox/orthodox.h | 2 +- keyboards/orthodox/readme.md | 10 ++-- keyboards/orthodox/rev1/config.h | 2 +- keyboards/orthodox/rev1/rev1.h | 2 +- keyboards/orthodox/rev1/rules.mk | 6 +- keyboards/orthodox/rules.mk | 2 + keyboards/pegasushoof/README.md | 2 +- keyboards/phantom/readme.md | 2 +- keyboards/planck/config.h | 2 - keyboards/planck/keymaps/impossible/rules.mk | 10 +--- keyboards/planck/keymaps/jeebak/rules.mk | 10 +--- keyboards/planck/keymaps/jhenahan/rules.mk | 10 +--- keyboards/planck/keymaps/joe/rules.mk | 11 +--- keyboards/planck/keymaps/leo/rules.mk | 11 +--- keyboards/planck/keymaps/lucas/rules.mk | 11 +--- keyboards/planck/keymaps/mollat/rules.mk | 9 --- keyboards/planck/keymaps/nico/rules.mk | 11 +--- keyboards/planck/keymaps/phreed/readme.md | 4 +- keyboards/planck/keymaps/premek/rules.mk | 11 +--- keyboards/planck/keymaps/pvc/config.h | 12 +--- keyboards/planck/keymaps/pvc/rules.mk | 10 +--- keyboards/planck/keymaps/sgoodwin/rules.mk | 11 +--- keyboards/planck/keymaps/tak3over/rules.mk | 11 +--- keyboards/planck/keymaps/thermal_printer/rules.mk | 9 --- keyboards/planck/planck.c | 2 +- keyboards/planck/planck.h | 9 ++- keyboards/planck/readme.md | 2 +- keyboards/planck/rev3/config.h | 2 +- keyboards/planck/rev3/rev3.h | 2 +- keyboards/planck/rev4/config.h | 2 +- keyboards/planck/rev4/rev4.h | 2 +- keyboards/planck/rules.mk | 4 +- keyboards/planck/subproject.mk | 1 - keyboards/preonic/preonic.c | 2 +- keyboards/preonic/preonic.h | 1 + keyboards/preonic/readme.md | 2 +- keyboards/ps2avrGB/README.md | 2 +- keyboards/roadkit/readme.md | 2 +- 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 - keyboards/s65_x/readme.md | 2 +- keyboards/satan/readme.md | 2 +- keyboards/sixkeyboard/readme.md | 2 +- keyboards/sweet16/readme.md | 2 +- keyboards/tada68/readme.md | 4 +- keyboards/tiger_lily/readme.md | 2 +- keyboards/tomato/readme.md | 2 +- keyboards/tv44/readme.md | 2 +- keyboards/uk78/keymaps/rask/README.md | 2 +- keyboards/uk78/readme.md | 2 +- keyboards/v60_type_r/readme.md | 2 +- keyboards/vision_division/readme.md | 2 +- keyboards/viterbi/config.h | 4 -- keyboards/viterbi/readme.md | 4 +- keyboards/viterbi/rev1/config.h | 2 +- keyboards/viterbi/rev1/rules.mk | 6 +- keyboards/viterbi/rules.mk | 2 + keyboards/viterbi/viterbi.h | 2 +- keyboards/whitefox/readme.md | 2 +- keyboards/xd60/keymaps/default/readme.md | 2 +- keyboards/xd60/keymaps/kmontag42/readme.md | 2 +- keyboards/xd60/keymaps/yuuki/README.md | 2 +- keyboards/xd60/readme.md | 2 +- keyboards/xd75/readme.md | 6 +- keyboards/ymd96/README.md | 2 +- 197 files changed, 298 insertions(+), 620 deletions(-) delete mode 100644 keyboards/chibios_test/subproject.mk delete mode 100644 keyboards/clueboard_17/Makefile delete mode 100644 keyboards/clueboard_66/Makefile delete mode 100644 keyboards/clueboard_66/rev1/Makefile delete mode 100644 keyboards/clueboard_66/rev2/Makefile delete mode 100644 keyboards/clueboard_66/subproject.mk delete mode 100644 keyboards/converter/converter.c delete mode 100644 keyboards/converter/converter.h delete mode 100644 keyboards/converter/rules.mk delete mode 100644 keyboards/deltasplit75/subproject.mk delete mode 100644 keyboards/eco/subproject.mk delete mode 100644 keyboards/hadron/out.txt delete mode 100644 keyboards/hadron/subproject.mk delete mode 100644 keyboards/handwired/handwired.c delete mode 100644 keyboards/handwired/handwired.h delete mode 100644 keyboards/handwired/rules.mk delete mode 100644 keyboards/kinesis/subproject.mk delete mode 100644 keyboards/lets_split/subproject.mk delete mode 100644 keyboards/levinson/subproject.mk delete mode 100644 keyboards/minidox/subproject.mk delete mode 100644 keyboards/nyquist/subproject.mk delete mode 100644 keyboards/planck/subproject.mk delete mode 100644 keyboards/s60_x/subproject.mk (limited to 'keyboards') diff --git a/keyboards/9key/readme.md b/keyboards/9key/readme.md index 0aa0edf31f..8c66991293 100644 --- a/keyboards/9key/readme.md +++ b/keyboards/9key/readme.md @@ -12,6 +12,6 @@ Hardware Availability: [BishopKeyboards.com](http://bishopkeyboards.com/) Make example for this keyboard (after setting up your build environment): - make 9key-default + make 9key: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. \ No newline at end of file diff --git a/keyboards/alps64/readme.md b/keyboards/alps64/readme.md index f282730490..d6308ab190 100644 --- a/keyboards/alps64/readme.md +++ b/keyboards/alps64/readme.md @@ -3,12 +3,12 @@ Alps64 An Alps-only 60% board designed by Hasu. -Keyboard Maintainer: QMK Community -Hardware Supported: Alps64 PCB +Keyboard Maintainer: QMK Community +Hardware Supported: Alps64 PCB Hardware Availability: https://geekhack.org/index.php?topic=69666.0 Make example for this keyboard (after setting up your build environment): - make alps64-default + make alps64: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/amj40/readme.md b/keyboards/amj40/readme.md index e705f20fea..42c5374d52 100755 --- a/keyboards/amj40/readme.md +++ b/keyboards/amj40/readme.md @@ -1,35 +1,14 @@ -AMJ40 keyboard firmware -====================== -DIY/Assembled compact 40% keyboard. - -Ported by N.Hou from the original TMK firmware. - -*Supports both backlight LEDs as well as RGB underglow. - -*For reference, the AMJ40 uses pin D3 for underglow lighting. - -## Quantum MK Firmware - -For the full Quantum feature list, see [the parent readme.md](/readme.md). - -## Building - -Download or clone the whole firmware and navigate to the keyboards/amj40 -folder. Once your dev env is setup, you'll be able to type `make` to generate -your .hex - you can then use `make dfu` to program your PCB once you hit the -reset button. - -Depending on which keymap you would like to use, you will have to compile -slightly differently. - -### Default -To build with the default keymap, simply run `sudo make all`. -The .hex file will appear in the root of the qmk firmware folder. - +AMJ40 +=== +DIY/Assembled compact 40% keyboard. +Keyboard Maintainer: QMK Community +Hardware Supported: AMJ40 PCB +Hardware Availability: https://geekhack.org/index.php?topic=87961.0 -### Original tmk firmware -The original firmware that was used to port to qmk can be found [here](https://github.com/AMJKeyboard/AMJ40). +Make example for this keyboard (after setting up your build environment): + make amj40: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/amj60/readme.md b/keyboards/amj60/readme.md index b7107c7cfb..e87b1f9f82 100644 --- a/keyboards/amj60/readme.md +++ b/keyboards/amj60/readme.md @@ -9,6 +9,6 @@ Hardware Availability: https://geekhack.org/index.php?topic=77636.0 Make example for this keyboard (after setting up your build environment): - make amj60-maximized + make amj60:maximized 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/amjpad/readme.md b/keyboards/amjpad/readme.md index cf7c197ecd..27d5e09270 100644 --- a/keyboards/amjpad/readme.md +++ b/keyboards/amjpad/readme.md @@ -9,6 +9,6 @@ Hardware Availability: https://geekhack.org/index.php?topic=83546.0 Make example for this keyboard (after setting up your build environment): - make amjpad-default + make amjpad: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/atomic/keymaps/pvc/config.h b/keyboards/atomic/keymaps/pvc/config.h index ea5821ee76..e63a7340c7 100644 --- a/keyboards/atomic/keymaps/pvc/config.h +++ b/keyboards/atomic/keymaps/pvc/config.h @@ -15,37 +15,19 @@ 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 +#undef PRODUCT_ID #define PRODUCT_ID 0x0419 -#define DEVICE_VER 0x0001 -#define MANUFACTURER Ortholinear Keyboards -#define PRODUCT The Atomic Keyboard -#define DESCRIPTION A compact ortholinear keyboard /* key matrix size */ #define MATRIX_ROWS 5 #define MATRIX_COLS 15 -/* - * Keyboard Matrix Assignments - * - * Change this to how you wired your keyboard - * COLS: AVR pins used for columns, left to right - * ROWS: AVR pins used for rows, top to bottom - * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) - * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) - * -*/ -#define MATRIX_ROW_PINS { D0, D5, B5, B6, B3 } -#define MATRIX_COL_PINS { F1, F0, B0, C7, F4, F5, F6, F7, D4, D6, B4, D7, D3, D2, D1 } -#define UNUSED_PINS - #define BACKLIGHT_PIN B7 #define BACKLIGHT_BREATHING diff --git a/keyboards/atomic/readme.md b/keyboards/atomic/readme.md index 1224c415f0..54a6ee9b54 100644 --- a/keyboards/atomic/readme.md +++ b/keyboards/atomic/readme.md @@ -5,12 +5,12 @@ Atomic A compact 60% (15x5) ortholinear keyboard kit made and sold by OLKB. [More info on qmk.fm](http://qmk.fm/atomic/) -Keyboard Maintainer: [Jack Humbert](https://github.com/jackhumbert) -Hardware Supported: Atomic PCB rev1, Teensy 2.0 +Keyboard Maintainer: [Jack Humbert](https://github.com/jackhumbert) +Hardware Supported: Atomic PCB rev1, Teensy 2.0 Hardware Availability: no longer available Make example for this keyboard (after setting up your build environment): - make atomic-default + make atomic: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. \ No newline at end of file diff --git a/keyboards/atreus/keymaps/dvorak_42_key/README.md b/keyboards/atreus/keymaps/dvorak_42_key/README.md index 45e3ab75cc..86ce738023 100644 --- a/keyboards/atreus/keymaps/dvorak_42_key/README.md +++ b/keyboards/atreus/keymaps/dvorak_42_key/README.md @@ -7,7 +7,7 @@ How to build and flash ---------------------- to build; -make atreus-dvorak_42_key +make atreus:dvorak_42_key to flash: avrdude -p atmega32u4 -c avr109 -U flash:w:atreus_dvorak_42_key.hex -P COM7 diff --git a/keyboards/atreus/keymaps/dvorak_42_key/keymap.c b/keyboards/atreus/keymaps/dvorak_42_key/keymap.c index 8f8c319c54..02980378d4 100644 --- a/keyboards/atreus/keymaps/dvorak_42_key/keymap.c +++ b/keyboards/atreus/keymaps/dvorak_42_key/keymap.c @@ -15,7 +15,7 @@ static bool mouse_lock = false; // building instructions: -// make atreus-dvorak_42_key +// make atreus:dvorak_42_key // flashing instructions: // avrdude -p atmega32u4 -c avr109 -U flash:w:atreus_dvorak_42_key.hex -P COM7 diff --git a/keyboards/atreus/readme.md b/keyboards/atreus/readme.md index ef464a1b49..221c7fac4a 100644 --- a/keyboards/atreus/readme.md +++ b/keyboards/atreus/readme.md @@ -5,12 +5,12 @@ A small mechanical keyboard that is based around the shape of the human hand. These configuration files are specifically for the Atreus keyboards created by Phil Hagelberg (@technomancy). This keyboard is available in two variants: one powered by a Teensy 2, (usually hand-wired) one powered by an A-Star. (usually using a PCB) This repository currently assumes that you have an A-Star powered Atreus. If you are using a Teensy2, specify that by adding `TEENSY2=yes` to your `make` commands. -Keyboard Maintainer: QMK Community -Hardware Supported: Atreus PCB +Keyboard Maintainer: QMK Community +Hardware Supported: Atreus PCB Hardware Availability: https://atreus.technomancy.us Make example for this keyboard (after setting up your build environment): - make atreus-default-avrdude + make atreus:default:avrdude 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/atreus62/readme.md b/keyboards/atreus62/readme.md index d68d1b615b..b2de90011c 100644 --- a/keyboards/atreus62/readme.md +++ b/keyboards/atreus62/readme.md @@ -5,12 +5,12 @@ A 62 key variant of the Atreus keyboard. https://github.com/profet23/atreus62 -Keyboard Maintainer: QMK Community -Hardware Supported: Atreus62 PCB +Keyboard Maintainer: QMK Community +Hardware Supported: Atreus62 PCB Hardware Availability: http://shop.profetkeyboards.com/product/atreus62-keyboard Make example for this keyboard (after setting up your build environment): - make atreus62-default + make atreus62: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/bananasplit/README.md b/keyboards/bananasplit/README.md index b059a0834d..cd1e15d775 100644 --- a/keyboards/bananasplit/README.md +++ b/keyboards/bananasplit/README.md @@ -1,29 +1,15 @@ -# BananaSplit60 keyboard firmware +BananaSplit60 +=== -Ported from evangs/tmk_keyboard +A 60% PCB featuring a split spacebar. -## Quantum MK Firmware +Keyboard Maintainer: QMK Community +Hardware Supported: BananaSplit60 PCB +Hardware Availability: https://thevankeyboards.com/products/gb-bananasplit-60-keyboard-kit?variant=42149104910 -For the full Quantum feature list, see [the parent readme](/). +Make example for this keyboard (after setting up your build environment): -## Building + make bananasplit:default -Download or clone the whole firmware and navigate to the keyboards/bananasplit folder. Once your dev env is setup, you'll be able to type `make` to generate your .hex - you can then use the Teensy Loader to program your .hex file. +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. -Depending on which keymap you would like to use, you will have to compile slightly differently. - -### Default - -To build with the default keymap, simply run `make default`. - -### Other Keymaps - -Several version of keymap are available in advance but you are recommended to define your favorite layout yourself. To define your own keymap create a folder with the name of your keymap in the keymaps folder, and see keymap documentation (you can find in top readme.md) and existant keymap files. - -To build the firmware binary hex file with a keymap just do `make` with a keymap like this: - -``` -$ make [default|jack|] -``` - -Keymaps follow the format **__\.c__** and are stored in the `keymaps` folder. diff --git a/keyboards/bantam44/readme.md b/keyboards/bantam44/readme.md index 494800958e..0103c16472 100644 --- a/keyboards/bantam44/readme.md +++ b/keyboards/bantam44/readme.md @@ -3,12 +3,12 @@ Bantam-44 A small mechanical keyboard. -Keyboard Maintainer: QMK Community -Hardware Supported: Bantam-44 PCB +Keyboard Maintainer: QMK Community +Hardware Supported: Bantam-44 PCB Hardware Availability: http://www.bantamkeyboards.com Make example for this keyboard (after setting up your build environment): - make bantam44-default + make bantam44: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/chibios_test/boards/GENERIC_STM32_F103/board.mk b/keyboards/chibios_test/boards/GENERIC_STM32_F103/board.mk index 48e0e51fe6..6b8b312fd9 100644 --- a/keyboards/chibios_test/boards/GENERIC_STM32_F103/board.mk +++ b/keyboards/chibios_test/boards/GENERIC_STM32_F103/board.mk @@ -1,5 +1,5 @@ # List of all the board related files. -BOARDSRC = $(KEYBOARD_PATH)/boards/GENERIC_STM32_F103/board.c +BOARDSRC = $(BOARD_PATH)/boards/GENERIC_STM32_F103/board.c # Required include directories -BOARDINC = $(KEYBOARD_PATH)/boards/GENERIC_STM32_F103 +BOARDINC = $(BOARD_PATH)/boards/GENERIC_STM32_F103 diff --git a/keyboards/chibios_test/rules.mk b/keyboards/chibios_test/rules.mk index f72e1ab69a..45f03be020 100644 --- a/keyboards/chibios_test/rules.mk +++ b/keyboards/chibios_test/rules.mk @@ -5,4 +5,6 @@ CONSOLE_ENABLE = yes # Console for debug COMMAND_ENABLE = yes # Commands for debug and configuration SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend NKRO_ENABLE = yes # USB Nkey Rollover -CUSTOM_MATRIX = yes # Custom matrix file \ No newline at end of file +CUSTOM_MATRIX = yes # Custom matrix file + +DEFAULT_FOLDER = chibios_test/stm32_f072_onekey \ No newline at end of file diff --git a/keyboards/chibios_test/subproject.mk b/keyboards/chibios_test/subproject.mk deleted file mode 100644 index 7ed203d681..0000000000 --- a/keyboards/chibios_test/subproject.mk +++ /dev/null @@ -1 +0,0 @@ -SUBPROJECT_DEFAULT = stm32_f072_onekey diff --git a/keyboards/clueboard_17/Makefile b/keyboards/clueboard_17/Makefile deleted file mode 100644 index 4e2a6f00fd..0000000000 --- a/keyboards/clueboard_17/Makefile +++ /dev/null @@ -1,3 +0,0 @@ -ifndef MAKEFILE_INCLUDED - include ../../Makefile -endif \ No newline at end of file diff --git a/keyboards/clueboard_17/readme.md b/keyboards/clueboard_17/readme.md index f79d6b5594..f3590fdbb5 100644 --- a/keyboards/clueboard_17/readme.md +++ b/keyboards/clueboard_17/readme.md @@ -10,6 +10,6 @@ A basic 17 key numpad PCB. Make example for this keyboard (after setting up your build environment): - make cluepad-default + make clueboard_17: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/clueboard_60/boards/GENERIC_STM32_F303XC/board.mk b/keyboards/clueboard_60/boards/GENERIC_STM32_F303XC/board.mk index 9674228c36..43377629a3 100644 --- a/keyboards/clueboard_60/boards/GENERIC_STM32_F303XC/board.mk +++ b/keyboards/clueboard_60/boards/GENERIC_STM32_F303XC/board.mk @@ -1,5 +1,5 @@ # List of all the board related files. -BOARDSRC = $(KEYBOARD_PATH)/boards/GENERIC_STM32_F303XC/board.c +BOARDSRC = $(BOARD_PATH)/boards/GENERIC_STM32_F303XC/board.c # Required include directories -BOARDINC = $(KEYBOARD_PATH)/boards/GENERIC_STM32_F303XC +BOARDINC = $(BOARD_PATH)/boards/GENERIC_STM32_F303XC diff --git a/keyboards/clueboard_60/readme.md b/keyboards/clueboard_60/readme.md index b13c5336b0..7221c82039 100644 --- a/keyboards/clueboard_60/readme.md +++ b/keyboards/clueboard_60/readme.md @@ -9,6 +9,6 @@ A fully customizable 60% keyboard. Make example for this keyboard (after setting up your build environment): - make clueboard_60-default-dfu-util + make clueboard_60:default:dfu-util 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/clueboard_66/Makefile b/keyboards/clueboard_66/Makefile deleted file mode 100644 index b9bada8f8d..0000000000 --- a/keyboards/clueboard_66/Makefile +++ /dev/null @@ -1,5 +0,0 @@ -SUBPROJECT_DEFAULT = rev2 - -ifndef MAKEFILE_INCLUDED - include ../../Makefile -endif \ No newline at end of file diff --git a/keyboards/clueboard_66/clueboard_66.h b/keyboards/clueboard_66/clueboard_66.h index 295a596d5a..c8989983d0 100644 --- a/keyboards/clueboard_66/clueboard_66.h +++ b/keyboards/clueboard_66/clueboard_66.h @@ -1,16 +1,16 @@ #ifndef CLUEBOARD_H #define CLUEBOARD_H -#ifdef SUBPROJECT_rev1 +#include "quantum.h" + +#ifdef KEYBOARD_clueboard_66_rev1 #include "rev1.h" #endif -#ifdef SUBPROJECT_rev2 +#ifdef KEYBOARD_clueboard_66_rev2 #include "rev2.h" #endif -#ifdef SUBPROJECT_rev3 +#ifdef KEYBOARD_clueboard_66_rev3 #include "rev3.h" #endif -#include "quantum.h" - #endif diff --git a/keyboards/clueboard_66/config.h b/keyboards/clueboard_66/config.h index 0d4e6a8746..eaf3e073fb 100644 --- a/keyboards/clueboard_66/config.h +++ b/keyboards/clueboard_66/config.h @@ -60,15 +60,4 @@ along with this program. If not, see . //#define NO_ACTION_MACRO //#define NO_ACTION_FUNCTION - -#ifdef SUBPROJECT_rev1 - #include "rev1/config.h" -#endif -#ifdef SUBPROJECT_rev2 - #include "rev2/config.h" -#endif -#ifdef SUBPROJECT_rev3 - #include "rev3/config.h" -#endif - #endif diff --git a/keyboards/clueboard_66/readme.md b/keyboards/clueboard_66/readme.md index 13859bc242..c2423096ec 100644 --- a/keyboards/clueboard_66/readme.md +++ b/keyboards/clueboard_66/readme.md @@ -13,6 +13,6 @@ A fully customizable 66% keyboard. Make example for this keyboard (after setting up your build environment): - make clueboard-rev3-default + make clueboard/rev3: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/clueboard_66/rev1/Makefile b/keyboards/clueboard_66/rev1/Makefile deleted file mode 100644 index 191c6bb664..0000000000 --- a/keyboards/clueboard_66/rev1/Makefile +++ /dev/null @@ -1,3 +0,0 @@ -ifndef MAKEFILE_INCLUDED - include ../../../Makefile -endif \ No newline at end of file diff --git a/keyboards/clueboard_66/rev1/config.h b/keyboards/clueboard_66/rev1/config.h index f40876ffbf..519e4d3ecb 100644 --- a/keyboards/clueboard_66/rev1/config.h +++ b/keyboards/clueboard_66/rev1/config.h @@ -1,7 +1,7 @@ #ifndef REV2_CONFIG_H #define REV2_CONFIG_H -#include "../config.h" +#include "config_common.h" #define PRODUCT_ID 0x2301 #define DEVICE_VER 0x0003 diff --git a/keyboards/clueboard_66/rev2/Makefile b/keyboards/clueboard_66/rev2/Makefile deleted file mode 100644 index 191c6bb664..0000000000 --- a/keyboards/clueboard_66/rev2/Makefile +++ /dev/null @@ -1,3 +0,0 @@ -ifndef MAKEFILE_INCLUDED - include ../../../Makefile -endif \ No newline at end of file diff --git a/keyboards/clueboard_66/rev2/config.h b/keyboards/clueboard_66/rev2/config.h index bc34fc07bb..3c22c5b4a6 100644 --- a/keyboards/clueboard_66/rev2/config.h +++ b/keyboards/clueboard_66/rev2/config.h @@ -1,7 +1,7 @@ #ifndef REV2_CONFIG_H #define REV2_CONFIG_H -#include "../config.h" +#include "config_common.h" #define PRODUCT_ID 0x2320 #define DEVICE_VER 0x0001 diff --git a/keyboards/clueboard_66/rev2/rev2.h b/keyboards/clueboard_66/rev2/rev2.h index 75015ec024..da7ce500f9 100644 --- a/keyboards/clueboard_66/rev2/rev2.h +++ b/keyboards/clueboard_66/rev2/rev2.h @@ -1,7 +1,7 @@ #ifndef REV2_H #define REV2_H -#include "../clueboard_66.h" +#include "clueboard_66.h" /* Clueboard matrix layout * ,-----------------------------------------------------------. ,---. diff --git a/keyboards/clueboard_66/rev3/config.h b/keyboards/clueboard_66/rev3/config.h index cd12db22e1..5e645c78f0 100644 --- a/keyboards/clueboard_66/rev3/config.h +++ b/keyboards/clueboard_66/rev3/config.h @@ -1,7 +1,7 @@ #ifndef REV3_CONFIG_H #define REV3_CONFIG_H -#include "../config.h" +#include "config_common.h" #define PRODUCT_ID 0x2370 #define DEVICE_VER 0x0001 diff --git a/keyboards/clueboard_66/rev3/rev3.h b/keyboards/clueboard_66/rev3/rev3.h index fd6f983441..7fd243c809 100644 --- a/keyboards/clueboard_66/rev3/rev3.h +++ b/keyboards/clueboard_66/rev3/rev3.h @@ -1,7 +1,7 @@ #ifndef REV3_H #define REV3_H -#include "../clueboard_66.h" +#include "clueboard_66.h" /* Clueboard matrix layout * ,-----------------------------------------------------------. ,---. diff --git a/keyboards/clueboard_66/rules.mk b/keyboards/clueboard_66/rules.mk index afbb531a24..abab3bd5b7 100644 --- a/keyboards/clueboard_66/rules.mk +++ b/keyboards/clueboard_66/rules.mk @@ -19,3 +19,5 @@ RGBLIGHT_ENABLE = yes # Enable keyboard underlight functionality MIDI_ENABLE = no # MIDI controls UNICODE_ENABLE = no # Unicode BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID + +DEFAULT_FOLDER = clueboard_66/rev2 diff --git a/keyboards/clueboard_66/subproject.mk b/keyboards/clueboard_66/subproject.mk deleted file mode 100644 index 7c9b39598d..0000000000 --- a/keyboards/clueboard_66/subproject.mk +++ /dev/null @@ -1 +0,0 @@ -SUBPROJECT_DEFAULT = rev2 diff --git a/keyboards/cluecard/readme.md b/keyboards/cluecard/readme.md index d9daa0b2b5..589eb57f37 100644 --- a/keyboards/cluecard/readme.md +++ b/keyboards/cluecard/readme.md @@ -8,6 +8,6 @@ A simple QMK dev kit. Make example for this keyboard (after setting up your build environment): - make cluecard-default + make cluecard: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/converter/converter.c b/keyboards/converter/converter.c deleted file mode 100644 index aa4bef63a9..0000000000 --- a/keyboards/converter/converter.c +++ /dev/null @@ -1 +0,0 @@ -#include "converter.h" \ No newline at end of file diff --git a/keyboards/converter/converter.h b/keyboards/converter/converter.h deleted file mode 100644 index 7a4a4835e6..0000000000 --- a/keyboards/converter/converter.h +++ /dev/null @@ -1 +0,0 @@ -#include "quantum.h" \ No newline at end of file diff --git a/keyboards/converter/rules.mk b/keyboards/converter/rules.mk deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/keyboards/converter/usb_usb/README.md b/keyboards/converter/usb_usb/README.md index c1904a8122..2ed702695b 100644 --- a/keyboards/converter/usb_usb/README.md +++ b/keyboards/converter/usb_usb/README.md @@ -9,7 +9,7 @@ Hardware Availability: [GH thread](https://geekhack.org/index.php?topic=72052.0) Make example for this keyboard (after setting up your build environment): - make converter-usb_usb-default + make converter/usb_usb: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/converter/usb_usb/rules.mk b/keyboards/converter/usb_usb/rules.mk index 4ee6cdb1ce..81a393e8ab 100644 --- a/keyboards/converter/usb_usb/rules.mk +++ b/keyboards/converter/usb_usb/rules.mk @@ -1,5 +1,5 @@ # MCU name -MCU ?= atmega32u4 +MCU = atmega32u4 # Processor frequency. @@ -13,14 +13,14 @@ MCU ?= atmega32u4 # does not *change* the processor frequency - it should merely be updated to # reflect the processor speed set externally so that the code can use accurate # software delays. -F_CPU ?= 8000000 +F_CPU = 8000000 # # LUFA specific # # Target architecture (see library "Board Types" documentation). -ARCH ?= AVR8 +ARCH = AVR8 # Input clock frequency. # This will define a symbol, F_USB, in all source code files equal to the @@ -33,7 +33,7 @@ ARCH ?= AVR8 # # If no clock division is performed on the input clock inside the AVR (via the # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. -F_USB ?= $(F_CPU) +F_USB = $(F_CPU) # Interrupt driven control endpoint task OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT @@ -51,16 +51,15 @@ OPT_DEFS += -DBOOTLOADER_SIZE=4096 # Build Options # comment out to disable the options. # -# BOOTMAGIC_ENABLE ?= yes # Virtual DIP switch configuration(+1000) -# MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) -EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) -# CONSOLE_ENABLE ?= yes # Console for debug(+400) -# COMMAND_ENABLE ?= yes # Commands for debug and configuration -# SLEEP_LED_ENABLE ?= yes # Breathing sleep LED during USB suspend -# NKRO_ENABLE ?= yes # USB Nkey Rollover - not yet supported in LUFA -# BACKLIGHT_ENABLE ?= yes - +# BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000) +# MOUSEKEY_ENABLE = yes # Mouse keys(+4700) +EXTRAKEY_ENABLE = yes # Audio control and System control(+450) +# CONSOLE_ENABLE = yes # Console for debug(+400) +# COMMAND_ENABLE = yes # Commands for debug and configuration +# SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend +# NKRO_ENABLE = yes # USB Nkey Rollover - not yet supported in LUFA +# BACKLIGHT_ENABLE = yes +USB_HID_ENABLE = yes CUSTOM_MATRIX = yes -SRC = custom_matrix.cpp -include $(TMK_DIR)/protocol/usb_hid.mk +SRC = custom_matrix.cpp \ No newline at end of file diff --git a/keyboards/deltasplit75/config.h b/keyboards/deltasplit75/config.h index 89d328be64..8a2fbb3b26 100644 --- a/keyboards/deltasplit75/config.h +++ b/keyboards/deltasplit75/config.h @@ -20,10 +20,4 @@ along with this program. If not, see . #include "config_common.h" -#ifdef SUBPROJECT_protosplit - #include "protosplit/config.h" -#endif -#ifdef SUBPROJECT_v2 - #include "v2/config.h" -#endif #endif diff --git a/keyboards/deltasplit75/deltasplit75.h b/keyboards/deltasplit75/deltasplit75.h index 9db16c78c2..79d018c912 100644 --- a/keyboards/deltasplit75/deltasplit75.h +++ b/keyboards/deltasplit75/deltasplit75.h @@ -1,12 +1,7 @@ #ifndef DELTASPLIT75_H #define DELTASPLIT75_H -#ifdef SUBPROJECT_v2 - #include "v2.h" -#endif -#ifdef SUBPROJECT_protosplit - #include "protosplit.h" -#endif +#include "v2.h" #include "quantum.h" diff --git a/keyboards/deltasplit75/readme.md b/keyboards/deltasplit75/readme.md index a1e35e3378..f911f78714 100644 --- a/keyboards/deltasplit75/readme.md +++ b/keyboards/deltasplit75/readme.md @@ -9,7 +9,7 @@ Hardware Availability: Group Buy Make example for this keyboard (after setting up your build environment): - make deltasplit75-v2-default + make deltasplit75/v2: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/deltasplit75/rules.mk b/keyboards/deltasplit75/rules.mk index 1aee5313c1..e345d61f56 100644 --- a/keyboards/deltasplit75/rules.mk +++ b/keyboards/deltasplit75/rules.mk @@ -55,21 +55,23 @@ OPT_DEFS += -DBOOTLOADER_SIZE=4096 # change to "no" to disable the options, or define them in the Makefile in # the appropriate keymap folder that will get included automatically # -BOOTMAGIC_ENABLE ?= no # Virtual DIP switch configuration(+1000) -MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) -EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) -CONSOLE_ENABLE ?= no # Console for debug(+400) -COMMAND_ENABLE ?= yes # Commands for debug and configuration -NKRO_ENABLE ?= no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work -BACKLIGHT_ENABLE ?= no # Enable keyboard backlight functionality -MIDI_ENABLE ?= no # MIDI controls -AUDIO_ENABLE ?= no # Audio output on port C6 -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. -SUBPROJECT_rev1 ?= yes -USE_I2C ?= yes +BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) +MOUSEKEY_ENABLE = yes # Mouse keys(+4700) +EXTRAKEY_ENABLE = yes # Audio control and System control(+450) +CONSOLE_ENABLE = no # Console for debug(+400) +COMMAND_ENABLE = yes # Commands for debug and configuration +NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work +BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality +MIDI_ENABLE = no # MIDI controls +AUDIO_ENABLE = no # Audio output on port C6 +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. +SUBPROJECT_rev1 = yes +USE_I2C = yes # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE -SLEEP_LED_ENABLE ?= no # Breathing sleep LED during USB suspend +SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend CUSTOM_MATRIX = yes + +DEFAULT_FOLDER = deltasplit75/v2 \ No newline at end of file diff --git a/keyboards/deltasplit75/subproject.mk b/keyboards/deltasplit75/subproject.mk deleted file mode 100644 index 298067e5d8..0000000000 --- a/keyboards/deltasplit75/subproject.mk +++ /dev/null @@ -1 +0,0 @@ -SUBPROJECT_DEFAULT = v2 diff --git a/keyboards/deltasplit75/v2/config.h b/keyboards/deltasplit75/v2/config.h index 0f4b806e2d..b677d09aa9 100644 --- a/keyboards/deltasplit75/v2/config.h +++ b/keyboards/deltasplit75/v2/config.h @@ -15,8 +15,8 @@ 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_V2_H +#define CONFIG_V2_H #include "config_common.h" diff --git a/keyboards/deltasplit75/v2/rules.mk b/keyboards/deltasplit75/v2/rules.mk index 80a942d06f..f845616741 100644 --- a/keyboards/deltasplit75/v2/rules.mk +++ b/keyboards/deltasplit75/v2/rules.mk @@ -1,5 +1 @@ -BACKLIGHT_ENABLE = no - -ifndef QUANTUM_DIR - include ../../../Makefile -endif +BACKLIGHT_ENABLE = no \ No newline at end of file diff --git a/keyboards/dk60/readme.md b/keyboards/dk60/readme.md index 5eba791504..bd99d4b61c 100644 --- a/keyboards/dk60/readme.md +++ b/keyboards/dk60/readme.md @@ -10,7 +10,7 @@ Another 60% keyboard with different HHKB layout made and sold by dbroqua. [More Make example for this keyboard (after setting up your build environment): - make dk60-default + make dk60: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/dz60/readme.md b/keyboards/dz60/readme.md index d14af7a5ca..78b290fbad 100644 --- a/keyboards/dz60/readme.md +++ b/keyboards/dz60/readme.md @@ -10,6 +10,6 @@ Hardware Availability: [kbdfans](https://kbdfans.myshopify.com/collections/pcb/p Make example for this keyboard (after setting up your build environment): - make dz60-default + make dz60: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/eco/eco.h b/keyboards/eco/eco.h index 2cfb8df26b..4f8cfabd88 100644 --- a/keyboards/eco/eco.h +++ b/keyboards/eco/eco.h @@ -1,10 +1,10 @@ #ifndef ECO_H #define ECO_H -#ifdef SUBPROJECT_rev1 +#ifdef KEYBOARD_eco_rev1 #include "rev1.h" #endif -#ifdef SUBPROJECT_rev2 +#ifdef KEYBOARD_eco_rev2 #include "rev2.h" #endif diff --git a/keyboards/eco/readme.md b/keyboards/eco/readme.md index d29aa8ece7..afa9d55598 100644 --- a/keyboards/eco/readme.md +++ b/keyboards/eco/readme.md @@ -10,6 +10,6 @@ Hardware Supported: ECO PCB rev1 Pro Micro Make example for this keyboard (after setting up your build environment): - make eco-rev2-that_canadian + make eco/rev2:that_canadian 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. \ No newline at end of file diff --git a/keyboards/eco/rules.mk b/keyboards/eco/rules.mk index cf26cdc0db..6f4b4fefc4 100644 --- a/keyboards/eco/rules.mk +++ b/keyboards/eco/rules.mk @@ -66,3 +66,5 @@ API_SYSEX_ENABLE = no # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend + +DEFAULT_FOLDER = eco/rev2 \ No newline at end of file diff --git a/keyboards/eco/subproject.mk b/keyboards/eco/subproject.mk deleted file mode 100644 index 7c9b39598d..0000000000 --- a/keyboards/eco/subproject.mk +++ /dev/null @@ -1 +0,0 @@ -SUBPROJECT_DEFAULT = rev2 diff --git a/keyboards/ergodone/readme.md b/keyboards/ergodone/readme.md index 8e3123f4f2..207df789a6 100644 --- a/keyboards/ergodone/readme.md +++ b/keyboards/ergodone/readme.md @@ -18,7 +18,7 @@ The ErgoDone is a modified version of the ErgoDox, made by K.T.E.C., with pre-so In the root directory of the repository, build the firmware with a command like: - make ergodone-default + make ergodone:default For more information on the layout option and other ones, see the [`make` guide](https://docs.qmk.fm/getting_started_make_guide.html). diff --git a/keyboards/ergodox_ez/keymaps/drashna-custom/keymap.c b/keyboards/ergodox_ez/keymaps/drashna-custom/keymap.c index 4223bc2d1a..5f0504beb7 100644 --- a/keyboards/ergodox_ez/keymaps/drashna-custom/keymap.c +++ b/keyboards/ergodox_ez/keymaps/drashna-custom/keymap.c @@ -98,7 +98,7 @@ enum { // on each tap, light up one led, from right to left -// on the forth tap, turn them off from right to leftmake ergodox-ez-drashna-custom-teensy +// on the forth tap, turn them off from right to left void dance_flsh_each(qk_tap_dance_state_t *state, void *user_data) { if (!skip_leds) { diff --git a/keyboards/ergodox_ez/keymaps/dvorak_42_key/README.md b/keyboards/ergodox_ez/keymaps/dvorak_42_key/README.md index 18af2cdeef..9d30c2e19c 100644 --- a/keyboards/ergodox_ez/keymaps/dvorak_42_key/README.md +++ b/keyboards/ergodox_ez/keymaps/dvorak_42_key/README.md @@ -5,7 +5,7 @@ This is a dvorak based layout for the Ergodox EZ. Its basic key layout is simila How to build ------------ -make ergodox_ez-dvorak_42_key-teensy +make ergodox_ez:dvorak_42_key:teensy Layers ------ diff --git a/keyboards/ergodox_ez/keymaps/dvorak_42_key/keymap.c b/keyboards/ergodox_ez/keymaps/dvorak_42_key/keymap.c index 55168e85d5..c1195ecc0d 100644 --- a/keyboards/ergodox_ez/keymaps/dvorak_42_key/keymap.c +++ b/keyboards/ergodox_ez/keymaps/dvorak_42_key/keymap.c @@ -5,7 +5,7 @@ // to build this keymap -// make ergodox_ez-dvorak_42_key-teensy +// make ergodox_ez:dvorak_42_key:teensy static bool mouse_lock = false; diff --git a/keyboards/ergodox_infinity/keymaps/rask/README.md b/keyboards/ergodox_infinity/keymaps/rask/README.md index 99e3953234..8a13994301 100644 --- a/keyboards/ergodox_infinity/keymaps/rask/README.md +++ b/keyboards/ergodox_infinity/keymaps/rask/README.md @@ -17,4 +17,4 @@ makes sense. Follow the main Infinity ErgoDox guide but use the following layout: - $ sudo make ergodox_infinity-rask + $ sudo make ergodox_infinity:rask diff --git a/keyboards/ergodox_infinity/readme.md b/keyboards/ergodox_infinity/readme.md index 4ad5990b8a..7b8c1df3a5 100644 --- a/keyboards/ergodox_infinity/readme.md +++ b/keyboards/ergodox_infinity/readme.md @@ -5,15 +5,15 @@ for the left and right halves seperately. To flash them: - Make sure you are in the top-level qmk_firmware directory - - Build the firmware with `make ergodox_infinity-keymapname` + - Build the firmware with `make ergodox_infinity:keymapname` - Plug in the left hand keyboard only. - Press the program button (back of keyboard, above thumb pad). - - Install the firmware with `sudo make ergodox_infinity-keymapname-dfu-util` + - Install the firmware with `sudo make ergodox_infinity:keymapname:dfu-util` - - Build right hand firmware with `make ergodox_infinity-keymapname MASTER=right` + - Build right hand firmware with `make ergodox_infinity:keymapname MASTER=right` - Plug in the right hand keyboard only. diff --git a/keyboards/felix/readme.md b/keyboards/felix/readme.md index 1b5f4b42e0..e41782c3cc 100644 --- a/keyboards/felix/readme.md +++ b/keyboards/felix/readme.md @@ -8,6 +8,6 @@ Hardware Availability: [Unikeyboard](https://unikeyboard.io/product/felix/) Make example for this keyboard (after setting up your build environment): - make felix-default + make felix: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/four_banger/readme.md b/keyboards/four_banger/readme.md index f2ab0ad870..ffb6091f95 100644 --- a/keyboards/four_banger/readme.md +++ b/keyboards/four_banger/readme.md @@ -9,6 +9,6 @@ Hardware Availability: [1up Keyboards](https://1upkeyboards.com/) Make example for this keyboard (after setting up your build environment): - make four_banger-default + make four_banger: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. \ No newline at end of file diff --git a/keyboards/frosty_flake/readme.md b/keyboards/frosty_flake/readme.md index 4a933d0bd6..822377a719 100644 --- a/keyboards/frosty_flake/readme.md +++ b/keyboards/frosty_flake/readme.md @@ -25,19 +25,19 @@ Make example for this keyboard (after setting up your build environment): 104 key default layout: ``` -make frosty_flake-default +make frosty_flake:default ``` To directly flash the frosty_flake after compiling use ``` -make frosty_flake-default-dfu +make frosty_flake:default:dfu ``` 87 key tkl layout: ``` -make frosty_flake-tkl-dfu +make frosty_flake:tkl:dfu ``` See [build environment diff --git a/keyboards/gh60/keymaps/dbroqua/config.h b/keyboards/gh60/keymaps/dbroqua/config.h index 75ccec0973..0b8218d28a 100644 --- a/keyboards/gh60/keymaps/dbroqua/config.h +++ b/keyboards/gh60/keymaps/dbroqua/config.h @@ -15,8 +15,8 @@ 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" diff --git a/keyboards/gh60/keymaps/robotmaxtron/config.h b/keyboards/gh60/keymaps/robotmaxtron/config.h index bcd7534617..abaddb71f1 100644 --- a/keyboards/gh60/keymaps/robotmaxtron/config.h +++ b/keyboards/gh60/keymaps/robotmaxtron/config.h @@ -15,8 +15,8 @@ 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" diff --git a/keyboards/gh60/readme.md b/keyboards/gh60/readme.md index e477b279ce..400a81c410 100644 --- a/keyboards/gh60/readme.md +++ b/keyboards/gh60/readme.md @@ -11,7 +11,7 @@ Hardware Availability: http://blog.komar.be/projects/gh60-programmable-keyboard/ Make example for this keyboard (after setting up your build environment): - make gh60-default + make gh60: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/gherkin/README.md b/keyboards/gherkin/README.md index 210247af9a..5e0daeabf9 100644 --- a/keyboards/gherkin/README.md +++ b/keyboards/gherkin/README.md @@ -11,7 +11,7 @@ Hardware Availability: [Gherkin project on 40% Keyboards](http://www.40percent.c Make example for this keyboard (after setting up your build environment): - make gherkin-default + make gherkin: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. First pass at adding support for the gherkin keyboard. Compiles but completely diff --git a/keyboards/gonnerd/readme.md b/keyboards/gonnerd/readme.md index 388816abb0..26e4890d94 100644 --- a/keyboards/gonnerd/readme.md +++ b/keyboards/gonnerd/readme.md @@ -9,7 +9,7 @@ Hardware Availability: http://www.gonskeyboardworks.com/pcbs-and-controllers/60- Make example for this keyboard (after setting up your build environment): - make gonnerd-default + make gonnerd: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/hadron/out.txt b/keyboards/hadron/out.txt deleted file mode 100644 index 644a6a7774..0000000000 --- a/keyboards/hadron/out.txt +++ /dev/null @@ -1,66 +0,0 @@ --------- begin -------- -avr-gcc.exe (AVR_8_bit_GNU_Toolchain_3.5.0_1662) 4.9.2 -Copyright (C) 2014 Free Software Foundation, Inc. -This is free software; see the source for copying conditions. There is NO -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -Compiling: ../../keyboards/planck/planck.c [OK] -Compiling: ../../keyboards/planck/keymaps/experimental/keymap.c [WARNINGS] - | - | ../../keyboards/planck/keymaps/experimental/keymap.c: In function 'action_get_macro': - | ../../keyboards/planck/keymaps/experimental/keymap.c:227:17: warning: implicit declaration of function 'breathing_speed_set' [-Wimplicit-function-declaration] - | breathing_speed_set(2); - | ^ - | ../../keyboards/planck/keymaps/experimental/keymap.c:228:17: warning: implicit declaration of function 'breathing_pulse' [-Wimplicit-function-declaration] - | breathing_pulse(); - | ^ - | -Compiling: ../../quantum/quantum.c [OK] -Compiling: ../../quantum/keymap.c [OK] -Compiling: ../../quantum/keycode_config.c [OK] -Compiling: ../../quantum/matrix.c [OK] -Compiling: ../../quantum/audio/audio.c [OK] -Compiling: ../../quantum/audio/voices.c [OK] -Compiling: ../../quantum/audio/luts.c [OK] -Compiling: ../../tmk_core/protocol/lufa/lufa.c [OK] -Compiling: ../../tmk_core/protocol/lufa/descriptor.c [OK] -Compiling: ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Class/Common/HIDParser.c [OK] -Compiling: ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.c [OK] -Compiling: ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/EndpointStream_AVR8.c [OK] -Compiling: ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.c [OK] -Compiling: ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/Host_AVR8.c [OK] -Compiling: ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/PipeStream_AVR8.c [OK] -Compiling: ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.c [OK] -Compiling: ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.c [OK] -Compiling: ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.c [OK] -Compiling: ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/ConfigDescriptors.c [OK] -Compiling: ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/DeviceStandardReq.c [OK] -Compiling: ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/Events.c [OK] -Compiling: ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/HostStandardReq.c [OK] -Compiling: ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/USBTask.c [OK] -Compiling: ../../tmk_core/common/host.c [OK] -Compiling: ../../tmk_core/common/keyboard.c [OK] -Compiling: ../../tmk_core/common/action.c [OK] -Compiling: ../../tmk_core/common/action_tapping.c [OK] -Compiling: ../../tmk_core/common/action_macro.c [OK] -Compiling: ../../tmk_core/common/action_layer.c [OK] -Compiling: ../../tmk_core/common/action_util.c [OK] -Compiling: ../../tmk_core/common/print.c [OK] -Compiling: ../../tmk_core/common/debug.c [OK] -Compiling: ../../tmk_core/common/util.c [OK] -Compiling: ../../tmk_core/common/avr/suspend.c [OK] -Assembling: ../../tmk_core/common/avr/xprintf.S [OK] -Compiling: ../../tmk_core/common/avr/timer.c [OK] -Compiling: ../../tmk_core/common/avr/bootloader.c [OK] -Compiling: ../../tmk_core/common/magic.c [OK] -Compiling: ../../tmk_core/common/avr/eeconfig.c [OK] -Compiling: ../../tmk_core/common/mousekey.c [OK] -Compiling: ../../tmk_core/common/command.c [OK] -Compiling: ../../tmk_core/common/backlight.c [OK] -Linking: .build/planck_experimental.elf [ERRORS] - | - | .build/obj_planck_experimental/keyboards/planck/keymaps/experimental/keymap.o: In function `action_get_macro': - | C:\Users\Fred Wales\Documents\Programming\qmk_firmware\keyboards\planck/../../keyboards/planck/keymaps/experimental/keymap.c:240: undefined reference to `breathing_speed_set' - | C:\Users\Fred Wales\Documents\Programming\qmk_firmware\keyboards\planck/../../keyboards/planck/keymaps/experimental/keymap.c:241: undefined reference to `breathing_pulse' - | collect2.exe: error: ld returned 1 exit status - | diff --git a/keyboards/hadron/rules.mk b/keyboards/hadron/rules.mk index 78f86f982d..66a900825a 100644 --- a/keyboards/hadron/rules.mk +++ b/keyboards/hadron/rules.mk @@ -70,3 +70,4 @@ SLEEP_LED_ENABLE ?= no # Breathing sleep LED during USB suspend SRC = i2c.c \ ssd1306.c +DEFAULT_FOLDER = hadron/ver2 \ No newline at end of file diff --git a/keyboards/hadron/subproject.mk b/keyboards/hadron/subproject.mk deleted file mode 100644 index 546c88fefe..0000000000 --- a/keyboards/hadron/subproject.mk +++ /dev/null @@ -1 +0,0 @@ -SUBPROJECT_DEFAULT = ver2 diff --git a/keyboards/handwired/handwired.c b/keyboards/handwired/handwired.c deleted file mode 100644 index feef8a919e..0000000000 --- a/keyboards/handwired/handwired.c +++ /dev/null @@ -1 +0,0 @@ -#include "handwired.h" \ No newline at end of file diff --git a/keyboards/handwired/handwired.h b/keyboards/handwired/handwired.h deleted file mode 100644 index 7a4a4835e6..0000000000 --- a/keyboards/handwired/handwired.h +++ /dev/null @@ -1 +0,0 @@ -#include "quantum.h" \ No newline at end of file diff --git a/keyboards/handwired/kbod/readme.md b/keyboards/handwired/kbod/readme.md index 67bf711bee..d2f2c01ae8 100644 --- a/keyboards/handwired/kbod/readme.md +++ b/keyboards/handwired/kbod/readme.md @@ -9,7 +9,7 @@ For the full Quantum feature list, see [the parent readme](/). ## Building -Download or clone the whole firmware and use ```make handwired-kbod-default``` to generate the .hex file. You may flash it with avrdude +Download or clone the whole firmware and use ```make handwired/kbod:default``` to generate the .hex file. You may flash it with avrdude ## Flashing Something along this line: diff --git a/keyboards/handwired/magicforce61/README.md b/keyboards/handwired/magicforce61/README.md index 5a260f9ad1..cc86732627 100644 --- a/keyboards/handwired/magicforce61/README.md +++ b/keyboards/handwired/magicforce61/README.md @@ -19,6 +19,6 @@ The following pins are used: ## Compiling and loading the firmware -To build the firmware, run `make handwired-magicforce61`. +To build the firmware, run `make handwired/magicforce61`. Flash the firmware using the teensy loader or avrdude. diff --git a/keyboards/handwired/rules.mk b/keyboards/handwired/rules.mk deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/keyboards/handwired/traveller/rules.mk b/keyboards/handwired/traveller/rules.mk index a7f7fc230e..62f94b9452 100644 --- a/keyboards/handwired/traveller/rules.mk +++ b/keyboards/handwired/traveller/rules.mk @@ -80,10 +80,3 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID AUDIO_ENABLE = no # Audio output on port C6 RGBLIGHT_ENABLE = yes -ifndef QUANTUM_DIR - include ../../../Makefile -endif - -upload: build - $(ATREUS_UPLOAD_COMMAND) - diff --git a/keyboards/hhkb/keymaps/blakedietz/README.md b/keyboards/hhkb/keymaps/blakedietz/README.md index c0f7fde7ad..4dff47a6e8 100644 --- a/keyboards/hhkb/keymaps/blakedietz/README.md +++ b/keyboards/hhkb/keymaps/blakedietz/README.md @@ -29,7 +29,7 @@ From the hhkb directory run the following: ```bash make clean -make hhkb-blakedietz-dfu +make hhkb:blakedietz:dfu ``` Press the button on the alternate controller to put the board into boot mode. @@ -37,7 +37,7 @@ Press the button on the alternate controller to put the board into boot mode. You'll see an output similar to the following: ```bash -make hhkb-blakedietz-dfu +make hhkb:blakedietz:dfu Making hhkb with keymap blakedietz and target dfu diff --git a/keyboards/hhkb/readme.md b/keyboards/hhkb/readme.md index ee64e037a6..8774a73f77 100644 --- a/keyboards/hhkb/readme.md +++ b/keyboards/hhkb/readme.md @@ -9,6 +9,6 @@ Hardware Availability: https://geekhack.org/index.php?topic=12047.0 Make example for this keyboard (after setting up your build environment): - make hhkb-default