summaryrefslogtreecommitdiff
path: root/util
AgeCommit message (Collapse)Author
2020-06-12CLI: Improve experience when running `qmk setup` on FreeBSD. (#8798)Pete Johanson
* CLI: Improve experience when running `qmk setup` on FreeBSD. * Install the `avrdude` package as well. * Switch to installing python packages w/ `--user` flag. * Basic getting started sections for FreeBSD. * Update `util/freebsd_install.sh` for root/non-root branches. * Add ID to doc section. Co-Authored-By: skullydazed <skullydazed@users.noreply.github.com> * Add ID to another docs section. Co-Authored-By: skullydazed <skullydazed@users.noreply.github.com> * Use `; then` in script for consistency. Co-Authored-By: skullydazed <skullydazed@users.noreply.github.com> * Updated to use sudo in one shot if available. * Apply suggestions from code review Co-authored-by: Erovia <Erovia@users.noreply.github.com> * Style fixes for latest version in master. * Apply suggestions from code review Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: skullydazed <skullydazed@users.noreply.github.com> Co-authored-by: Erovia <Erovia@users.noreply.github.com> Co-authored-by: Ryan <fauxpark@gmail.com>
2020-06-12MSYS2 install: bodge out avrdude package installation for USBaspLoaderRyan
2020-06-12Streamline the macos install processskullY
2020-06-12Improve stock bootloader list (#9067)Ryan
* Improve stock bootloader list * Switch version numbers on USB64/128 bootloaders * Unix line endings for PS2AVRGB bootloader * Update PS2AVRGB bootloader to 1.0.1 * Also mention bootloader rule * Didn't need to change the links
2020-06-12Remove Atmel FLIP from install scripts and documentation (#8822)Ryan
2020-06-12Remove old setup scripts (#8811)Ryan
2020-06-12Upgrade gcc version/tweak package installs in Gentoo installation (#8757)James Forcier
GCC 4.9.4 is no longer available on Gentoo (or Sabayon), which causes problems when attempting to install on either of these platforms. Since QMK is not particularly sensitive to its GCC version, modify the version restriction to <9 so newer versions of GCC may be installed. Since the toolchain for arm-none-eabi isn't currently installed as part of setup, add that as well. Additionally, drop the Python installation as part of the Gentoo installation process. Python is a core system package on Gentoo and can therefore be assumed to be present; in addition, the slot restriction of 3.5 which was present is also no longer available in Gentoo. Finally, separate the gcc rebuild invocation of `emerge` from the new packages that may need to be installed, and apply the `--noreplace` flag to new packages so that they are not rebuilt if already present.
2020-06-12Miscellaneous cleanups (#8639)Ryan
* Miscellaneous cleanups * Cast NO_PIN
2020-06-12msys2_install.sh: wrap requirements.txt in quotes (#8424)Ryan
2020-06-12Allow for ChibiOS 20.x (master), as well as enabling ChibiOS-Contrib HAL. ↵Nick Brassel
(#8272)
2020-06-122020 February 29 Breaking Changes Update (#8064)James Young
2020-06-12Made windows driver installation accept y as All to allow CI (#8189)Mikkel Jeppesen
* Made windows driver installation accept y as all to allow CI * Fix some formatting * Made None default
2020-02-26Fix/remove missing package (#7897)dohq
* [fix] yay instead pacman install bootloadhid * [fix] add needed option * [mod] output red color * [fix] overwrite avr-gcc package * [mod] disable install bootloadhid from aur and check already installed * Apply suggestions from code review Co-Authored-By: Joel Challis <git@zvecr.com> * Update util/linux_install.sh Co-Authored-By: Joel Challis <git@zvecr.com> Co-authored-by: Joel Challis <git@zvecr.com>
2020-02-26CI: Add workflow for CLI testing (#7357)Joel Challis
Create GitHub Actions cli test workflow and remove travis runs of 'qmk pytest'
2020-01-09Fix output file permissions when using docker build. (#7378)Nick Brassel
2020-01-09Fix install for Linux Ubuntu (#7520)iKirin
* Fix linux install for Ubuntu. It failed due to sh not supporting [ and pip being seperate from python3 * Adapted install function according to feedback * Fix style
2020-01-09Install bootloadHid as part of qmk_install (#7463)Joel Challis
* Install bootloadHid on macos * Install bootloadHid on windows * Highlight bootloadHID is now installed in docs * Update udev rules for bootloadHID * Install bootloadHid on some distros * fix caterina udev filename
2020-01-09Improve and streamline MSYS2 installation (#7232)Drashna Jaelre
* Make MSYS force install * Cleanup msys script * Update to gcc 8.3 for arm and avr And cleanup install scripts for both * Fix path and scripts * Fix links * No confirmation for msys * Tweak arm function since file structure changed * Fix spacing and wording Co-Authored-By: fauxpark <fauxpark@gmail.com> * Only use MSYS2's make binary Co-Authored-By: fauxpark <fauxpark@gmail.com> * Some wordsmithing Co-Authored-By: Mikkel Jeppesen <2756925+Duckle29@users.noreply.github.com> * Add "disable download timeout" for download issues in MSYS Co-Authored-By: Mikkel Jeppesen <2756925+Duckle29@users.noreply.github.com> * Clean up URL for arm gcc download Co-Authored-By: Joel Challis <git@zvecr.com> * add pip Co-Authored-By: fauxpark <fauxpark@gmail.com>
2020-01-09Update ARM GCC on macOS to 8.3 (#7318)fauxpark
2020-01-09Template updates (#7221)fauxpark
* Template updates * Flesh out info.json & keymap.c, and turn double spaces section into a list * Add enum to demonstrate layer naming * Semicolon
2019-11-04Add python-pip as package dependency for archlinux (#7041)Yang Li
2019-11-04Port drivers.txt changes from the Toolbox (#6786)fauxpark
2019-11-04Add support for Void Linux systems to the qmk_install.sh script (#5526)Sorixelle
* Add support for Void Linux systems to the qmk_install.sh script * Fix typos + grammatical edits in comments * Sort distributions by alphabetical order in linux_install.sh * Revert previous commit and sort Void packages in alphabetical order * Fix permissions on `util/linux_install.sh`
2019-09-26Update docker_build.sh: indentation fix, error echo function (#6659)Konstantin Đorđević
* Replace spaces with tab in docker_build.sh * Use errcho instead of echo >&2
2019-09-26Add `dfu-programmer` to `pacman -S` (#6619)Cory Watson
* Add `dfu-programmer` to `pacman -S` (#6618) `dfu-programmer` now resides at `extra/dfu-programmer` and is no longer in the AUR * Add `--needed` option to `pacman -S` for efficiency * Fix * Update util/linux_install.sh Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
2019-09-26Fix msys2 not installing any packages because it can't find clang (#6655)fauxpark
2019-09-17Enforce clang-format (#6293)skullydazed
* Enforce clang-format on commit for core files * forgot about tests
2019-08-28Add an alternative method for keyboard discovery to speed up build (#6073)Joel Challis
* Add an alternative method for keyboard discovery to speed up build * Chain MAKEFLAGS for docker_build.sh * Slight improvement to number of items sent to sort * Remove debug line * Fix line escape
2019-08-13Fix qmk_install.sh on Windows dropping to command prompt (#6488)fauxpark
2019-07-19Configure Vagrant to use qmk_base_container (#6194)Joel Challis
* Initial conversion of vagrant to use qmkfm/base_container * Fix vagrant when using docker provider * Workaround for VirtualBox VM restarts * Generalise Vagrant docs slightly and add FAQ
2019-07-19QMK CLI and JSON keymap support (#6176)skullydazed
* Script to generate keymap.c from JSON file. * Support for keymap.json * Add a warning about the keymap.c getting overwritten. * Fix keymap generating * Install the python deps * Flesh out more of the python environment * Remove defunct json2keymap * Style everything with yapf * Polish up python support * Hide json keymap.c into the .build dir * Polish up qmk-compile-json * Make milc work with positional arguments * Fix a couple small things * Fix some errors and make the CLI more understandable * Make the qmk wrapper more robust * Add basic QMK Doctor * Clean up docstrings and flesh them out as needed * remove unused compile_firmware() function
2019-07-19Update docker util script and travis to use new base containerzvecr
2019-07-10Add copyright year placeholders to new keyboard script (#6280)fauxpark
* Add copyright year placeholders to new keyboard script * More copyright header tweaks
2019-07-10Fix linux_install.sh script for OpenSuse v 15.1 (#6251)Kenny Hung
2019-06-20Change from avr-gcc@7 to @8 for MacDanny Nguyen
2019-06-04Fix up scripts for ZSA repoDrashna Jaelre
2019-06-04Initial attempt to fix docker creating files as rootzvecr
2019-06-04Use qmk docker image for travis CI buildszvecr
2019-06-04Add Solus support to linux_install.sh scriptchax
Add Solus support to linux_install.sh script added update-repo command before install command
2019-05-06Make python a required build dependency (#5784)skullydazed
* Make python a required build dependency * Add missing color * fixup sabayon linux per @BlitzKraft
2019-05-02If RGBLIGHT_EFFECT_BREATHE_CENTER is undefined, use fixed breathe table ↵Takeshi ISHII
instead of exp() and sin() (#5484) * If RGBLIGHT_EFFECT_BREATHE_CENTER is undefined, use fixed breathe table instead of exp() and sin() * Change rgblight breathing table size to be easily selectable. add RGBLIGHT_BREATHE_TABLE_SIZE macro for customize breathing effect.
2019-04-12Streamline Travis CI scriptingDrashna Jaelre
We don't need anything fancy, just a few tests, and that's it. All of the QMK Firmware stuff is excessive for what we need.
2019-04-09Update build instructions and Dockerfile to download submodulesMikhail Goncharov
2019-03-22ISP Flashing Guide - atmega32a info (#4993)wanleg
* update isp flashing page * update isp flashing page
2019-02-26Ask for your name when generating a new keyboard (#5214)fauxpark
* Ask for your name when generating a new keyboard * Update docs * Apply suggestions from code review Co-Authored-By: fauxpark <fauxpark@gmail.com>
2019-02-18 Relocate usb_detach to utils (#5121)zvecr
* Relocate usb_detach to utils * Relocate usb_detach to utils - fix up files after move
2019-02-15Remove duplication of ssh keys and fix usage on PR builds (#5013)zvecr
2019-02-15docker_build.sh: Run container in interactive mode (#5088)Konstantin Đorđević
* docker_build.sh: Run container in interactive mode * Add message about QMK Toolbox * Update Docker docs
2019-02-12Fix travis_compiled_push.sh script issue (#5114)Drashna Jaelre
* Fix travis_compiled_push.sh script issue * fix typo * properly fix push script
2019-02-12Remove AUTOGEN and fix Travis Compiled Push scripts (#5077)Drashna Jaelre
* Grab HEX and BIN files from autogen And push them to qmk.fm/compiled * Make autogen copy extension agnostic This way, when travis cl scrpit looks for hex files, it will actually grab bin files, and not hex files for ARM boards * Handle the AUTOGEN in :bin target to properly handle edge cases Both the TADA68 and ATSAM boards generate the hex file and then convert it to a bin file. The changes I made does not handle this well, at all. This removes the hex and replaces it with a bin, if a bin is normally generated. * Revert hex target to original copy command * Check hex and bin separately in compile push script Since I don't know how to script this, well * Simplify push to compiled folder * Further simplify compiled push script * Move AUTOGEN parsing to a more sane location to prevent tech debt Thanks to skully! * Remove AUTOGEN completely, as it's not needed This has the benefit of making everything super simple, since we can pull every hex and bin from the root of the qmk_firmware folder, and move that to th compiled folder. This also removes old and unneeded code, and removes some tech debt that has been accrued, without adding more, in theory.