X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=converter%2Fsun_usb%2Fconfig.h;h=66036da931b09d8f753ba9ffed3e0f431ec18173;hb=c1f36042b4a09bf2357406b83d5c97a652d56bdb;hp=32303cd32b0305bc292b8d8f80518e21ed0b9ef9;hpb=1d5bbb55f28eb2e9eff0543753b8cb85f3b94282;p=max%2Ftmk_keyboard.git diff --git a/converter/sun_usb/config.h b/converter/sun_usb/config.h index 32303cd3..66036da9 100644 --- a/converter/sun_usb/config.h +++ b/converter/sun_usb/config.h @@ -39,15 +39,6 @@ along with this program. If not, see . /* legacy keymap support */ #define USE_LEGACY_KEYMAP -/* Boot Section Size in *BYTEs* - * Teensy halfKay 512 - * Teensy++ halfKay 1024 - * Atmel DFU loader 4096 - * LUFA bootloader 4096 - * USBaspLoader 2048 - */ -#define BOOTLOADER_SIZE 4096 - /* Serial(USART) configuration * asynchronous, negative logic, 1200baud, no flow control @@ -65,12 +56,18 @@ along with this program. If not, see . #define SERIAL_SOFT_RXD_BIT 2 #define SERIAL_SOFT_RXD_VECT INT2_vect /* RXD Interupt */ +#ifdef SERIAL_SOFT_LOGIC_NEGATIVE +/* enable interrupt: INT2(rising edge) */ +#define INTR_TRIG_EDGE ((1<