summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add lint check for keyboard/keymap license header (#19215)Joel Challis2022-12-091-0/+34
|
* Ignore some layout macro names from lint (#19207)Joel Challis2022-11-301-5/+16
|
* Extend layout lint checks (#19200)Joel Challis2022-11-301-53/+46
| | | | | | | | | | | * Extend layout lint checks * Apply suggestions from code review Co-authored-by: Ryan <fauxpark@gmail.com> * Fix function comment Co-authored-by: Ryan <fauxpark@gmail.com>
* Revert lib/usbhost changes (#19165)Joel Challis2022-11-275-5/+5
|
* Merge remote-tracking branch 'origin/master' into developQMK Bot2022-11-251-1/+1
|\
| * Fix build failures for `bastardkb/tbk` and `jels/boaty` (#19152)Ryan2022-11-251-1/+1
| |
* | Additional DD backlight config (#19124)Joel Challis2022-11-231-1/+1
| | | | | | | | | | * Additional dd backlight config * Update docs
* | Publish constants metadata to API (#19143)Joel Challis2022-11-231-0/+20
| | | | | | | | | | * Publish metadata * Ensure content is sorted
* | Revert "Add pointing device support to data driven config (#18215)" (#19063)Drashna Jaelre2022-11-151-13/+0
| |
* | Add pointing device support to data driven config (#18215)Drashna Jaelre2022-11-141-0/+13
| | | | | | Co-authored-by: Joel Challis <git@zvecr.com>
* | Reject json with duplicate keys? (#18108)Joel Challis2022-11-091-2/+13
| |
* | Improve LED config parsing error messages (#19007)Ryan2022-11-091-2/+2
| |
* | Add raw output option for QGF/QFF files. (#18998)Nick Brassel2022-11-082-2/+17
| |
* | Publish hjson files as json (#18996)Joel Challis2022-11-081-1/+18
| |
* | Format DD mappings and schemas (#18924)Ryan2022-11-087-9/+9
| |
* | Macro keycode name refactoring (#18958)Nick Brassel2022-11-052-3/+3
| |
* | Initial DD keycode migration (#18643)Joel Challis2022-11-054-0/+160
| | | | | | | | | | * Initial DD keycode migration * Sort magic keycodes
* | Add converter support to keymap.json (#18776)Joel Challis2022-10-202-2/+7
| |
* | [CLI] Ensure consistent clean behaviour (#18781)Joel Challis2022-10-203-100/+91
| |
* | Build correctly when out of tree (#18775)Joel Challis2022-10-192-18/+30
| |
* | Correctly build keymap.json containing additional config (#18766)Joel Challis2022-10-191-5/+4
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2022-10-121-7/+0
|\|
| * Remove unused LED_INDICATORS constant (#18686)Joel Challis2022-10-121-7/+0
| |
* | [Bug] Update ChibiOS-Contrib for USB IRQ and bus handling fixes (#18574)Stefan Kerkmann2022-10-031-0/+0
| |
* | Generate DD RGBLight/LED/RGB Matrix animation defines (#18459)Ryan2022-09-261-0/+15
| |
* | Update chibios-contrib for RP2040 i2c fixes take 2 (#18455)Stefan Kerkmann2022-09-221-0/+0
| | | | | | | | ...includes missing system locking inside a timeout waiting condition and updates to the rp2040 linker file.
* | Normalise info_config.h define generation (#18439)Ryan2022-09-212-93/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | * Normalise info_config.h define generation * format * Fix tests * Update lib/python/qmk/cli/generate/config_h.py Co-authored-by: Nick Brassel <nick@tzarc.org> Co-authored-by: Nick Brassel <nick@tzarc.org>
* | Fix incorrect g_led_config generation (#18431)Ryan2022-09-211-12/+16
| |
* | Update ChibiOS to latest 21.11.2 (#18428)Stefan Kerkmann2022-09-201-0/+0
| | | | | | | | This includes a hotfix for RP2040 deadlocks due to XIP cache misses in the ChibiOS virtual timer implementation.
* | Update pico-sdk to version 1.4.0 (#18423)Stefan Kerkmann2022-09-191-0/+0
| | | | | | ...which contains fixes for GCC warnings.
* | Tidy up LAYOUT macro generation (#18262)Joel Challis2022-09-194-101/+59
| |
* | [Core] Add getreuer's Autocorrect feature to core (#15699)Drashna Jaelre2022-09-172-0/+290
| | | | | | Co-authored-by: Albert Y <76888457+filterpaper@users.noreply.github.com>
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2022-09-161-1/+17
|\|
| * Add ability to remove temporary files during multibuild. (#18381)Nick Brassel2022-09-161-1/+17
| |
* | Disconnect `usb.device_ver` (#18259)Ryan2022-09-162-20/+0
| |
* | Merge remote-tracking branch 'origin/master' into developJoshua Diamond2022-09-121-1/+1
|\|
| * Fix '_RIGHT' matrix pins lint error (#18320)Joel Challis2022-09-091-1/+1
| |
* | Move bootloader.mk to platforms (#18228)Ryan2022-08-312-7/+1
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2022-08-311-1/+1
|\|
| * `qmk lint`: fix TypeError (#18226)Ryan2022-08-311-1/+1
| |
* | Use a macro to compute the size of arrays at compile time (#18044)Jeff Epler2022-08-305-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add ARRAY_SIZE and CEILING utility macros * Apply a coccinelle patch to use ARRAY_SIZE * fix up some straggling items * Fix 'make test:secure' * Enhance ARRAY_SIZE macro to reject acting on pointers The previous definition would not produce a diagnostic for ``` int *p; size_t num_elem = ARRAY_SIZE(p) ``` but the new one will. * explicitly get definition of ARRAY_SIZE * Convert to ARRAY_SIZE when const is involved The following spatch finds additional instances where the array is const and the division is by the size of the type, not the size of the first element: ``` @ rule5a using "empty.iso" @ type T; const T[] E; @@ - (sizeof(E)/sizeof(T)) + ARRAY_SIZE(E) @ rule6a using "empty.iso" @ type T; const T[] E; @@ - sizeof(E)/sizeof(T) + ARRAY_SIZE(E) ``` * New instances of ARRAY_SIZE added since initial spatch run * Use `ARRAY_SIZE` in docs (found by grep) * Manually use ARRAY_SIZE hs_set is expected to be the same size as uint16_t, though it's made of two 8-bit integers * Just like char, sizeof(uint8_t) is guaranteed to be 1 This is at least true on any plausible system where qmk is actually used. Per my understanding it's universally true, assuming that uint8_t exists: https://stackoverflow.com/questions/48655310/can-i-assume-that-sizeofuint8-t-1 * Run qmk-format on core C files touched in this branch Co-authored-by: Stefan Kerkmann <karlk90@pm.me>
* | Handle escaping of manufacturer/product strings (#18194)Ryan2022-08-282-2/+3
| |
* | Switch over MANUFACTURER and PRODUCT to string literals (#18183)Ryan2022-08-281-2/+2
|/
* Update LUFA submodule (#18168)Ryan2022-08-262-2/+2
|
* Merge remote-tracking branch 'origin/master' into developQMK Bot2022-08-241-1/+1
|\
| * Update invalid pip install flag (#18146)Joel Challis2022-08-241-1/+1
| |
* | Fix PID value for the Keyboardio Atreus 2 bootloader (#18116)Sergey Vlasov2022-08-201-1/+1
| | | | | | Copy the correct PID from `util/udev/50-qmk.rules`.
* | CLI: Teaching the CLI to flash binaries (#16584)Erovia2022-08-205-93/+336
| | | | | | | | | | | | Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Sergey Vlasov <sigprof@gmail.com> Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
* | Remove legacy bootmagic cli parsing (#18099)Joel Challis2022-08-191-8/+1
| |
* | Fix new-keyboard default for RP2040 bootloader (#18100)Joel Challis2022-08-191-0/+1
| |