summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2022-02-04chibios: fix 260 spiDimitris Mantzouranis
2022-02-04Pull up new SPI from chibios-contribDimitris Mantzouranis
2022-01-23Pull up latest -contribDimitris Mantzouranis
2022-01-23[CI] Add quick build workflow, add whitelist/blacklist support in ↵tmas
build_all.py (#206) * Add argparse, add arguments for whitelist, blacklist, and debug mode * When in debug mode, print a message * Parse whitelist/blacklist, output filenames and contents if debug enabled * Add should_include function to determine if a line should be included, apply whitelist/blacklist if enabled * Add quick build workflow and empty file to hold quickbuild list * Use blacklist for quick build * Remove unnecessary parentheses * Use lowercase filename * Whitelist is probably better than blacklist for quick build * Add common testing keyboards to whitelist * Fix indents * Still had some messed up indents! * More formatting fixes * Change delimiters to semicolon to hopefully appease the py linter * Delimiter is semicolon, no need to escape slash * Update build_all.py Co-authored-by: dexter93 <d3xter93@gmail.com>
2022-01-23sn32f2: inherit clocks from chibios (#203)dexter93
* Revert "TEMP: HACK: define clock for sn32. 48Mhz" This reverts commit db1a0f9910e83b1c1dc4c135038e5d998a5cab08. * inherit clocks from chibios needs https://github.com/SonixQMK/ChibiOS-Contrib/pull/38 * sn32f2xx: use tickless mode * pull up chibi * satisfy linter * Pull up Chibios-Contrib * more chibios-contrib * even more chibi * sn32f2: bump timedelta to 4 * frequency updates * hi, please boot * Revert "hi, please boot" This reverts commit 97cc1f94cc684873cdf90d0c1a8df43ac023e526. * Revert "sn32f2: bump timedelta to 4" This reverts commit ad7c0f9e5a5e9774ac42575e17761fe116653308. * testing: rgb effects * pull up chibios-contrib * matrix: here have some LSD * k556: here be drugs * a pinch of coke will do it * testing: shorter period * Revert "testing: shorter period" This reverts commit 4dd9aa8f8fdfed3290feda0215514d989847ea71. * remove the multipliers * matrix: revert to original state * rgb matrix: calculate the ticks from the frequency * remove redundant include * Ms * add correction value * it's S * use some hardcoded for now * bump the period * scale it down * scale it down more * testing: 20khz * testing: 2kz * shoot for 20khz, THEN calculate the period * flip it * match it * make sure the value is uint32 * testing: break the time machine * Revert "testing: break the time machine" This reverts commit 2f9a66adb055adc80d90930d2bafc18b0abcadb8. * ms * Pull up chibios-contrib * testing: back to hw systick * testing: back to s * testing: back to 16bit * testing: tickless * testing: timedelta 4 * chibi updates + back to 2 * more chibios * latest chibios commit * match the registers * testing: frequency * testing: more freq * testing: use ILRC for systick * testing: hack * testing: more ihrc * testing: more freq * testing: freq 2 * testing: freq 4 * test: harcode it * testing: timedelta * remove this for now * Revert "testing: timedelta" This reverts commit a6722c841e4f26b4d34d06b7303d21d2668e0459. * update configs * Revert "remove this for now" This reverts commit f344030ea531710b3988f8137c4ce42676fbd864. * workaround the chibios timer bug chThdSleep() fails when the interval does not just fit into the system timer this is noticeable with a resolution of 16bits in high ST frequencies * shared matrix: revert to original target frequency * Revert "workaround the chibios timer bug" This reverts commit 33affe54c93fffe8cb18039a2183681a6b2644e1. * Revert "testing: rgb effects" This reverts commit c112770a284203ed3cccee7fb14b89f2e8f0fd4b. * Revert "k556: here be drugs" This reverts commit b9b5aad64cf19daa40541fbd745322bba73ab9df.
2022-01-15CI: move build in one scriptDimitris Mantzouranis
2022-01-15CI: fine tune the weird stuffDimitris Mantzouranis
2022-01-14CI: automatically build all platform keyboardsDimitris Mantzouranis
no more explicit defines
2022-01-14Aukey KM-G12 (#194)Luca Mazzilli
* [Aukey KM-G12] add support https://github.com/SonixQMK/qmk_firmware/issues/15 status leds: - fixed LED_PIN_ON_STATE - fixed LED_SCROLL_LOCK_PIN Key Matrix: - using COL2ROW - adjusted row 5: KC_SPC is on col 6 and have 3 KC_NO before and after - fixed ISO layout (removed \ under enter and shifted all led config index) - rgb keymaps aligned to the Aukey km-g12 default - moved RESET to FN+R (esc is mapped to RGB toggle) RGB matrix: Row 4 contains a led under numpad plus, row 6 contains 6 led under the spacebar and 1 under numpad enter. All the other underglow leds are un row 7 and row 8 ( to compile i had to force also keys matrix to 8. I'm not sure why but it seems that g_led_config is inited on MATRIX_ROWS and not LED_MATRIX_ROWS). - using SN32F24xB - adjusted KC_SPC led position (col 6) - underglow: D4 (red), B15 (blue), D3 (green) controls led marked as DL1, DL25 to DL36 and DL43 to DL50 while D5 (red), A15 (blue), D6 (green) controls DL2-24. - marked underglow with LED_FLAG_UNDERGLOW = 2 - marked modifiers with LED_FLAG_MODIFIER | LED_FLAG_KEYLIGHT = 5 - mapped underglow X and Y in a square (left, top, right, bottom) Added UNUSED_PINS C13 C14, for reference * [Aukey KM-G12] fixed underglow square coordinates and indexes * [Aukey KM-G12] added to build * updated build_all.py searched for specific rules.mk containing SN32F2: git grep -rl 'SN32F2' -- 'keyboards/*.mk' then filtered the results with a regex, cleaned the string (keyboards, rules.mk): find keyboards/ -type f -name "rules.mk" | grep -E 'keychron\/c|keychron\/k|redragon\/k|ajazz|aukey|sharkoon|smartduck|spcgear|marvo|womier|flashquark|ffc61|gmmk|akko' | sed -e 's/keyboards\///g' | sed -e 's/\/rules.mk//g'
2022-01-11sn32: support bootloader jumpDimitris Mantzouranis
2022-01-11Pull up Chibios-ContribDimitris Mantzouranis
2022-01-10Pull up Chibios-ContribDimitris Mantzouranis
2022-01-10Update submodule setup for SonixQMKDimitris Mantzouranis
2022-01-10 CI: build 240 keyboardsDimitris Mantzouranis
2022-01-10Pull up chibios-contribDimitris Mantzouranis
2022-01-10Pull up Chibios-contribDimitris Mantzouranis
2022-01-06Revert "debug time"Dimitris Mantzouranis
This reverts commit 86011a73a76b88a44ac00859812590533073d3cd.
2022-01-06debug timeDimitris Mantzouranis
2022-01-05sn32: disable 240 keyboards buildDimitris Mantzouranis
TODO: migrate board configs under platform
2022-01-05CI: build all sonixDimitris Mantzouranis
2022-01-05ci: build sn32_masterDimitris Mantzouranis
2022-01-04Pull up Chibios-ContribDimitris Mantzouranis
2022-01-04Pull up Chibios-Contrib updatesDimitris Mantzouranis
2022-01-04Add Sonix SN32 chips in constantsDimitris Mantzouranis
2022-01-03Refix "No C files in filelist: None" (#15728)Joel Challis
2022-01-03Fix "No C files in filelist: None" (#15560)Joel Challis
* Fix "No C files in filelist: None" * Align other commands * force absolute paths
2021-12-30Fix compilation-database command under MSYS (#15652)Joel Challis
* Fix compilation-database command under MSYS * Add comment
2021-12-09Add test filter to 'qmk pytest' (#15432)Joel Challis
* Add test filter to 'qmk pytest' * Bodge for some test filters not resolving qmk * Update docs
2021-11-29Fix 'format-c --core-only' matching keyboard level folders (#15337)Joel Challis
2021-11-28Changelog 2021q4 (#15325)Nick Brassel
* Changelog. * Remove the asymmetric encoder PR from listing due to revert. * More docs * More docs * More docs * Links to changelog, updated schedule, slotted in 2 weeks of testing at the end so that there's no ambiguity with PR merge dates. * Clarify keyboard moves. * Fix dates * Sidebar * Fixup dates. * Fixup dates. * Wording.
2021-11-27Westberrytech pr (#14422)Joy Lee
* Added support for WB32 MCU * Modified eeprom_wb32.c * Remove the eeprom_wb32-related code
2021-11-23Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-11-23qmk format-python - filter for Python files (#15271)Joel Challis
* qmk format-python filter all files * filter changed files too
2021-11-22Macros in JSON keymaps (#14374)Zach White
* macros in json keymaps * add advanced macro support to json * add a note about escaping macro strings * add simple examples * format json * add support for language specific keymap extras * switch to dictionaries instead of inline text for macros * use SS_TAP on the innermost tap keycode * add the new macro format to the schema * document the macro limit * add the json keyword for syntax highlighting * fix format that vscode screwed up * Update feature_macros.md * add tests for macros * change ding to beep * add json support for SENDSTRING_BELL * update doc based on feedback from sigprof * document host_layout * remove unused var * improve carriage return handling * support tab characters as well * Update docs/feature_macros.md Co-authored-by: Nick Brassel <nick@tzarc.org> * escape backslash characters * format * flake8 * Update quantum/quantum_keycodes.h Co-authored-by: Nick Brassel <nick@tzarc.org>
2021-11-19Merge remote-tracking branch 'origin/master' into developDrashna Jael're
2021-11-18[CLI] `list-keymaps`/`list-layouts`: Check keyboard passed in (#15204)Ryan
* [CLI] `list-keymaps`/`list-layouts`: Check keyboard passed in * Update lib/python/qmk/cli/list/keymaps.py Co-authored-by: Joel Challis <git@zvecr.com> * Update lib/python/qmk/cli/list/layouts.py Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Joel Challis <git@zvecr.com>
2021-11-18[cli] Export list of `develop` PRs to be merged into `master` (#13944)Nick Brassel
* Add developer-only command for exporting the list of PRs associated with a merge to `develop`. * qmk pytest * Imports. * Remove dependencies from requirements file, manually handle. * Reduce complexity, qmk generate-api taking too long so relying on CI
2021-11-17Add diff logic to python format subcommand (#15156)Joel Challis
* Add diff logic to python format subcommand * Update test * Add in filter per format-c * fix tests * Update new workflow
2021-11-14Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-11-14Partially reinstate CI formatting process (#15155)Joel Challis
* Partially reinstate CI formatting process * Fix exit code on clean run * Fix exit code on clean run
2021-11-05Merge remote-tracking branch 'upstream/master' into developNick Brassel
2021-11-04Fixup actions. (#15057)Nick Brassel
2021-11-05CLI: Add 'cd' subcommand (#12584)Erovia
* CLI: Add 'cd' subcommand Go to your qmk_firmware dir with ease. * Fix for Windows and do not run if already under QMK Home * Make flake8 happy * Fix prompt for Windows * Make flake8 happy once again * I'll get it right eventually * Apply suggestions from code review Co-authored-by: Ryan <fauxpark@gmail.com> * Add subcommand to __init__.py and fixup after rebase * Update Windows code to use milc's run * Unify the subshell starting with os.execl * Exit with error msg when output is redirected to non-TTY. * Revert Windows-specific code Co-authored-by: Ryan <fauxpark@gmail.com>
2021-11-05Remove `BOOTMAGIC_ENABLE = lite` option (#15002)James Young
* remove BOOTMAGIC_ENABLE=lite setting * change keyboard BOOTMAGIC_ENABLE rules Edits keyboard-level instances of `BOOTMAGIC_ENABLE = lite` to `BOOTMAGIC_ENABLE = yes`. * change keyboard BOOTMAGIC_ENABLE inline comments Edits keyboard-level BOOTMAGIC_ENABLE inline comments to "Enable Bootmagic Lite". * change keymap BOOTMAGIC_ENABLE rules Edits keymap-level instances of `BOOTMAGIC_ENABLE = lite` to `BOOTMAGIC_ENABLE = yes`. * change keymap BOOTMAGIC_ENABLE inline comments Edits/adds keymap-level BOOTMAGIC_ENABLE inline comments to read "Enable Bootmagic Lite". * change layout/user BOOTMAGIC_ENABLE rules/comments Edits instances of `BOOTMAGIC_ENABLE = lite` to `BOOTMAGIC_ENABLE = yes`. Edits/adds keymap-level BOOTMAGIC_ENABLE inline comments to read "Enable Bootmagic Lite". * update non-rules.mk BOOTMAGIC_ENABLE references in keyboards/ * remove docs references to Full Bootmagic * convert data-driven Bootmagic Lite instances * remove Bootmagic Lite bodge from data-driven generation * Merge remote-tracking branch 'upstream/develop' into rm/bootmagic-full_q4a * update docs/ja/config_options.md per mtei * update docs/faq_misc.md per mtei Remove remaining Full Bootmagic reference.
2021-11-04Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-11-05Refactor new-keyboard to be python3.7 compatible (#14707)Mikkel Jeppesen
* Use copy_tree from distutils for python 3.7 support * Bump python version in docs * Changed new-keyboard to use printf-style format strings * Use username for manunfacturer / maintainer * Update lib/python/qmk/cli/new/keyboard.py Co-authored-by: Zach White <skullydazed@drpepper.org> Co-authored-by: Zach White <skullydazed@drpepper.org>
2021-11-05Map `PRODUCT` define to `keyboard_name` (#14372)Ryan
* Map `PRODUCT` define to `keyboard_name` * Fix tests * Fix last test
2021-11-04Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-11-05`qmk docs`: Run `docsify serve` if available (#15056)Ryan
2021-11-03Update to ChibiOS 20.3.4, support builds against trunk (#14208)Nick Brassel
* Add support for building against ChibiOS svn/trunk. * Swap to 21.6.x * Update to latest branch revision as released version is broken. * Updated configs. * Conf updates. * Updated ChibiOS * Convert STM32L422 to actual L422 ChibiOS platform. * Downgrade to 20.3.4 as ChibiOS 21.6.x is being aborted. * Rollback L422-based boards.