Skip to content

Commit 7245c16

Browse files
committed
Add support for the ErgoDox EZ
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
1 parent 288b253 commit 7245c16

File tree

6 files changed

+418
-1
lines changed

6 files changed

+418
-1
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,3 +172,6 @@
172172
[submodule "libraries/Kaleidoscope-Redial"]
173173
path = libraries/Kaleidoscope-Redial
174174
url = https://github.com/keyboardio/Kaleidoscope-Redial
175+
[submodule "libraries/Kaleidoscope-Hardware-EZ-ErgoDox"]
176+
path = libraries/Kaleidoscope-Hardware-EZ-ErgoDox
177+
url = https://github.com/keyboardio/Kaleidoscope-Hardware-EZ-ErgoDox

boards.txt

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,25 @@ model01.build.board=AVR_MODEL01
3636
model01.build.core=arduino:arduino
3737
model01.build.variant=model01
3838
model01.build.extra_flags={build.usb_flags} '-DKALEIDOSCOPE_HARDWARE_H="Kaleidoscope-Hardware-Model01.h"'
39+
40+
##############################################################
41+
42+
ergodox.name=ErgoDox
43+
ergodox.vid.0=0xfeed
44+
ergodox.pid.0=0x1307
45+
46+
ergodox.upload.tool=teensy_loader_cli
47+
ergodox.upload.protocol=halfkay
48+
ergodox.upload.maximum_size=32256
49+
ergodox.upload.maximum_data_size=2560
50+
51+
ergodox.build.mcu=atmega32u4
52+
ergodox.build.f_cpu=16000000L
53+
ergodox.build.vid=0xfeed
54+
ergodox.build.pid=0x1307
55+
ergodox.build.usb_product="ErgoDox EZ"
56+
ergodox.build.usb_manufacturer="ErgoDox EZ"
57+
ergodox.build.board=AVR_ERGODOX
58+
ergodox.build.core=arduino:arduino
59+
ergodox.build.variant=ergodox
60+
ergodox.build.extra_flags={build.usb_flags} '-DKALEIDOSCOPE_HARDWARE_H="Kaleidoscope-Hardware-EZ-ErgoDox.h"' '-DKALEIDOSCOPE_ENABLE_V1_PLUGIN_API=0'

platform.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,12 @@ tools.avrdude.bootloader.pattern="{cmd.path}" "-C{config.path}" {bootloader.verb
115115

116116
tools.avrdude_remote.upload.pattern=/usr/bin/run-avrdude /tmp/sketch.hex {upload.verbose} -p{build.mcu}
117117

118+
tools.teensy_loader_cli.cmd.path=teensy_loader_cli
119+
tools.teensy_loader_cli.upload.params.verbose=-v
120+
tools.teensy_loader_cli.upload.params.quiet=
121+
tools.teensy_loader_cli.upload.noverify=
122+
tools.teensy_loader_cli.upload.pattern="{cmd.path}" {upload.verbose} --mcu=atmega32u4 -w -v "{build.path}/{build.project_name}.hex"
123+
118124
# USB Default Flags
119125
# Default blank usb manufacturer will be filled in at compile time
120126
# - from numeric vendor ID, set to Unknown otherwise

0 commit comments

Comments
 (0)