Browse Source

ibm4704_usb: Add Makefiles for TMK Converter

tags/v2.9
tmk 8 years ago
parent
commit
3730666b97

+ 2
- 2
converter/ibm4704_usb/Makefile View File

@@ -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
- 0
converter/ibm4704_usb/Makefile.tmk_rev1 View 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
- 0
converter/ibm4704_usb/Makefile.tmk_rev2 View 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


+ 16
- 3
converter/ibm4704_usb/README.md View File

@@ -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

Loading…
Cancel
Save