Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial pass at data driven new-keyboard subcommand #12795

Merged
merged 4 commits into from
Feb 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
134 changes: 0 additions & 134 deletions data/templates/avr/config.h

This file was deleted.

18 changes: 0 additions & 18 deletions data/templates/avr/rules.mk

This file was deleted.

4 changes: 0 additions & 4 deletions data/templates/base/%(KEYBOARD)s.c

This file was deleted.

22 changes: 0 additions & 22 deletions data/templates/base/%(KEYBOARD)s.h

This file was deleted.

17 changes: 0 additions & 17 deletions data/templates/base/info.json

This file was deleted.

22 changes: 0 additions & 22 deletions data/templates/base/keymaps/default/keymap.c

This file was deleted.

1 change: 0 additions & 1 deletion data/templates/base/keymaps/default/readme.md

This file was deleted.

24 changes: 24 additions & 0 deletions data/templates/keyboard/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"keyboard_name": "%KEYBOARD%",
"maintainer": "%USER_NAME%",
"processor": "%MCU%",
"bootloader": "%BOOTLOADER%",
"diode_direction": "COL2ROW",
"matrix_pins": {
"cols": ["C2"],
"rows": ["D1"]
},
"usb": {
"vid": "0xFEED",
"pid": "0x0000",
"device_ver": "0x0001"
},
"features": {
"bootmagic_lite": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": true
}
}
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# %(KEYBOARD)s
# %KEYBOARD%

![%(KEYBOARD)s](imgur.com image replace me!)
![%KEYBOARD%](imgur.com image replace me!)

*A short description of the keyboard/project*

* Keyboard Maintainer: [%(YOUR_NAME)s](https://github.com/%(USER_NAME)s)
* Keyboard Maintainer: [%REAL_NAME%](https://github.com/%USER_NAME%)
* Hardware Supported: *The PCBs, controllers supported*
* Hardware Availability: *Links to where you can find this hardware*

Make example for this keyboard (after setting up your build environment):

make %(KEYBOARD)s:default
make %KEYBOARD%:default

Flashing example for this keyboard:

make %(KEYBOARD)s:default:flash
make %KEYBOARD%:default:flash

See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).

Expand Down
1 change: 1 addition & 0 deletions data/templates/keyboard/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# This file intentionally left blank