From 4b44e106b38f7c4143c51ad4f0b0331a96925537 Mon Sep 17 00:00:00 2001 From: tmk Date: Wed, 4 Dec 2019 14:54:20 +0900 Subject: [PATCH] ibmpc_usb: Add support for AT90USB1286 --- converter/ibmpc_usb/Makefile.at90usb1286 | 4 ++++ converter/ibmpc_usb/config.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 converter/ibmpc_usb/Makefile.at90usb1286 diff --git a/converter/ibmpc_usb/Makefile.at90usb1286 b/converter/ibmpc_usb/Makefile.at90usb1286 new file mode 100644 index 00000000..9eb588aa --- /dev/null +++ b/converter/ibmpc_usb/Makefile.at90usb1286 @@ -0,0 +1,4 @@ +MCU = at90usb1286 +BOOTLOADER_SIZE = 8192 + +include Makefile diff --git a/converter/ibmpc_usb/config.h b/converter/ibmpc_usb/config.h index fb204ecd..fc545f69 100644 --- a/converter/ibmpc_usb/config.h +++ b/converter/ibmpc_usb/config.h @@ -43,7 +43,7 @@ along with this program. If not, see . /* * 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 -- 2.46.2