SOLVED: I was missing Kconfig settings https://github.com/zmkfirmware/zmk/blob/edf5c0814fd3ea202e43aad2d68fd32e882a518c/app/boards/shields/corne/Kconfig.defconfig#L16-L41 which lead to really strange behaviorr
hi, im trying to get an oled display (ssd1306) to work, but my image is corrupted. what could be the issue here?
i tried various combinations of options in the device tree.
.dtsi:
&xiao_i2c {
status = "okay";
/* Nodes using the bus go here */
oled_right: ssd1306@3c {
status = "okay";
compatible = "solomon,ssd1306fb";
reg = <0x3c>;
width = <128>;
height = <32>;
segment-offset = <0>;
page-offset = <0>;
display-offset = <0>;
multiplex-ratio = <31>;
//segment-remap;
//com-invdir;
com-sequential;
//inversion-on;
prechargep = <0x22>;
};
};
.conf:
CONFIG_ZMK_DISPLAY=y
CONFIG_ZMK_WIDGET_BATTERY_STATUS=y
CONFIG_ZMK_WIDGET_OUTPUT_STATUS=y # Shows if USB/BLE is active