summaryrefslogtreecommitdiffstats
path: root/tmk_core/avr.mk
Commit message (Collapse)AuthorAgeFilesLines
* [fix] dfu-programmer <0.7 doesn't support --force flag (#10292)Frans de Jonge2020-09-131-1/+2
| | | Fixes <https://github.com/qmk/qmk_firmware/issues/10286>.
* Use the force when flashing with dfu-programmer (#10070)Ryan2020-09-101-3/+3
|
* CLI: Tune doctor's udev rule checking to match #8750Erovia2020-05-151-1/+1
|
* Improve security of avrdude by eliminating the use of well-known names. (#9026)Zach White2020-05-101-5/+8
| | | | | | | | | * 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>
* Remove Atmel FLIP from install scripts and documentation (#8822)Ryan2020-04-171-14/+0
|
* Migrate :program logic to :flash (#8631)Joel Challis2020-04-011-5/+3
|
* Remove qmk archive generation (#8462)Joel Challis2020-03-171-24/+0
|
* Fix up Arm builds with nix-shell. (#8312)Nick Brassel2020-03-071-1/+3
|
* Fix misunderstanding of CPPFLAGS and CXXFLAGS.Nick Brassel2020-01-311-2/+2
|
* Set proper AVR part for USBasp avrdude flashing (#7552)fauxpark2019-12-071-1/+1
| | | | | | | | | | * Set proper AVR part for USBasp avrdude flashing * Remove `PROGRAM_CMD` stuff from rules.mk as they should not be needed anymore * Missed the Plaid readme * Remove PROGRAM_CMD from Mysterium
* Remove CR when computing BOOTLOADER_SIZE. (#7453)a_p_u_r_o2019-11-241-1/+1
|
* Actually use correct bootloader not found message (#6695)Drashna Jaelre2019-09-081-2/+2
|
* Move Bootloader not found message to global variable (#6688)Drashna Jaelre2019-09-081-2/+2
| | | | | | | | * Move Bootloader not found message to global variable * Apply suggestions from code review Co-Authored-By: fauxpark <fauxpark@gmail.com>
* Fix Typo in :flash target for missing bootloader (#6615)Drashna Jaelre2019-08-261-1/+1
|
* Add 'bootloadHID' flash target (#5587)Joel Challis2019-08-241-0/+15
| | | | | | | | | | | | | | * 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
* Add a universal flash command for cli (#6224)Drashna Jaelre2019-08-201-40/+51
| | | | | | | | | | | | | | | | | | | | * 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
* Expand bootloader target to support most AVR boards (#6255)Drashna Jaelre2019-07-161-1/+5
| | | | | | | | * 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
* Usbasploader bootloader option addition (#6304)yiancar2019-07-151-0/+4
| | | | | | | | | | | | | | | | | | | | | | * 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>
* fix LIB_SRC and QUANTUM_LIB_SRC for ARM (#5623)Takeshi ISHII2019-04-221-1/+1
| | | | | | | | * fix LIB_SRC and QUANTUM_LIB_SRC for ARM(chibios) * remove ARFLAGS * tmk_core/arm_atsam.mk:AR: remove 'rcs'
* correct typo in eeprom split target for dfu (#5445)Rob Rogers2019-03-181-1/+1
|
* Add avrdude split EE_HANDS flash commands (#5414)Danny2019-03-151-2/+12
| | | | | | * Add EEPROM avrdude flashing commands for setting handedness * Update docs with info on flashing EEPROM handedness files with commands
* Sleep until USB port becomes writable before running avrdude (#5393)Michael F. Lamb2019-03-131-2/+5
| | | | | | | | | | | | | | * 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
* Fixed grep issue in bootloader build target (#3848)Jumail Mundekkat2019-02-181-8/+1
| | | | | | | | * 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
* Add left/right EEPROM flashing for DFU (#4560)Drashna Jaelre2018-12-141-1/+30
|
* add 'mavrdude' target into tmk_core/avr.mk (#3986)Takeshi ISHII2018-09-271-1/+11
| | | | | | | | | | | | | | * 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
* Fixed bootloader targetJumail2018-08-291-6/+6
| | | | | Fixed matching grep matches (for PRODUCT in particular) Fixed " Bootloader" concatenation for WSL (windows line-endings)
* Bootloader make issue (#2975)yiancar2018-06-061-9/+9
| | | | | | | | | | | | | | | | | | | * 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
* Properly always copy firmwareU-LANDSRAAD\drashna2018-03-291-9/+9
| | | | | This finishes fixing #2314, which mostly copies the firmware when compiling. However, it misses `:teensy`, `:avrdude` and most importantly, `:production`
* Better non-Linux support (#2524)dankm2018-03-261-11/+12
| | | | | | | | | | | | | * 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".
* fix generate Keyboard.huplus2018-03-161-9/+9
|
* Remap msys2 usb, fix USB port detection (#2301)Danny2018-02-281-0/+4
| | | | | | * Add AVRDUDE to MSYS2 setup * Remap detected USB port in MSYS2 to COM port
* Switch from echo to printf for output without newlinesDanny Nguyen2018-02-081-2/+2
|
* Only search through newly detected devices and discard ones that disappearedDanny Nguyen2018-02-081-2/+3
|
* Always copy the firmware file to the root qmk_firmware directory (#2314)skullydazed2018-01-281-1/+1
| | | | | | * Always copy the firmware file to the root qmk_firmware directory * remove circular dependency
* Add -e to enable interpretation of escape charactersDanny Nguyen2018-01-121-2/+2
|
* Updates bootloader settings, adds file size check (#2029)Jack Humbert2017-11-271-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* QMK DFU bootloader generation (#2009)Jack Humbert2017-11-141-0/+20
| | | | | | | | | | | | | | | | | | | | | | * 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
* Adds .qmk file type as a target for QMK Toolbox (#1084)Jack Humbert2017-11-011-0/+24
| | | | | | | | | | | | | | | | | | * 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
* Fix avrdude message to not mention any specific device model.Phil Hagelberg2017-10-161-3/+3
|
* add rule shortcut via @samwho's suggesionJack Humbert2017-08-271-4/+2
|
* add bin targets - closes #1648, fixes #1647Jack Humbert2017-08-271-0/+5
|
* Add message to avrdude script that it can't used within WSL currentlyDanny Nguyen2017-08-161-12/+16
|
* Move avrdude flashing script from individual keyboard rules.mk to common ↵Danny Nguyen2017-08-031-0/+14
| | | | | | location and improve script. Port detection script is now more informative and better handles first time flashing of a Pro Micro
* Start mvoing hardware drivers to /drivers/ (#1433)Jack Humbert2017-07-101-1/+1
| | | | | | | | | | | | * start driver isolation * update nyquist and orthodox boards * update atreus62 * move drivers to avr * update avr conditional
* Don't search for TEENSY_LOADER_CLI if it's already definedFred Sundvik2017-07-101-5/+7
|
* Don't run dfu-programmer unless specified as a targetFred Sundvik2017-07-101-10/+10
| | | | | | 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.
* Add possibility to override the command to execute when flashingFred Sundvik2017-04-291-19/+23
|
* The adafruit BLE C++ code requires -std=c++11Priyadi Iman Nurcahyo2016-12-101-1/+1
|
* Convert hex to bindi0ib2016-08-071-0/+5
| | | For flashing via alternative methods like LUFA MassStorage bootloader.
* Make DFU wait for bootloaderTravis La Marr2016-07-151-0/+4
| | | | | Added a loop for waiting for the keyboard to be put in bootloader mode, rather than failing out. Makes building keymaps easier.