summaryrefslogtreecommitdiffstats
path: root/lib/python/qmk/constants.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused LED_INDICATORS constant (#18686)Joel Challis2022-10-121-7/+0
|
* 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-201-0/+48
| | | | | | 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>
* Fix new-keyboard default for RP2040 bootloader (#18100)Joel Challis2022-08-191-0/+1
|
* Improve importer workflow (#17707)Joel Challis2022-08-131-0/+5
|
* Tentative Teensy 3.5 support (#14420)Ryan2022-07-031-1/+1
| | | | | | | | | | | * Tentative Teensy 3.5 support * Set firmware format to .hex for ARM Teensys * Got to "device descriptor failed" by comparing with Teensy 3.6 code * Drop down to 96MHz... * Bump back up to 120MHz
* [Core] Add Raspberry Pi RP2040 support (#14877)Stefan Kerkmann2022-06-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Disable RESET keycode because of naming conflicts * Add Pico SDK as submodule * Add RP2040 build support to QMK * Adjust USB endpoint structs for RP2040 * Add RP2040 bootloader and double-tap reset routine * Add generic and pro micro RP2040 boards * Add RP2040 onekey keyboard * Add WS2812 PIO DMA enabled driver and documentation Supports regular and open-drain output configuration. RP2040 GPIOs are sadly not 5V tolerant, so this is a bit use-less or needs extra hardware or you take the risk to fry your hardware. * Adjust SIO Driver for RP2040 * Adjust I2C Driver for RP2040 * Adjust SPI Driver for RP2040 * Add PIO serial driver and documentation * Add general RP2040 documentation * Apply suggestions from code review Co-authored-by: Nick Brassel <nick@tzarc.org> Co-authored-by: Nick Brassel <nick@tzarc.org>
* Added support for Wb32fq95 (#16871)Joy Lee2022-05-231-1/+2
|
* [CLI] Add common util for dumping generated content (#16674)Joel Challis2022-03-181-0/+63
|
* CLI: Minor additions #12795 (#16276)Erovia2022-02-141-0/+39
|
* Add L432, L442. (#16016)Nick Brassel2022-01-241-1/+1
|
* Add missing STM32F405 definition in qmk.constants (#15937)Gigahawk2022-01-211-1/+1
|
* Westberrytech pr (#14422)Joy Lee2021-11-271-1/+1
| | | | | | | * Added support for WB32 MCU * Modified eeprom_wb32.c * Remove the eeprom_wb32-related code
* [Core] Add support for RISC-V builds and GD32VF103 MCU (#12508)Stefan Kerkmann2021-10-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Add support for RISC-V builds and GD32VF103 MCU * Add toolchain selection in chibios.mk based on the mcu selected in mcu_selection.mk * Reorder and added comments to chibios.mk to have a streamlined makefile * Add GD32VF103 mcu to possible targets for QMK. * Add STM32 compatibility for GD32VF103 MCU, this is hacky but more efficent then rewriting every driver. * Add GigaDevice DFU bootloader as flash target, please note that dfu-util of at least version 0.10 is needed. * Add analog driver compatibility * Add apa102 bitbang driver compatibility * Add ws2812 bitbang driver compatibility * Add eeprom in flash emulation compatibility * Allow faster re-builds with ccache * Add SiPeed Longan Nano to platform files * Add SiPeed Longan Nano Onekeys * Make quine compatible with other bootloaders * Support builds with picolibc * Add risc-v toolchain to arch and debian/ubuntu scripts
* Change `MK66F18` -> `MK66FX1M0` (#14659)Ryan2021-09-301-1/+1
|
* Add support for STM32F407x MCUs. (#13718)thpoll832021-08-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * 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>
* CLI: Add git and venv info to doctor's output (#13405)Erovia2021-07-101-0/+3
| | | | Most of the checks are saved from zvecr's retired 'up/status' subcommand PR.
* Adds support for STM32L412xB, STM32L422xB. (#13383)Nick Brassel2021-06-301-1/+1
| | | | | | | * Adds support for STM32L412xB, STM32L422xB. * Add to list of supported MCUs. * Disable SPI1 by default.
* Add STM32L433 and L443 support (#12063)Xelus222021-04-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * initial L433 commit * change to XC * fix L433 * disable all peripherals * update system and peripheral clocks * 433 change * use its own board files * revert its own board files * l433 specific change * fix stm32l432xx define * remove duplicate #define * fix bootloader jump * move to L443xx and add i2c2, spi2, usart3 to mcuconf.h * move to L443 * move to L443 * fix sdmmc in mcuconf.h * include STM32L443 * add L443 * Include L443 in compatible microcontrollers Co-authored-by: Nick Brassel <nick@tzarc.org> * Include L443 in compatible microcontrollers Co-authored-by: Nick Brassel <nick@tzarc.org> * Update config bootloader jump description Co-authored-by: Nick Brassel <nick@tzarc.org> * Update ChibiOS define reasoning Co-authored-by: Nick Brassel <nick@tzarc.org> * Update quantum/mcu_selection.mk Co-authored-by: Nick Brassel <nick@tzarc.org> * fix git conflict Co-authored-by: Nick Brassel <nick@tzarc.org>
* Add support for MCU = STM32F446 (#12619)Purdea Andrei2021-04-251-1/+1
| | | | | | | | | | | | | * Add support for MCU = STM32F446 * Update platforms/chibios/GENERIC_STM32_F446XE/configs/config.h Co-authored-by: Nick Brassel <nick@tzarc.org> * Restore mcuconf.h to the one used by RT-STM32F446RE-NUCLEO64 * stm32f446: update mcuconf.h and board.h for 16MHz operation, with USB enabled, and other peripherals disabled. Co-authored-by: Nick Brassel <nick@tzarc.org>
* core: add support for MK66F18 (Teensy 3.6) micro controller (#12258)Michael Stapelberg2021-03-171-1/+1
| | | This is in preparation for https://github.com/qmk/qmk_firmware/pull/10171
* Add STM32G431 and STM32G474 board definitions. (#11793)Nick Brassel2021-02-061-1/+1
| | | | | * Add STM32G431 and STM32G474 board definitions. * Add docs.
* Create a system to map between info.json and config.h/rules.mk (#11548)Zach White2021-01-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Adds AT90USB162 support (#11570)Dasky2021-01-291-1/+1
| | | | | | | | | | | * at90usb162 support * fix missing bracket * Apply suggestions from code review Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>
* Merge remote-tracking branch 'origin/master' into developZach White2021-01-161-0/+5
|\
| * Improve the compile and flash subcommands (#11334)Zach White2021-01-161-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | Use the schema to eliminate custom code (#11108)Zach White2021-01-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* | Configure keyboard matrix from info.json (#10817)Zach White2020-12-301-0/+11
|/ | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Generate api data on each push (#10609)Zach White2020-10-251-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add new qmk generate-api command, to generate a complete set of API data. * Generate api data and push it to the keyboard repo * fix typo * Apply suggestions from code review Co-authored-by: Joel Challis <git@zvecr.com> * fixup api workflow * remove file-changes-action * use a more mainstream github action * fix yaml error * Apply suggestions from code review Co-authored-by: Erovia <Erovia@users.noreply.github.com> * more uniform date handling * make flake8 happy * Update lib/python/qmk/decorators.py Co-authored-by: Erovia <Erovia@users.noreply.github.com> Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Erovia <Erovia@users.noreply.github.com>
* CLI: Fix MCU lists for `qmk info` (#10574)Ryan2020-10-091-4/+3
|
* Add logic for AT90USBxx7 where needed (#10203)Ryan2020-09-271-1/+1
|
* Add STM32F401/F411 to ARM_PROCESSORS (#10362)Ryan2020-09-181-1/+1
|
* CLI: Add ATmega328 and ATtiny85 to supported CPUs (#9371)Erovia2020-06-171-1/+1
| | | | | | | | * CLI: Add ATmega328 to supported CPUs Support for ATmega328 was added in #9043. * Update lib/python/qmk/constants.py
* [CLI] Add a subcommand for getting information about a keyboard (#8666)Zach White2020-05-261-0/+6
| | | | | You can now use `qmk info` to get information about keyboards and keymaps. Co-authored-by: Erovia <Erovia@users.noreply.github.com>
* Use pathlib everywhere we can (#7872)skullydazed2020-02-171-0/+9
* Use pathlib everywhere we can * Update lib/python/qmk/path.py Co-Authored-By: Erovia <Erovia@users.noreply.github.com> * Update lib/python/qmk/path.py Co-Authored-By: Erovia <Erovia@users.noreply.github.com> * Improvements based on @erovia's feedback * rework qmk compile and qmk flash to use pathlib * style * Remove the subcommand_name argument from find_keyboard_keymap() Co-authored-by: Erovia <Erovia@users.noreply.github.com>