summaryrefslogtreecommitdiff
path: root/tmk_core/avr.mk
AgeCommit message (Collapse)Author
2020-09-30[fix] dfu-programmer <0.7 doesn't support --force flag (#10292)Frans de Jonge
Fixes <https://github.com/qmk/qmk_firmware/issues/10286>.
2020-09-30Use the force when flashing with dfu-programmer (#10070)Ryan
2020-06-12CLI: Tune doctor's udev rule checking to match #8750Erovia
2020-06-12Improve security of avrdude by eliminating the use of well-known names. (#9026)Zach White
* Improve security by eliminating the use of well-known names. * Add an additional $ so the shell expands $TMP1 and $TMP2 Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Joel Challis <git@zvecr.com>
2020-06-12Remove Atmel FLIP from install scripts and documentation (#8822)Ryan
2020-06-12Migrate :program logic to :flash (#8631)Joel Challis
2020-06-12Remove qmk archive generation (#8462)Joel Challis
2020-06-12Fix up Arm builds with nix-shell. (#8312)Nick Brassel
2020-02-26Fix misunderstanding of CPPFLAGS and CXXFLAGS.Nick Brassel
2020-01-06Remove CR when computing BOOTLOADER_SIZE. (#7453)a_p_u_r_o
2019-10-01Actually use correct bootloader not found message (#6695)Drashna Jaelre
2019-10-01Move Bootloader not found message to global variable (#6688)Drashna Jaelre
* Move Bootloader not found message to global variable * Apply suggestions from code review Co-Authored-By: fauxpark <fauxpark@gmail.com>
2019-09-05Fix Typo in :flash target for missing bootloader (#6615)Drashna Jaelre
2019-09-05Add 'bootloadHID' flash target (#5587)Joel Challis
* Add 'bootloadHID' flash target * Prep for flash target * Add :flash support * Align bootloader wait messages Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update template to suggest use of :flash
2019-09-05Add a universal flash command for cli (#6224)Drashna Jaelre
* Add universal flash command * Add bootloader info to I:C boards * Add support for ATSAM * Add messages for flash target * Message cleanup * Add USB ASP Flashing target * Make usbasp target more universal * Add phoney target for usbasp * Clarify error message when bootloader isn't matched
2019-07-19Expand bootloader target to support most AVR boards (#6255)Drashna Jaelre
* Update the :bootloader target to pass along correct hardware info * Update make scripts to properly grab the settings (a big thanks to @yanfali) * Remove LUFA debug warnings
2019-07-19Usbasploader bootloader option addition (#6304)yiancar
* Added USBasp bootloader option for USBasploader * author comment * ifdef fix :) * Add usbasp target * Update docs/flashing.md Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update docs/flashing.md Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update docs/flashing.md Co-Authored-By: fauxpark <fauxpark@gmail.com>
2019-04-24fix LIB_SRC and QUANTUM_LIB_SRC for ARM (#5623)Takeshi ISHII
* fix LIB_SRC and QUANTUM_LIB_SRC for ARM(chibios) * remove ARFLAGS * tmk_core/arm_atsam.mk:AR: remove 'rcs'
2019-03-18correct typo in eeprom split target for dfu (#5445)Rob Rogers
2019-03-15Add avrdude split EE_HANDS flash commands (#5414)Danny
* Add EEPROM avrdude flashing commands for setting handedness * Update docs with info on flashing EEPROM handedness files with commands
2019-03-13Sleep until USB port becomes writable before running avrdude (#5393)Michael F. Lamb
* sleep until usb port becomes writable before running avrdude * only wait for a writable USB port when not on MSYS using MINGW or MSYS: sleep for one second, as before. otherwise: wait for the port to become writable. * typo * typo
2019-02-18Fixed grep issue in bootloader build target (#3848)Jumail Mundekkat
* Changed use of '\s' in grep to '[ \t]' for portability * Pushed DFU Keyboard.h into a shell script * Fixed execution permissions on make_dfu_header,sh
2018-12-14Add left/right EEPROM flashing for DFU (#4560)Drashna Jaelre
2018-09-27add 'mavrdude' target into tmk_core/avr.mk (#3986)Takeshi ISHII
* add 'mavrdude' target into tmk_core/avr.mk I made it a little convenient when writing the same binary to multiple Pro Micro. * rename target name 'mavrdude' to 'avrdude-loop' * modify docs/flashing.md about avrdude-loop * mdify docs/flashing.md again * modifi docs/flashing.md 3rd
2018-08-29Fixed bootloader targetJumail
Fixed matching grep matches (for PRODUCT in particular) Fixed " Bootloader" concatenation for WSL (windows line-endings)
2018-06-06Bootloader make issue (#2975)yiancar
* Added Modular keyboards L,R and NUM Created code modules for the 3 modules of the modular keyboard. Original idea by MechboardsUK. Uses i2c implementation similar to lets split * Remove modular from master This is to fix incorrect branching * fixed bootloader makefile - Echo -e does not behave coorectly on mac - Replaced with equivilant printf statements * quick typo fix
2018-03-29Properly always copy firmwareU-LANDSRAAD\drashna
This finishes fixing #2314, which mostly copies the firmware when compiling. However, it misses `:teensy`, `:avrdude` and most importantly, `:production`
2018-03-26Better non-Linux support (#2524)dankm
* grep -> $(GREP) Some UNIXy systems (FreeBSD for example) don't use GNU grep by default. Allow the user to specify which grep implementation to use so that GNU grep can be specified. * Allow using versioned avr-gcc command Don't hardcode "avr-gcc", and allow strings such as "avr-gcc8", or "avr-gcc-7.3.0" to match checks for "avr-gcc".
2018-03-16fix generate Keyboard.huplus
2018-02-28Remap msys2 usb, fix USB port detection (#2301)Danny
* Add AVRDUDE to MSYS2 setup * Remap detected USB port in MSYS2 to COM port
2018-02-08Switch from echo to printf for output without newlinesDanny Nguyen
2018-02-08Only search through newly detected devices and discard ones that disappearedDanny Nguyen
2018-01-28Always copy the firmware file to the root qmk_firmware directory (#2314)skullydazed
* Always copy the firmware file to the root qmk_firmware directory * remove circular dependency
2018-01-12Add -e to enable interpretation of escape charactersDanny Nguyen
2017-11-27Updates bootloader settings, adds file size check (#2029)Jack Humbert
* pull fuse settings for bootloader jump * fix 32a chips * make automatic bootloader selection optional * quantify bootloaders * fixs #164, speeds up dfu reset * fix for chips w/o usb * missing an n * fix bootloader sizes, use words for addresses * fix bmini, pearl, and [[ issue, make things quiet * ignore avr errors on arm for now * update settings for the light * document bootloader stuff * add bootloader title
2017-11-14QMK DFU bootloader generation (#2009)Jack Humbert
* adds :bootloader target * update planck and preonic revisions * remove references to .h files for planck * update preonic keymap * only add keyboard.h files that exist * add production target * hook things up with the new lufa variables * update rules for planck/preonic * back backlight key turn of status led when pressed * add manufacturer/product strings to bootloader
2017-11-01Adds .qmk file type as a target for QMK Toolbox (#1084)Jack Humbert
* adds .qmk file type as a target * adds info.json with vendor and product * add files for qmk info script * add layout file for planck * ignore .qmk files * more settings * update rules for avr and chibios * update .qmk generation for info.json and inheritence
2017-10-16Fix avrdude message to not mention any specific device model.Phil Hagelberg
2017-08-27add rule shortcut via @samwho's suggesionJack Humbert
2017-08-27add bin targets - closes #1648, fixes #1647Jack Humbert
2017-08-16Add message to avrdude script that it can't used within WSL currentlyDanny Nguyen
2017-08-03Move avrdude flashing script from individual keyboard rules.mk to common ↵Danny Nguyen
location and improve script. Port detection script is now more informative and better handles first time flashing of a Pro Micro
2017-07-10Start mvoing hardware drivers to /drivers/ (#1433)Jack Humbert
* start driver isolation * update nyquist and orthodox boards * update atreus62 * move drivers to avr * update avr conditional
2017-07-10Don't search for TEENSY_LOADER_CLI if it's already definedFred Sundvik
2017-07-10Don't run dfu-programmer unless specified as a targetFred Sundvik
This introduces a grep dependency, which I believe we didn't have before, but it should be available and installed by default on all the supported systems.
2017-04-29Add possibility to override the command to execute when flashingFred Sundvik
2016-12-10The adafruit BLE C++ code requires -std=c++11Priyadi Iman Nurcahyo
2016-08-07Convert hex to bindi0ib
For flashing via alternative methods like LUFA MassStorage bootloader.
2016-07-15Make DFU wait for bootloaderTravis La Marr
Added a loop for waiting for the keyboard to be put in bootloader mode, rather than failing out. Makes building keymaps easier.
2016-07-05Add dfu-util command for programmingFred Sundvik
Also add .bin generation, which is needed for dfu-util.