Open jpathy opened 7 years ago
Can confirm that this works for beta 6.
Keep in mind that if you comment out / uncomment defines in the main ino file, you'll also need to do the same changes in the onlykey library (in its onlykey.h file) from libraries repo.
It would be great to get official instructions on compiling added into the README/wiki.
I have this currently working on Ubuntu 20.04
I do Recommend following along with the script by copy/paste
, instead of directly running it
https://gist.github.com/bmatusiak/515ae18016b20726da4960591f76baf7
this script/process still requires this part, i think
set_media
: $ARDUINO_PATH/hardware/teensy/avr/cores/teensy3/usb_keyboard.h:88the script does open the usb_keyboard.h
file in gedit
for your convenience
Hi together, I just tried it as descript and got errors. Is the Arduino version 1.6.5 still required? with Arduino version 1.6.5 I can not install the Teensyduino libs.
Maybe I just have not seen the actual manual to do that. If you guys could help that would be awesome :)
I was able to compile on Windows using the information above - however, the Teensy loader which appears will not provide the option to load the firmware onto the device, regardless of whether it's in config mode. Trying to load the hex file in the OnlyKey app gives "Error: Firmware block size too large".
From what I can tell searching the internet, it seems like there was a hardware revision for the OnlyKey. Is it still possible to load self-compiled firmware onto the device? And if so, how?
I was able to compile on Windows using the information above - however, the Teensy loader which appears will not provide the option to load the firmware onto the device, regardless of whether it's in config mode. Trying to load the hex file in the OnlyKey app gives "Error: Firmware block size too large".
From what I can tell searching the internet, it seems like there was a hardware revision for the OnlyKey. Is it still possible to load self-compiled firmware onto the device? And if so, how?
Flashing of CUSTOM/self-Compiled firmware is DISABLED on 'Production' hardware. This increases security, for example ,the webcrypt app is restricted and can only be hosted from domain "apps.crp.to" self-compiled firmware is proven to break features like this. And is why it will never be enabled, This will keep encryption security enforced for all users.
HOWEVER: I did create a DOCKER environment to build the firmware for DEVELOPER Hardware, found here https://github.com/onlykey/arduino-1.6.5-r5-teensy_127
@bmatusiak where can I get my hands on developer hardware? I want to add Colemak Keyboard Layout support and test it.
@bmatusiak where can I get my hands on developer hardware? I want to add Colemak Keyboard Layout support and test it.
@onlykey (tim) may not have any available at this time. because there is a new hardware version being shipped out in a few months
@bmatusiak is this situation persisting? I'd like to contribute a keyboard layout and additional customization options for OnlyKey Duo if possible. How can I acquire development hardware?
Is this ongoing? i'd like to do some work on adding ed448.
I'm also bought one and want to code and modify, would be awesome if it would work. Sadly I am stuck with compiler errors maybe a quick guide update would help <3
Here are some instructions to compile the firmware. Feel free to add it to wiki.
Steps to compile firmware
Download Arduino version 1.6.5 from the official website: https://www.arduino.cc/en/Main/OldSoftwareReleases#previous
Download and install Teensyduino following the instructions from: https://www.pjrc.com/teensy/td_download.html
Clone the libraries repo inside extraced arduino path:
Clone the firmware repo somewhere:
Few changes to make it work:
Backup and replace the following files from OnlyKey-Firmware repo
$ARDUINO_PATH/hardware/teensy/avr/cores/teensy3/{usb_desc.h, usb_keyboard.c, keylayouts.c, keylayouts.h}
Comment the body of the member function
set_media
:$ARDUINO_PATH/hardware/teensy/avr/cores/teensy3/usb_keyboard.h:90
On the arduino UI change USB Type -> "Raw HID" and Board Type -> "Teensy 3.2/3.1".
Make your own changes, verify and upload.