Ryan
aed8bace97
Fix typo in `get_git_version()` ( #12182 )
3 years ago
Zach White
6d8d20774f
improve detection of community layout support
3 years ago
Ryan
6461087c86
`qmk generate-rules-mk`: add `--escape` switch for makefile logic ( #12101 )
3 years ago
Joel Challis
f8266a228c
Migrate make_dfu_header to CLI ( #12061 )
* Migrate make_dfu_header to CLI
* lint fixes
* Update lib/python/qmk/cli/generate/dfu_header.py
Co-authored-by: Ryan <fauxpark@gmail.com>
* Rename object
Co-authored-by: Ryan <fauxpark@gmail.com>
3 years ago
Joel Challis
59c7deab09
Fix generated file output while target exists ( #12062 )
3 years ago
Zach White
0828d0f5c7
Fix compile errors ( #12048 )
* fix compile errors
* fix broken json files
3 years ago
Zach White
1581ea48dc
Fix develop ( #12039 )
Fixes file encoding errors on Windows, and layouts not correctly merging into info.json.
* force utf8 encoding
* correctly merge layouts and layout aliases
* show what aliases point to
3 years ago
Zach White
23ef327e11
make LAYOUT parsing more robust
3 years ago
Stefan Schulze
4a10dfb54d
Fix submodule check for qmk setup ( #11379 )
The initialization of the submodules would succeed, but the result of the subsequent
check_submodules() run wasn't checked correctly.
Co-authored-by: Stefan Schulze <stefan.andre.schulze@posteo.de>
3 years ago
Zach White
cd336b2b54
bump to python 3.7 ( #11408 )
3 years ago
Zach White
448cc1acd5
remove deprecated qmk json-keymap ( #11823 )
3 years ago
Joel Challis
ccc9c43161
Allow flash/compile to accept relative json paths ( #11767 )
* Allow flash/compile to accept relative paths
* Review suggestions
* Review comments
* Put back exists check otherwise stdin fails
* fix lint
3 years ago
Nick Brassel
620a946d01
Add STM32G431 and STM32G474 board definitions. ( #11793 )
* Add STM32G431 and STM32G474 board definitions.
* Add docs.
3 years ago
Erovia
7db826dce8
CLI: Fix json flashing ( #11765 )
3 years ago
Zach White
ef6329af7c
Create a system to map between info.json and config.h/rules.mk ( #11548 )
* generate rules.mk from a json mapping
* generate rules.mk from a json mapping
* support for config.h from json maps
* improve the mapping system
* document the mapping system
* move data/maps to data/mappings
* fix flake8 errors
* fixup LED_MATRIX_DRIVER
* remove product and description from the vision_division keymap level
* reduce the complexity of generate-rules-mk
* add tests for the generate commands
* fix qmk doctor when submodules are not clean
3 years ago
Dasky
d92ffd1157
Adds AT90USB162 support ( #11570 )
* at90usb162 support
* fix missing bracket
* Apply suggestions from code review
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
3 years ago
Nick Brassel
bdb757e189
ChibiOS conf migrations... take 11 ( #11646 )
* Allow forcing re-migration.
* ChibiOS conf upgrade for acheron/arctic
acheron/arctic - 2aedbe9103
* ChibiOS conf upgrade for acheron/austin
acheron/austin - c2f4e3b7fc
* ChibiOS conf upgrade for acheron/keebspcb
acheron/keebspcb - 1ba976e409
* ChibiOS conf upgrade for acheron/lasgweloth
acheron/lasgweloth - 01a2e70d0d
* ChibiOS conf upgrade for aeboards/ext65/rev2
aeboards/ext65/rev2 - 3c9a45cafb
* ChibiOS conf upgrade for ai03/vega
ai03/vega - 1bd0dfccb9
* ChibiOS conf upgrade for akegata_denki/device_one
akegata_denki/device_one - a013823188
* ChibiOS conf upgrade for at_at/660m
at_at/660m - 9999583e8b
* ChibiOS conf upgrade for box75
box75 - 1126206109
* ChibiOS conf upgrade for bt66tech/bt66tech60
bt66tech/bt66tech60 - b69120638a
* ChibiOS conf upgrade for cannonkeys/an_c
cannonkeys/an_c - c755f6caac
* ChibiOS conf upgrade for cannonkeys/atlas
cannonkeys/atlas - 1a18c55492
* ChibiOS conf upgrade for cannonkeys/chimera65
cannonkeys/chimera65 - 6bf226ef35
* ChibiOS conf upgrade for cannonkeys/db60
cannonkeys/db60 - 07e3246f8e
* ChibiOS conf upgrade for cannonkeys/devastatingtkl
cannonkeys/devastatingtkl - 907d258e29
* ChibiOS conf upgrade for cannonkeys/instant60
cannonkeys/instant60 - ac876ff674
* ChibiOS conf upgrade for cannonkeys/instant65
cannonkeys/instant65 - 3b8c89ec5f
* ChibiOS conf upgrade for cannonkeys/iron165
cannonkeys/iron165 - 0814ec4067
* ChibiOS conf upgrade for cannonkeys/obliterated75
cannonkeys/obliterated75 - 0f376e5d9a
* ChibiOS conf upgrade for cannonkeys/onyx
cannonkeys/onyx - d35134ebe0
* ChibiOS conf upgrade for cannonkeys/ortho48
cannonkeys/ortho48 - 828dbfbb01
* ChibiOS conf upgrade for cannonkeys/ortho60
cannonkeys/ortho60 - 2aca4dd423
* ChibiOS conf upgrade for cannonkeys/ortho75
cannonkeys/ortho75 - 4af8aaaded
* ChibiOS conf upgrade for cannonkeys/practice60
cannonkeys/practice60 - e01df551d9
* ChibiOS conf upgrade for cannonkeys/practice65
cannonkeys/practice65 - 156163789d
* ChibiOS conf upgrade for cannonkeys/rekt1800
cannonkeys/rekt1800 - 15882afb63
* ChibiOS conf upgrade for cannonkeys/sagittarius
cannonkeys/sagittarius - f49fee611f
* ChibiOS conf upgrade for cannonkeys/satisfaction75
cannonkeys/satisfaction75 - 2c9fbbea3a
* ChibiOS conf upgrade for cannonkeys/savage65
cannonkeys/savage65 - ddd764be36
* ChibiOS conf upgrade for cannonkeys/tmov2
cannonkeys/tmov2 - 7af36cd2a4
* ChibiOS conf upgrade for cannonkeys/tsukuyomi
cannonkeys/tsukuyomi - a120bea5da
* ChibiOS conf upgrade for cheshire/curiosity
cheshire/curiosity - 93d8fe3b7a
* ChibiOS conf upgrade for coarse/cordillera
coarse/cordillera - 7d986d3f53
* ChibiOS conf upgrade for converter/siemens_tastatur
converter/siemens_tastatur - 3f79f1467b
* ChibiOS conf upgrade for cutie_club/borsdorf
cutie_club/borsdorf - f8c6015b7a
* ChibiOS conf upgrade for dekunukem/duckypad
dekunukem/duckypad - d9c162d086
* ChibiOS conf upgrade for ebastler/isometria_75/rev1
ebastler/isometria_75/rev1 - 2ecdd00b8c
* ChibiOS conf upgrade for ergodox_infinity
ergodox_infinity - 76736c701d
* ChibiOS conf upgrade for ergodox_stm32
ergodox_stm32 - a7bdb0b782
* ChibiOS conf upgrade for function96
function96 - 1b9e394a86
* ChibiOS conf upgrade for geekboards/macropad_v2
geekboards/macropad_v2 - de261e46a4
* ChibiOS conf upgrade for generic_panda/panda65_01
generic_panda/panda65_01 - 592d244303
* ChibiOS conf upgrade for handwired/ck4x4
handwired/ck4x4 - 9d7d4af7f2
* ChibiOS conf upgrade for handwired/onekey/blackpill_f401
handwired/onekey/blackpill_f401 - c9257a3020
* ChibiOS conf upgrade for handwired/onekey/blackpill_f411
handwired/onekey/blackpill_f411 - dfccc2c6b2
* ChibiOS conf upgrade for handwired/onekey/bluepill
handwired/onekey/bluepill - 393f4b94e9
* ChibiOS conf upgrade for handwired/onekey/stm32f0_disco
handwired/onekey/stm32f0_disco - d827881f9b
* ChibiOS conf upgrade for handwired/onekey/teensy_32
handwired/onekey/teensy_32 - dd90f6c823
* ChibiOS conf upgrade for handwired/onekey/teensy_lc
handwired/onekey/teensy_lc - 34596f2eeb
* ChibiOS conf upgrade for handwired/pill60/blackpill_f401
handwired/pill60/blackpill_f401 - 20bbccb505
* ChibiOS conf upgrade for handwired/pill60/blackpill_f411
handwired/pill60/blackpill_f411 - e03a4c3ec3
* ChibiOS conf upgrade for handwired/pill60/bluepill
handwired/pill60/bluepill - 2fb721fb43
* ChibiOS conf upgrade for handwired/riblee_f401
handwired/riblee_f401 - 2823cd98d6
* ChibiOS conf upgrade for handwired/riblee_f411
handwired/riblee_f411 - 5cf7589c9a
* ChibiOS conf upgrade for handwired/sono1
handwired/sono1 - d972acee03
* ChibiOS conf upgrade for handwired/t111
handwired/t111 - f947c1d590
* ChibiOS conf upgrade for handwired/twadlee/tp69
handwired/twadlee/tp69 - 48ab62464b
* ChibiOS conf upgrade for handwired/z150
handwired/z150 - 35e8569684
* ChibiOS conf upgrade for hub20
hub20 - f094036a18
* ChibiOS conf upgrade for iron180
iron180 - 5efb6f21c8
* ChibiOS conf upgrade for jm60
jm60 - dbbdbe8b27
* ChibiOS conf upgrade for keebio/bdn9/rev2
keebio/bdn9/rev2 - 0031632523
* ChibiOS conf upgrade for keebio/choconum
keebio/choconum - 4484ef6936
* ChibiOS conf upgrade for matrix/m20add
matrix/m20add - 6068aeff5b
* ChibiOS conf upgrade for matrix/noah
matrix/noah - fcde175fb1
* ChibiOS conf upgrade for misterknife/knife66
misterknife/knife66 - e7f3ceffb9
* ChibiOS conf upgrade for misterknife/knife66_iso
misterknife/knife66_iso - ee027db939
* ChibiOS conf upgrade for nebula12
nebula12 - 2f3a25b667
* ChibiOS conf upgrade for nemui
nemui - 4030faa372
* ChibiOS conf upgrade for nibiria/stream15
nibiria/stream15 - fd7b09affa
* ChibiOS conf upgrade for nightingale_studios/hailey
nightingale_studios/hailey - 496a44b2f7
* ChibiOS conf upgrade for planck/rev6
planck/rev6 - 6fb8f0bc21
* ChibiOS conf upgrade for primekb/meridian
primekb/meridian - 8021ed99e8
* ChibiOS conf upgrade for projectkb/alice
projectkb/alice - ad7678d475
* ChibiOS conf upgrade for projectkb/signature87
projectkb/signature87 - de61338b0a
* ChibiOS conf upgrade for ramonimbao/squishy65
ramonimbao/squishy65 - 2ea1a8b18c
* ChibiOS conf upgrade for ramonimbao/wete
ramonimbao/wete - a80b3b309f
* ChibiOS conf upgrade for rart/rartlice
rart/rartlice - c8c80c3024
* ChibiOS conf upgrade for retro_75
retro_75 - 7434e266bb
* ChibiOS conf upgrade for rocketboard_16
rocketboard_16 - 1182a8730a
* ChibiOS conf upgrade for satt/vision
satt/vision - c85a28a8d7
* ChibiOS conf upgrade for technika
technika - 7c59de348f
* ChibiOS conf upgrade for tkc/godspeed75
tkc/godspeed75 - e447b39dca
* ChibiOS conf upgrade for tkw/stoutgat/v2/f411
tkw/stoutgat/v2/f411 - 58e9b90937
* ChibiOS conf upgrade for viktus/styrka
viktus/styrka - 36bf0921be
* ChibiOS conf upgrade for westfoxtrot/prophet
westfoxtrot/prophet - 80036c8f98
* ChibiOS conf upgrade for whitefox
whitefox - c9eccac019
* ChibiOS conf upgrade for wolfmarkclub/wm1
wolfmarkclub/wm1 - 0d22a42625
* ChibiOS conf upgrade for xelus/kangaroo
xelus/kangaroo - fdb1ffb66f
* ChibiOS conf upgrade for xelus/trinityxttkl
xelus/trinityxttkl - a9641e5b39
* ChibiOS conf upgrade for xelus/valor_frl_tkl
xelus/valor_frl_tkl - 6c3b577852
* ChibiOS conf upgrade for xiaomi/mk02
xiaomi/mk02 - 4c1406ebfe
* ChibiOS conf upgrade for zoo/wampus
zoo/wampus - 930c903e85
* ChibiOS conf upgrade for zvecr/split_blackpill
zvecr/split_blackpill - c0e3e15832
3 years ago
Zach White
111eb8990d
Fix QMK_BUILDDATE ( #11641 )
3 years ago
Nick Brassel
78fe155b72
Fix up comments showing how to execute config migration. ( #11621 )
3 years ago
Nick Brassel
a7c45daeb8
ChibiOS 20.3.2 ( #11495 )
* Update ChibiOS submodule
* Update ChibiOS-Contrib submodule
* Update ChibiOS config files
3 years ago
Zach White
da40242dbc
Generate version.h when compiling json files ( #11581 )
* generate version.h when compiling json files
* make flake8 happy
* fix formatting and verbose
* quiet up the compile output
3 years ago
Zach White
d9785ec313
Improve the compile and flash subcommands ( #11334 )
* add support for --clean to compile and flash
* compile standalone JSON keymaps without polluting the tree
* Add support for passing environment vars to make
* make flake8 happy
* document changes to qmk compile and flash
* add -e support to json export compiling
* Fix python 3.6
* honor $MAKE
* add support for parallel builds
3 years ago
Zach White
eaa9106ec7
Add support for specifying BOARD in info.json ( #11492 )
* add support for specifying BOARD in info.json
* move BOARD from rules.mk to info.json for clueboard
* fix keyboards that do not require board
* remove out of compliance values
3 years ago
Zach White
962bc8d9dd
Use the schema to eliminate custom code ( #11108 )
* use the schema to eliminate custom code
* Update docs/reference_info_json.md
Co-authored-by: Ryan <fauxpark@gmail.com>
* make flake8 happy
* bugfix
* do not overwrite make vars from json
Co-authored-by: Ryan <fauxpark@gmail.com>
3 years ago
Zach White
e2c7f89347
typo fix
3 years ago
Zach White
58fcdf8c07
remove extraneous comment
3 years ago
Zach White
30331b383f
fix bugs triggered by certain boards
3 years ago
Zach White
e2e793c1c3
Revert "change invalid pin from error to warning"
This reverts commit 68da9cd196
.
3 years ago
Zach White
b44532aa3d
change invalid pin from error to warning
3 years ago
Zach White
9a178f6826
fix rgblight properties
3 years ago
Zach White
56ef80216a
make flake8 happy
3 years ago
Zach White
b2c26f7cdd
get qmk generate-api into a good state
3 years ago
Zach White
ededff8556
validate keyboard data with jsonschema
3 years ago
Joel Challis
f03b10b6c1
Migrate python tests away from onekey ( #11367 )
* Migrate python tests away from onekey
* Add stub files to stop lint complaints
* Make all the pytest keymaps compile
3 years ago
Zach White
6daa204363
fix keyboards with apostrophes in their names
3 years ago
Zach White
11bd98f684
Fix broken keyboards ( #11412 )
* Fix a couple errors
* add a dependency for the generated headers
3 years ago
Zach White
f27d8d9448
Fix compiling on develop ( #11409 )
3 years ago
Zach White
c07543133a
Return the make exit code for qmk compile and flash ( #11402 )
3 years ago
Zach White
47b9b11009
Configure keyboard matrix from info.json ( #10817 )
* Make parameters from info.json available to the build system
* move all clueboard settings to info.json
* code formatting
* make flake8 happy
* make flake8 happy
* make qmk lint happy
* Add support for specifying led indicators in json
* move led indicators to the clueboard info.json
* Apply suggestions from code review
Co-authored-by: Erovia <Erovia@users.noreply.github.com>
* add missing docstring
Co-authored-by: Erovia <Erovia@users.noreply.github.com>
3 years ago
LongerHV
221d8fd866
[CLI] Add stdin support for json2c command ( #11289 )
* Implement stdin for json2c command
* Refactor
* Handle json decode error
* Add stdin support for c2json cli command
* Refactor to prevent code duplication
* Change exit(1) to return False in c2json command
* Remove unused import
3 years ago
Ryan
6a292e11d3
`qmk fileformat`: only print complaints, and fix some of them ( #11278 )
3 years ago
Erovia
a380a26ad2
Split of the doctor codebase ( #11255 )
Co-authored-by: Ryan <fauxpark@gmail.com>
3 years ago
Ryan
0239ce025a
Doctor: add check for .git folder ( #11208 )
Co-authored-by: Erovia <Erovia@users.noreply.github.com>
3 years ago
Zach White
624cafbfd2
Change keyboard json format to bring it inline with the current api ( #11231 )
3 years ago
Zach White
bded5f473c
simplify qmk doctor to make room for #11208 ( #11242 )
3 years ago
Ryan
37fb14f1b5
CLI-ify rgblight_breathing_table_calc.c ( #11174 )
Co-authored-by: Takeshi ISHII <2170248+mtei@users.noreply.github.com>
Co-authored-by: Zach White <skullydazed@drpepper.org>
3 years ago
Joel Challis
1ebd243cdc
CI automated format fixes ( #11179 )
* Format all C files for now, till diff logic works within CI
* Fix recursion of dos2unix
3 years ago
Joel Challis
5b5d74a267
Fix warning logic when running 'qmk format -a' ( #11177 )
3 years ago
Joel Challis
6c4b6531fe
CI: Add workflow for codebase formatting ( #7382 )
* Add workflow for codebase formatting
* stash
* review comments
* Swap to a more complete push action
3 years ago
Zach White
8724a70c4c
Reduce travis load by replacing an exclusive grep with an inclusive grep ( #10964 )
* add -n to avoid compiling
* switch to an include rather than exclude strategy
3 years ago