From 1f1fe5fd879cd630a4cc81c6365720fb56d63a03 Mon Sep 17 00:00:00 2001 From: tmk Date: Tue, 24 Jan 2023 08:38:48 +0900 Subject: [PATCH] usb_usb: Fix makefile for 8Mz setup --- converter/usb_usb/Makefile.8mhz | 2 ++ converter/usb_usb/Makefile.8mhz_debug | 27 +++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 converter/usb_usb/Makefile.8mhz_debug diff --git a/converter/usb_usb/Makefile.8mhz b/converter/usb_usb/Makefile.8mhz index 845a02be..f758ad33 100644 --- a/converter/usb_usb/Makefile.8mhz +++ b/converter/usb_usb/Makefile.8mhz @@ -1,5 +1,7 @@ +TARGET = usb_usb_8mhz F_CPU = 8000000 F_USB = 16000000 UNIMAP_ENABLE = yes KEYMAP_SECTION_ENABLE = yes +NO_DEBUG = yes include Makefile diff --git a/converter/usb_usb/Makefile.8mhz_debug b/converter/usb_usb/Makefile.8mhz_debug new file mode 100644 index 00000000..0ecef652 --- /dev/null +++ b/converter/usb_usb/Makefile.8mhz_debug @@ -0,0 +1,27 @@ +TARGET = usb_usb_8mhz_debug + +F_CPU = 8000000 +F_USB = 16000000 + +#UNIMAP_ENABLE = yes +#KEYMAP_SECTION_ENABLE = yes + +# LUFA debug print +# This may prevent USB enumeration and keyboard init +#TMK_LUFA_DEBUG = yes +# Select one of outputs for debug print +#TMK_LUFA_DEBUG_UART = yes +#TMK_LUFA_DEBUG_SUART = yes + +# USB_Host_Shield_2.0 debug print +# This may prevent USB enumeration and keyboard init +OPT_DEFS += -DDEBUG_USB_HOST + +CONSOLE_ENABLE = yes +MOUSEKEY_ENABLE = no +EXTRAKEY_ENABLE = no +COMMAND_ENABLE = no +OPT_DEFS += -DNO_ACTION_TAPPING +OPT_DEFS += -DNO_ACTION_LAYER +OPT_DEFS += -DNO_ACTION_MACRO +include Makefile