Skip to content

Commit

Permalink
ADB to USB converter: split into rev1 and rev2 (qmk#18052)
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxpark committed Aug 15, 2022
1 parent 51d5aad commit b297a34
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 27 deletions.
12 changes: 2 additions & 10 deletions keyboards/converter/adb_usb/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,8 @@ Keymap
------
To build the default keymap run this command:

$ make converter/adb_usb:default

You may add your own keymap to the converter/adb_usb/keymaps directory, as you would with any other QMK-powered keyboard.

To build your custom keymap, change the build command to:

$ make converter/adb_usb:my_keymap

Where 'my_keymap' is the name of your custom keymap directory.

$ make converter/adb_usb/rev1:default # Pro Micro-based
$ make converter/adb_usb/rev2:default # Hasu 32U2 PCB

Locking Caps Lock
----------------
Expand Down
5 changes: 5 additions & 0 deletions keyboards/converter/adb_usb/rev1/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# MCU name
MCU = atmega32u4

# Bootloader selection
BOOTLOADER = caterina
5 changes: 5 additions & 0 deletions keyboards/converter/adb_usb/rev2/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# MCU name
MCU = atmega32u2

# Bootloader selection
BOOTLOADER = atmel-dfu
30 changes: 13 additions & 17 deletions keyboards/converter/adb_usb/rules.mk
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
# MCU name
MCU = atmega32u4

# Bootloader selection
BOOTLOADER = caterina

# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
MOUSEKEY_ENABLE = no # Mouse keys
CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = no # Enable N-Key Rollover
EXTRAKEY_ENABLE = yes
USB_HID_ENABLE = yes
BACKLIGHT_ENABLE = no
CUSTOM_MATRIX = yes
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
MOUSEKEY_ENABLE = no # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
CUSTOM_MATRIX = yes

SRC = matrix.c adb.c led.c
SRC += matrix.c adb.c led.c

# ADB_MOUSE_ENABLE
# OPT_DEFS += -DADB_MOUSE_ENABLE -DMOUSE_ENABLE

DEFAULT_FOLDER = converter/adb_usb/rev1

0 comments on commit b297a34

Please sign in to comment.