]> git.friedersdorff.com Git - max/tmk_keyboard.git/commitdiff
ibm4704_usb: Add Makefiles for TMK Converter
authortmk <hasu@tmk-kbd.com>
Tue, 2 Feb 2016 04:51:47 +0000 (13:51 +0900)
committertmk <hasu@tmk-kbd.com>
Tue, 2 Feb 2016 04:51:47 +0000 (13:51 +0900)
converter/ibm4704_usb/Makefile
converter/ibm4704_usb/Makefile.tmk_rev1 [new file with mode: 0644]
converter/ibm4704_usb/Makefile.tmk_rev2 [new file with mode: 0644]
converter/ibm4704_usb/README.md

index b5c97d2d314604440340be37a442c485576849ea..79f17ec0d6e8cd24c9213f133460f275410f87ab 100644 (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
diff --git a/converter/ibm4704_usb/Makefile.tmk_rev1 b/converter/ibm4704_usb/Makefile.tmk_rev1
new file mode 100644 (file)
index 0000000..338b7da
--- /dev/null
@@ -0,0 +1,5 @@
+# TMK Converter rev.1
+# which looks like this:
+# https://github.com/tmk/keyboard_converter#pcb-rev1
+MCU = atmega32u4
+include Makefile
diff --git a/converter/ibm4704_usb/Makefile.tmk_rev2 b/converter/ibm4704_usb/Makefile.tmk_rev2
new file mode 100644 (file)
index 0000000..56c2c2c
--- /dev/null
@@ -0,0 +1,6 @@
+# TMK Converter rev.2
+# which looks like this:
+# https://github.com/tmk/keyboard_converter#pcb-rev2
+MCU = atmega32u2
+include Makefile
+
index 68db4bd05004a6f7370a26f10da54a98e85e2de9..49c65cdfe5f2c16c3e7065a46a02fd4606d7257f 100644 (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