Hello. I'm trying to get a Unicorne working with KMK. I've had some brief discussions on Discord but thought this might be a better place for technical discussions. I'm not sure what repository to use for this issue, but I think it's a documentation issue.
I've tried both generic CircuitPython + KMK and the boardsource Peg firmware.
If I use generic, everything works for one half, but the split side does nothing. LEDs are on, but nothing beyond that.
If I use boardsource, nothing works at all. No LEDs, no keys.
I'll describe everything I did for each of these options below
Unfortunately nothing happens. It appears the firmware works because the RPI-RP2 drive is gone and CIRCUITPY appears (and contains boot_out.txt), but there are no active LEDs on boot-up and no response from key presses.
Trying more stuff, I clone the latest pegeBoards repository and unzip pegBoards/libs/Boardsource-Unicorne-{R,L}.zip to the right and left boards, creating the lib folder there. Still nothing works.
I also tried cloning the latest KMK and copying the kmk sub-folder to each half of the keyboard
Hello. I'm trying to get a Unicorne working with KMK. I've had some brief discussions on Discord but thought this might be a better place for technical discussions. I'm not sure what repository to use for this issue, but I think it's a documentation issue.
I've tried both generic CircuitPython + KMK and the boardsource Peg firmware.
If I use generic, everything works for one half, but the split side does nothing. LEDs are on, but nothing beyond that.
If I use boardsource, nothing works at all. No LEDs, no keys.
I'll describe everything I did for each of these options below
Generic
Setup
I use
adafruit-circuitpython-boardsource_blok-en_US-9.0.4.uf2
from https://circuitpython.org/board/boardsource_blok/ and flash it to each half.I clone the latest KMK and copy the
kmk
sub-folder to each half of the keyboardKeymap
kb.py
I'm using the kb.py (same for R and L as far as I can tell) from https://github.com/boardsource/pegBoards/blob/main/keyboards/Boardsource-Unicorne-L/kb.py. I note there are some strange duplicated lines of code here, but it seems to work on the plugged-in side.
main.py
I'm using the following code to try to link the two sides. First the link snippet, then the entire `main.py`. I note that these lines come from the Boardsource Unicorne main.py (again, no difference between L and R) at https://github.com/boardsource/pegBoards/blob/main/keyboards/Boardsource-Unicorne-L/main.py
My entire
main.py
, which works for the plugged-in side, is:Boardsource
For the Boardsource setup I'm following instructions at https://github.com/boardsource/pegBoards/blob/786e845803e148077e944df3df8604ccce6f7ac2/docs/board-update.md
I use
boardsouce_unicorne.uf2
from https://github.com/boardsource/bs-python/releases/tag/v1.9.3 and flash to each halfFrom https://github.com/boardsource/pegBoards/blob/786e845803e148077e944df3df8604ccce6f7ac2/docs/board-update.md?plain=1#L51-L53 it seems that nothing else is necessary - the keyboard should type just from the firmware?
Unfortunately nothing happens. It appears the firmware works because the RPI-RP2 drive is gone and CIRCUITPY appears (and contains
boot_out.txt
), but there are no active LEDs on boot-up and no response from key presses.Trying more stuff, I clone the latest pegeBoards repository and unzip
pegBoards/libs/Boardsource-Unicorne-{R,L}.zip
to the right and left boards, creating thelib
folder there. Still nothing works.I also tried cloning the latest KMK and copying the
kmk
sub-folder to each half of the keyboardFor
kb.py
andmain.py
:kb.py
as works with the generic setup (taken from https://github.com/boardsource/pegBoards/blob/main/keyboards/Boardsource-Unicorne-L/ )main.py
from https://github.com/boardsource/pegBoards/blob/main/keyboards/Boardsource-Unicorne-L/Result: No response from the board. No LEDs on boot, and no response to key presses.