From b83d191866833069e5e1f9d2a5e7242d699a181c Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Mon, 8 Jun 2020 16:39:18 -0700 Subject: [PATCH] MINIMAL renaming to get the device to show up as the Keyboardio Atreus in Examples and in the boards manager. This is not the final step, but should be enough that users won't get bitten later --- examples/Devices/Keyboardio/Atreus/.kaleidoscope-builder.conf | 2 ++ .../Atreus2/Atreus2.ino => Keyboardio/Atreus/Atreus.ino} | 0 .../Devices/{Technomancy/Atreus2 => Keyboardio/Atreus}/Makefile | 0 examples/Devices/Technomancy/Atreus2/.kaleidoscope-builder.conf | 2 -- ...ancy-Atreus2.h => Kaleidoscope-Hardware-Keyboardio-Atreus.h} | 0 src/kaleidoscope/device/technomancy/Atreus2.cpp | 2 +- src/kaleidoscope/device/technomancy/Atreus2.h | 2 +- 7 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 examples/Devices/Keyboardio/Atreus/.kaleidoscope-builder.conf rename examples/Devices/{Technomancy/Atreus2/Atreus2.ino => Keyboardio/Atreus/Atreus.ino} (100%) rename examples/Devices/{Technomancy/Atreus2 => Keyboardio/Atreus}/Makefile (100%) delete mode 100644 examples/Devices/Technomancy/Atreus2/.kaleidoscope-builder.conf rename src/{Kaleidoscope-Hardware-Technomancy-Atreus2.h => Kaleidoscope-Hardware-Keyboardio-Atreus.h} (100%) diff --git a/examples/Devices/Keyboardio/Atreus/.kaleidoscope-builder.conf b/examples/Devices/Keyboardio/Atreus/.kaleidoscope-builder.conf new file mode 100644 index 00000000..5d03ea41 --- /dev/null +++ b/examples/Devices/Keyboardio/Atreus/.kaleidoscope-builder.conf @@ -0,0 +1,2 @@ +DEFAULT_SKETCH="Atreus" +BOARD="keyboardio_atreus" diff --git a/examples/Devices/Technomancy/Atreus2/Atreus2.ino b/examples/Devices/Keyboardio/Atreus/Atreus.ino similarity index 100% rename from examples/Devices/Technomancy/Atreus2/Atreus2.ino rename to examples/Devices/Keyboardio/Atreus/Atreus.ino diff --git a/examples/Devices/Technomancy/Atreus2/Makefile b/examples/Devices/Keyboardio/Atreus/Makefile similarity index 100% rename from examples/Devices/Technomancy/Atreus2/Makefile rename to examples/Devices/Keyboardio/Atreus/Makefile diff --git a/examples/Devices/Technomancy/Atreus2/.kaleidoscope-builder.conf b/examples/Devices/Technomancy/Atreus2/.kaleidoscope-builder.conf deleted file mode 100644 index b0bcc80e..00000000 --- a/examples/Devices/Technomancy/Atreus2/.kaleidoscope-builder.conf +++ /dev/null @@ -1,2 +0,0 @@ -DEFAULT_SKETCH="Atreus2" -BOARD="atreus2" diff --git a/src/Kaleidoscope-Hardware-Technomancy-Atreus2.h b/src/Kaleidoscope-Hardware-Keyboardio-Atreus.h similarity index 100% rename from src/Kaleidoscope-Hardware-Technomancy-Atreus2.h rename to src/Kaleidoscope-Hardware-Keyboardio-Atreus.h diff --git a/src/kaleidoscope/device/technomancy/Atreus2.cpp b/src/kaleidoscope/device/technomancy/Atreus2.cpp index 2a4423f2..427bc670 100644 --- a/src/kaleidoscope/device/technomancy/Atreus2.cpp +++ b/src/kaleidoscope/device/technomancy/Atreus2.cpp @@ -17,7 +17,7 @@ */ #ifndef KALEIDOSCOPE_VIRTUAL_BUILD -#ifdef ARDUINO_AVR_ATREUS2 +#ifdef ARDUINO_AVR_KEYBOARDIO_ATREUS #include "kaleidoscope/Runtime.h" #include "kaleidoscope/driver/keyscanner/Base_Impl.h" diff --git a/src/kaleidoscope/device/technomancy/Atreus2.h b/src/kaleidoscope/device/technomancy/Atreus2.h index 2cc0a222..0f78c134 100644 --- a/src/kaleidoscope/device/technomancy/Atreus2.h +++ b/src/kaleidoscope/device/technomancy/Atreus2.h @@ -18,7 +18,7 @@ #pragma once -#ifdef ARDUINO_AVR_ATREUS2 +#ifdef ARDUINO_AVR_KEYBOARDIO_ATREUS #include