Zach White
81b17125eb
fix after rebase
2021-09-09 08:33:41 -07:00
Zach White
6f4742bde6
log output tweaks
2021-08-29 17:10:26 -07:00
Zach White
4fadb98a02
cleanup output
2021-08-29 17:10:26 -07:00
Zach White
335dd3c5c3
ensure parallel is string
2021-08-29 17:10:26 -07:00
Zach White
dcbfdb5cfc
lru_cache everywhere
2021-08-29 17:10:26 -07:00
Zach White
823a74ebae
add support for building multiple keyboards in parallel
2021-08-29 17:09:52 -07:00
Zach White
08b0ecb175
compile matching boards as we find them, not after building the whole list
2021-08-29 17:09:51 -07:00
Zach White
b4e18c9019
Track mtimes for info.json files
...
This allows us to skip validation when the file has not been changed
since the last time it was validated.
2021-08-29 17:09:51 -07:00
Zach White
07b8035ba9
do some optimizing
2021-08-29 17:09:51 -07:00
Zach White
4f20c94b97
unify the compile and flash commands
2021-08-29 17:09:51 -07:00
Zach White
ea862e24f6
refactor the compile code into commands.py
2021-08-29 17:09:08 -07:00
Zach White
d3ed6fa8a4
eliminate the need for -kb all
2021-08-29 17:06:11 -07:00
Zach White
50fdb2a52c
Rework qmk compile
to bypass Makefile
. Add new --filter option.
2021-08-29 17:06:11 -07:00
Zach White
596c4a1f87
Remove bin/qmk ( #14231 )
...
* Remove the bin/qmk script
* remove bin/qmk from workflows
2021-08-29 16:50:22 -07:00
QMK Bot
b46064a891
Merge remote-tracking branch 'origin/master' into develop
2021-08-29 23:47:04 +00:00
Zach White
baa423004a
ensure that the directory for sys.executable is in the user's path ( #14229 )
2021-08-29 16:46:36 -07:00
Zach White
c729df09ca
fix automatic directory for qmk lint ( #14215 )
2021-08-28 23:02:31 -07:00
Zach White
566d598516
Add check for non-assignment code in rules.mk ( #12108 )
...
* Add check for non-assignment code in rules.mk
* fix lint check
* fix lint
* fixup to reflect the final state of #8422
* fix lint
2021-08-29 12:37:55 +10:00
Zach White
f155865804
remove qmk console, which is now part of the global cli ( #14206 )
2021-08-29 11:27:57 +10:00
Nick Brassel
4bad375d7c
2021Q3 pre-merge develop
changelog, keyboard aliases ( #14198 )
...
* Initial changelog.
* Data driven.
* Submodule update.
* Updated breaking changes docs.
* Aliases.
* Aliases.
2021-08-29 08:18:18 +10:00
Joel Challis
2cade3a483
Align some quantum sub-directories ( #14134 )
...
* Misc folder tidy
* Review comments
* Remove redundant entry
2021-08-24 17:07:11 +01:00
Zach White
1ec6ce8c37
Merge remote-tracking branch 'origin/master' into develop
...
Resolved Conflicts:
lib/python/qmk/info.py
2021-08-20 08:22:41 -07:00
Joel Challis
c1add5d0e2
Restore layout count validation ( #14068 )
2021-08-20 08:16:59 -07:00
Joel Challis
2e734fb6b9
Add config.h and rules.mk support for data driven keymaps ( #12859 )
...
* Add config.h and rules.mk support for data driven keymaps
* tidy up after rebase
* Rename key as it can contain more than just keyboard overrides
* tidy up after rebase
* Add validation
2021-08-18 21:52:41 +01:00
Ryan
b16091659c
Move USB Host Shield and Arduino core to lib/
( #13973 )
2021-08-18 18:20:25 +10:00
ruro
3b28178deb
--parallel
improvements (#13800 )
...
* improve make parallel jobs support
* document the --parallel option
* disable the output-sync for interactive targets
2021-08-18 08:46:59 +10:00
Drashna Jaelre
85351dc23d
[CLI] Add qmk-hid bootloader detection support to qmk console
( #14038 )
...
* [CLI] Add qmk-hid bootloader detection support to `qmk console`
* Remove duplicate entry
Co-authored-by: Ryan <fauxpark@gmail.com>
* Begrudgingly add lufa-ms
* Add udev rules for hid bootloaders
* Update util/udev/50-qmk.rules
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
* Fix VID/PID combos
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
2021-08-18 04:13:54 +10:00
Zach White
8d9bfdc254
Add a lot more data to info.json ( #13366 )
...
* add some split data to info.json
* add tags
* add half of config_options.md to info.json
* add support for designating master split
* sort out split transport and primary
* fix bad data in UNUSED_PINS
* fixup custom transport
* wip
* allow for setting split right half keyboard matrix
* add SPLIT_USB_DETECT
* minor cleanup
* fix an erroneous message
* rework split.usb_detect
* adding missing rgblight vars to info.json
* add mouse_key to info.json
* add all remaining options from docs/config_options.md
* fix audio voices
* qmk info: Change text output to use dotted notation
* tweak layout output
* resolve alias names
* break out some functions to make flake8 happy
* add a field for bootloader instructions
* qmk generate-info-json: add a write-to-file argument
Adds an argument that instructs qmk generate-info-json to write the output to a file instead of just to the terminal.
* -arg_only, +action
Because it was never my intention that one would have to specify a value for the argument that enables writing the file.
* Bring qmk generate-info-json inline with other generate commands
* pytest fixup
* fix esca/getawayvan
* fix data driven errors for bpiphany converters
* features.force_nkro -> usb.force_nkro
* split.primary->split.main
* fix esca/getawayvan_f042
* fix the bpiphany converters for real
* fix bpiphany/tiger_lily
* Apply suggestions from code review
Co-authored-by: Nick Brassel <nick@tzarc.org>
* fix generate-api errors
* fix matrix pin extraction for split boards
* fix ploopyco/trackball_nano/rev1_001
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
Co-authored-by: Nick Brassel <nick@tzarc.org>
2021-08-16 23:33:30 +01:00
Zach White
fd340f8957
Defer the expensive search for layout macros until info.json has been processed ( #14007 )
...
* defer the expensive search for layout macros until info.json has been processed
* fixup names
2021-08-16 06:30:58 +10:00
QMK Bot
cdba934f86
Merge remote-tracking branch 'origin/master' into develop
2021-08-13 17:38:51 +00:00
Zach White
4742a3a48f
use sudo to install modules if needed ( #13984 )
2021-08-13 10:38:05 -07:00
QMK Bot
d888ac17ea
Merge remote-tracking branch 'origin/master' into develop
2021-08-10 14:48:55 +00:00
Zach White
ed84a4e7e3
Improve the qmk lint readme check ( #13941 )
...
* improve lint readme check
* improve if
2021-08-10 07:48:22 -07:00
Zach White
12681bacc4
Merge remote-tracking branch 'origin/master' into develop
...
Conflicts:
keyboards/kbdfans/kbd67/mkiirgb/mkiirgb.c
2021-08-09 08:34:14 -07:00
Zach White
e6c171bdd6
Fix generate api ( #13930 )
...
* Add missing returncode to exit()
* fix the aozora/hotswap vendor id
2021-08-09 08:28:51 -07:00
Zach White
5eb0e406fd
make json imports more robust ( #13928 )
2021-08-09 08:27:02 -07:00
thpoll83
b43c6bc176
Add support for STM32F407x MCUs. ( #13718 )
...
* Add support for STM32F407x MCUs.
* Removing STMF407 MCU variation
* Update quantum/mcu_selection.mk
Remove options for dfu flashing
Co-authored-by: Ryan <fauxpark@gmail.com>
* DISABLE STM32_USB_USE_OTG1
* Update platforms/chibios/GENERIC_STM32_F407XE/configs/mcuconf.h
Co-authored-by: Drashna Jaelre <drashna@live.com>
* Update platforms/chibios/GENERIC_STM32_F407XE/configs/mcuconf.h
Co-authored-by: thomas.pollak <thomas.pollak@dynatrace.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Nick Brassel <nick@tzarc.org>
2021-08-09 06:52:13 +10:00
Nick Brassel
f24bca5bb3
Update ChibiOS-Contrib, mirroring script. ( #13896 )
2021-08-06 16:40:12 +10:00
Joel Challis
5bbc527460
Bump gtest ( #13885 )
...
* Bump gtest
* Pin to latest release
2021-08-05 10:46:14 +10:00
Drashna Jaelre
f587ee5b5b
Update LUFA Submodule (2021-07-30) ( #13819 )
2021-07-31 06:08:44 -07:00
ruro
52dad230d6
[CLI] Make qmk doctor
more lenient about system config ( #13804 )
2021-07-30 21:43:42 -07:00
Ryan
b021c2f2c5
Port new_keyboard.sh to CLI ( #13706 )
...
Co-authored-by: Erovia <Erovia@users.noreply.github.com>
2021-07-30 21:57:40 +01:00
QMK Bot
4735aab75b
Merge remote-tracking branch 'origin/master' into develop
2021-07-30 13:48:29 +00:00
Ryan
8b39a3c484
qmk docs
: Add flag to open in browser (#13788 )
...
* `qmk docs`: Add flag to open in browser
* Add docs
2021-07-30 14:47:34 +01:00
Ryan
25f43837d2
Remove references to info.json width
and height
in CLI ( #13728 )
2021-07-29 22:37:18 -07:00
Drashna Jaelre
71e9f8fc11
Update LUFA (18-07-2021) and add QMK-HID Bootloader support ( #13588 )
...
Co-authored-by: Ryan <fauxpark@gmail.com>
2021-07-24 23:00:57 -07:00
Erovia
fdcea06336
CLI/Docs: Fix the format commands' name ( #13668 )
...
PR #13296 changed the name of the `cformat` and `pyformat` commands to
`format-c` and `format-py` respectively. This PR updates the documentation
and some parts of the CLI to use the new names.
Also add documentation for the new `format-text` subcommand, introduced
in the same PR.
2021-07-23 21:41:33 +01:00
Zach White
4ab8734d6e
Move all our CLI file formatters to the format dir ( #13296 )
...
* move all our file formatters to the format dir
* Apply suggestions from code review
Co-authored-by: Erovia <Erovia@users.noreply.github.com>
Co-authored-by: Erovia <Erovia@users.noreply.github.com>
2021-07-20 11:52:14 -07:00
Zach White
44d322623e
Merge remote-tracking branch 'origin/master' into develop
...
Resolved Conflicts:
keyboards/checkerboards/nop60/info.json
2021-07-14 10:30:28 -07:00
Zach White
ffdfe3798b
switch to qmk-dotty-dict ( #13460 )
2021-07-14 09:08:48 -07:00