]> git.donarmstrong.com Git - qmk_firmware.git/commit
QMK CLI and JSON keymap support (#6176)
authorskullydazed <skullydazed@users.noreply.github.com>
Mon, 15 Jul 2019 19:14:27 +0000 (12:14 -0700)
committerGitHub <noreply@github.com>
Mon, 15 Jul 2019 19:14:27 +0000 (12:14 -0700)
commita25dd58bc56b0c4010673723ac44eaff914979bb
treee4c08289df1b72db4ef8447ab7fdc13f604cffac
parent7ba82cb5b751d69dda6cc77ec8877c89defad3e4
QMK CLI and JSON keymap support (#6176)

* Script to generate keymap.c from JSON file.

* Support for keymap.json

* Add a warning about the keymap.c getting overwritten.

* Fix keymap generating

* Install the python deps

* Flesh out more of the python environment

* Remove defunct json2keymap

* Style everything with yapf

* Polish up python support

* Hide json keymap.c into the .build dir

* Polish up qmk-compile-json

* Make milc work with positional arguments

* Fix a couple small things

* Fix some errors and make the CLI more understandable

* Make the qmk wrapper more robust

* Add basic QMK Doctor

* Clean up docstrings and flesh them out as needed

* remove unused compile_firmware() function
34 files changed:
.editorconfig
.gitignore
bin/qmk [new file with mode: 0755]
bin/qmk-compile-json [new symlink]
bin/qmk-doctor [new symlink]
bin/qmk-hello [new symlink]
bin/qmk-json-keymap [new symlink]
build_json.mk [new file with mode: 0644]
build_keyboard.mk
docs/_summary.md
docs/cli.md [new file with mode: 0644]
docs/coding_conventions_c.md [new file with mode: 0644]
docs/coding_conventions_python.md [new file with mode: 0644]
docs/contributing.md
docs/python_development.md [new file with mode: 0644]
keyboards/clueboard/66_hotswap/keymaps/json/keymap.json [new file with mode: 0644]
lib/python/milc.py [new file with mode: 0644]
lib/python/qmk/__init__.py [new file with mode: 0644]
lib/python/qmk/cli/compile/__init__.py [new file with mode: 0644]
lib/python/qmk/cli/compile/json.py [new file with mode: 0755]
lib/python/qmk/cli/doctor.py [new file with mode: 0755]
lib/python/qmk/cli/hello.py [new file with mode: 0755]
lib/python/qmk/cli/json/__init__.py [new file with mode: 0644]
lib/python/qmk/cli/json/keymap.py [new file with mode: 0755]
lib/python/qmk/errors.py [new file with mode: 0644]
lib/python/qmk/keymap.py [new file with mode: 0644]
lib/python/qmk/path.py [new file with mode: 0644]
requirements.txt [new file with mode: 0644]
setup.cfg [new file with mode: 0644]
util/freebsd_install.sh
util/linux_install.sh
util/macos_install.sh
util/msys2_install.sh
util/wsl_install.sh