]> git.friedersdorff.com Git - max/tmk_keyboard.git/commitdiff
ibmpc_usb: Add support for AT90USB1286
authortmk <hasu@tmk-kbd.com>
Wed, 4 Dec 2019 05:54:20 +0000 (14:54 +0900)
committertmk <hasu@tmk-kbd.com>
Wed, 4 Dec 2019 06:09:36 +0000 (15:09 +0900)
converter/ibmpc_usb/Makefile.at90usb1286 [new file with mode: 0644]
converter/ibmpc_usb/config.h

diff --git a/converter/ibmpc_usb/Makefile.at90usb1286 b/converter/ibmpc_usb/Makefile.at90usb1286
new file mode 100644 (file)
index 0000000..9eb588a
--- /dev/null
@@ -0,0 +1,4 @@
+MCU = at90usb1286
+BOOTLOADER_SIZE = 8192
+
+include Makefile
index fb204ecdf1e1f1f681c28d3d00dc80d934b8f427..fc545f691c8bb98ee73649edf00f4f313510ec44 100644 (file)
@@ -43,7 +43,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 /*
  * Pin and interrupt configuration
  */
-#if defined(__AVR_ATmega32U4__) || defined(__AVR_ATmega32U2__)
+#if defined(__AVR_ATmega32U4__) || defined(__AVR_ATmega32U2__) || defined(__AVR_AT90USB1286__)
 /* uses INT1 for clock line */
 #define IBMPC_CLOCK_PORT  PORTD
 #define IBMPC_CLOCK_PIN   PIND