From a5f3885b50c34799927037c2a4bb263f27c787bc Mon Sep 17 00:00:00 2001 From: Stefan Rueger Date: Wed, 7 Sep 2022 09:56:28 +0100 Subject: [PATCH] Add and modify programmers for gemmaBoot in avrdude.conf.in --- src/avrdude.conf.in | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/src/avrdude.conf.in b/src/avrdude.conf.in index f2d0c009..6e9df324 100644 --- a/src/avrdude.conf.in +++ b/src/avrdude.conf.in @@ -1459,20 +1459,35 @@ programmer ; #------------------------------------------------------------ -# gemmaBoot +# arduino_gemma #------------------------------------------------------------ -# Serving the Gemma bootloader -# https://github.com/adafruit/Adafruit-Trinket-Gemma-Bootloader +# https://github.com/arduino/ArduinoCore-avr/tree/master/bootloaders/gemma programmer - id = "gemmaBoot"; - desc = "Gemma bootloader disguised as USBtiny"; + id = "arduino_gemma"; + desc = "Arduino Gemma bootloader disguised as USBtiny"; type = "usbtiny"; prog_modes = PM_SPM; connection_type = usb; usbvid = 0x2341; - usbpid = 0x0105; + usbpid = 0x0c9f; +; + +#------------------------------------------------------------ +# adafruit_gemma +#------------------------------------------------------------ + +# https://github.com/adafruit/Adafruit-Trinket-Gemma-Bootloader + +programmer + id = "adafruit_gemma"; + desc = "Adafruit Trinket Gemma bootloader disguised as USBtiny"; + type = "usbtiny"; + prog_modes = PM_SPM; + connection_type = usb; + usbvid = 0x1781; + usbpid = 0x0c9f; ; #------------------------------------------------------------