ibm4704_usb: Add Makefiles for TMK Converter
This commit is contained in:
parent
5c89d73755
commit
3730666b97
@ -23,8 +23,8 @@ CONFIG_H = config.h
|
||||
|
||||
|
||||
# MCU name
|
||||
#MCU = at90usb1287
|
||||
MCU = atmega32u4
|
||||
# TMK Converter rev.2
|
||||
MCU ?= atmega32u2
|
||||
|
||||
# Processor frequency.
|
||||
# This will define a symbol, F_CPU, in all source code files equal to the
|
||||
|
5
converter/ibm4704_usb/Makefile.tmk_rev1
Normal file
5
converter/ibm4704_usb/Makefile.tmk_rev1
Normal file
@ -0,0 +1,5 @@
|
||||
# TMK Converter rev.1
|
||||
# which looks like this:
|
||||
# https://github.com/tmk/keyboard_converter#pcb-rev1
|
||||
MCU = atmega32u4
|
||||
include Makefile
|
6
converter/ibm4704_usb/Makefile.tmk_rev2
Normal file
6
converter/ibm4704_usb/Makefile.tmk_rev2
Normal file
@ -0,0 +1,6 @@
|
||||
# TMK Converter rev.2
|
||||
# which looks like this:
|
||||
# https://github.com/tmk/keyboard_converter#pcb-rev2
|
||||
MCU = atmega32u2
|
||||
include Makefile
|
||||
|
@ -47,22 +47,35 @@ Keyboard Plug from front:
|
||||
|
||||
Connection
|
||||
----------
|
||||
In case of using ATMega32U4(Teensy2.0):
|
||||
In case of using ATMega32U4/U2
|
||||
|
||||
1. Supply power with VCC and GND.
|
||||
2. Connect CLOCK to PD1 and DATA to PD0. You can change pin with config.h.
|
||||
3. Optionally you may need pull-up register. 1KOhm probably work.
|
||||
|
||||
TMK Converter can supports IBM 4704.
|
||||
https://github.com/tmk/keyboard_converter
|
||||
|
||||
|
||||
Build Firmware
|
||||
--------------
|
||||
Just run `make`:
|
||||
|
||||
$ make
|
||||
$ make -f <makefile>
|
||||
|
||||
For TMK Converter rev.1 use `Makefile.tmk_rev1` as makefile:
|
||||
|
||||
$ make -f Makefile.tmk_rev1
|
||||
|
||||
For TMK Converter rev.2 use `Makefile.tmk_rev2` as makefile:
|
||||
|
||||
$ make -f Makefile.tmk_rev2
|
||||
|
||||
To select keymap:
|
||||
|
||||
$ make KEYMAP=[plain|...]
|
||||
$ make -f <makefile> KEYMAP=[plain|...]
|
||||
|
||||
To indentify your TMK Converter revision see [this](https://github.com/tmk/keyboard_converter#pcb-revisions).
|
||||
|
||||
|
||||
Keymap
|
||||
|
Reference in New Issue
Block a user