Batuhan Baserdem fd44341cbf | 1 year ago | |
---|---|---|
.. | ||
keymap-bitmaps | 1 year ago | |
.gitignore | 1 year ago | |
bb-audio.c | 1 year ago | |
bb-audio.h | 1 year ago | |
bb-backlight.c | 1 year ago | |
bb-backlight.h | 1 year ago | |
bb-encoder.c | 1 year ago | |
bb-encoder.h | 1 year ago | |
bb-macro.c | 1 year ago | |
bb-macro.h | 1 year ago | |
bb-oled-extra.c | 1 year ago | |
bb-oled-extra.h | 1 year ago | |
bb-oled.c | 1 year ago | |
bb-oled.h | 1 year ago | |
bb-rgb.c | 1 year ago | |
bb-rgb.h | 1 year ago | |
bb-underglow.c | 1 year ago | |
bb-underglow.h | 1 year ago | |
bbaserdem.c | 1 year ago | |
bbaserdem.h | 1 year ago | |
config.h | 1 year ago | |
readme.md | 1 year ago | |
rules.mk | 1 year ago |
My userspace code for my various keyboards; available here.
These are my keyboard builds and info, it allows me to plan out my builds.
kprepublic/jj40
ortho_4x12
Just a decorative planck replacement (for my rev4 PCB that died.)
planck/light
ortho_4x12
Just a decorative planck replacement (for my rev4 PCB that died.)
crkbd/rev1
split_3x6_3
PCB is actually Proton-C Compatible crkbd PCB.
crkbd/rev1
split_3x5_3
Maybe try adding a trackpad for this, as detailed here.
splitkb/kyria/rev1
split_3x6_6
Main driver at work currently; love the switches and the board layout.
On archlinux, the package arm-none-eabi-gcc is too new.
To fix; add to the environment CFLAGS="-Wno-error=deprecated"
to compilation commands.
Also; says to run avr-gcc
version 8.4.0
for smaller firmware,
but I find that it only saves a few bytes.
Needed to type this out from the QMK website. If I want to flash a new bootloader for a machine; here are steps;
avrdude -p atmega32u4 -P "$(ls /dev/ttyACM*)" -c avr109 -D -U flash:w:pro_micro_ISP_B6_10.hex
Pro Micro 10 (B6) <-> Keyboard RESET
Pro Micro 15 (B1) <-> Keyboard B1 (SCLK)
Pro Micro 16 (B2) <-> Keyboard B2 (MOSI)
Pro Micro 14 (B3) <-> Keyboard B3 (MISO)
Pro Micro VCC <-> Keyboard VCC
Pro Micro GND <-> Keyboard GND
I do have this on hand I believe; from massdrop's planck light firmware updater.
3. Connect the flashed pro micro to my computer and run
avrdude -c avrisp -P "$(ls /dev/ttyACM*)" -p atmega32u4 -U flash:w:bootloader_atmega32u4_1.0.0.hex:i -U lfuse:w:0x5E:m -U hfuse:w:0xD9:m -U efuse:w:0xC3:m
The avrisp here refers to the firmware on the ISP flasher pro micro.
The atmega32u4
refers to the CPU used in the respective breakout boards.
The avrdude
command interacts with catalina bootloader.
The shell call after the -P
flag auto finds the port that the pro micro connects to.
The last few arguments are some jumpers apparently.
My userspace has a lot of shared code between different keyboards.
These files are prefixed with sbp-
to remove any naming clash.
RGB_MATRIX
.RGBLIGHT
.My personal layout is mostly inspired by the Miryoku layout. There are some changes to make it friendlier to international keyboards. My board is compatible with software implementation of Dvorak and Turkish F.
Base layer uses tap-hold functionality to have access to modifiers. The modifiers are mirrored on each half of the layout; as to make those modifiers accessible to the keys that overlap them. Besides the Alt key; each side has the proper L/R version of the modifier. Since Right Alt key functions as AltGr key; both the L and R versions are available on each side.