Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to compile with oled support? (ssd1306) #63

Closed

Conversation

techhazard
Copy link

@techhazard techhazard commented Aug 4, 2024

I have added an ssd1306 oled screen on the left side of my dilemmav2 and would like to use it do display things (e.g. which layer is active). I think I have added the necessary settings, but I am not gettiing QMK to compile.

With this PR/question I want to have a minimal working oled setup (whether this PR is merged or not).

I have tried the following things:

  1. compile bkb-master without changes (commit f4166fca22): this works

  2. add ENABLE_OLED = yes to keyboards/bastardkb/dilemma/3x5_3/rules.mk: I get the following errors:

platforms/chibios/drivers/i2c_master.c:74:24: error: 'I2CD1' undeclared (first use in this function); did you mean 'I2C1'?
   74 | #    define I2C_DRIVER I2CD1
      |                        ^~~~~
...
platforms/chibios/drivers/i2c_master.c:37:26: error: 'B6' undeclared (first use in this function)
   37 | #    define I2C1_SCL_PIN B6
      |                          ^~
...
platforms/chibios/drivers/i2c_master.c:40:26: error: 'B7' undeclared (first use in this function)
   40 | #    define I2C1_SDA_PIN B7
      |                          ^~
  1. add #define RP_I2C_USE_I2C1 TRUE (and undefine before it) to keyboards/bastardkb/dilemma/3x5_3/mcuconf.h: The error for I2CD1 undeclared disappears, but the ones about B6 and B7 remain.

What kind of settings am I missing?

@bstiq
Copy link
Member

bstiq commented Sep 12, 2024

Hey,

I just noticed this, sorry for the delay.
If still not solved, I recommend dropping by the discord.

OLEDs are not officially supported, so we're not going to integrate this.
Instead, you should add it to your userspace or qmk fork.

@bstiq bstiq closed this Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants