I’m using algernon’s layout as a base since he has most of what I want already. The only modifications I’ve done are swapping the positions of two sets of keys and adding an F12 key to the Nav layer.
I’m doing this under Arch Linux with the official packages, so I’ve added the following exports to my shell config:
export ARDUINO_PATH=/usr/share/arduino
export ARDUINO_TOOLS_PATH=/usr/share/arduino/tools
export AVR_SIZE=/usr/bin/avr-size
export AVR_NM=/usr/bin/avr-nm
export AVR_OBJDUMP=/usr/bin/avr-objdump
export AVRDUDE=/usr/bin/avrdude
export AVRDUDE_CONF=/etc/avrdude.conf
export AVR_GCC_PREFIX=/usr
I’ve also altered line 38 of Model01-sketch/lib/hardware/keyboardio/avr/boards.txt to read as follows:
model01.build.core=archlinux-arduino:arduino
I’ve confirmed that ModemManager is not running, and also copied the provided udev rule and reloaded my rules by resetting just to be sure.
I’ve added my user to the uupc group, Arch equivalent to dialout, and logged out and back in.
I’m able to reset back to the stock image using avrdude without issue. However, when I try to run make flash the project builds, but only gets this as output for flashing:
- Size: firmware/algernon/algernon-0.0.0.elf
- Program: 26864 bytes (93.7% Full)
- Data: 1247 bytes (48.7% Full)
To update your keyboard's firmware, hold down the 'Prog' key on your keyboard,
and then press 'Enter'.
When the 'Prog' key glows red, you can release it.
Connecting to programmer: .
Found programmer: Id = "CATERIN"; type = S
Software Version = 1.0; No Hardware Version given.
Programmer supports auto addr increment.
Programmer supports buffered memory access with buffersize=128 bytes.
Programmer supports the following devices:
Device code: 0x44
After that I do see the LEDs flash red across the left keyboard, but it terminates on the ‘C’ button on the third pass. The ‘led’ button never flashes blue. The keyboard then does nothing in response to key presses until I reflash the stock image.
Does anyone have any solutions or ideas about how I can get more information about what’s going wrong?