Merge pull request #869 from keyboardio/technomancy/atreus/bootloader-selection

technomancy/Atreus: Use the corret bootloader for A* pinouts
pull/872/head
Gergely Nagy 5 years ago committed by GitHub
commit 14b6eb29cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -29,6 +29,7 @@
#include <Arduino.h> #include <Arduino.h>
#include "kaleidoscope/driver/bootloader/avr/HalfKay.h" #include "kaleidoscope/driver/bootloader/avr/HalfKay.h"
#include "kaleidoscope/driver/bootloader/avr/Caterina.h"
#include "kaleidoscope/device/ATmega32U4Keyboard.h" #include "kaleidoscope/device/ATmega32U4Keyboard.h"
namespace kaleidoscope { namespace kaleidoscope {
@ -63,7 +64,12 @@ struct AtreusProps : kaleidoscope::device::ATmega32U4KeyboardProps {
}; };
typedef kaleidoscope::driver::keyscanner::ATmega<KeyScannerProps> KeyScanner; typedef kaleidoscope::driver::keyscanner::ATmega<KeyScannerProps> KeyScanner;
#ifdef KALEIDOSCOPE_HARDWARE_ATREUS_PINOUT_LEGACY_TEENSY2
typedef kaleidoscope::driver::bootloader::avr::HalfKay BootLoader; typedef kaleidoscope::driver::bootloader::avr::HalfKay BootLoader;
#else
typedef kaleidoscope::driver::bootloader::avr::Caterina BootLoader;
#endif
static constexpr const char *short_name = "atreus"; static constexpr const char *short_name = "atreus";
}; };

Loading…
Cancel
Save