Closed St0RM53 closed 4 years ago
you can move #define USE_I2CV1 from mcuconf.h to config.h which could bypass this issue. https://github.com/qmk/qmk_firmware/blob/master/keyboards/matrix/noah/config.h
And after pr #7526 was merged, you can add the KINETIS support easier.
Also need this for the input club keyboards, as they use a custom i2c implementation but need the i2c_master
driver support to switch off of uGFX
you can move #define USE_I2CV1 from mcuconf.h to config.h which could bypass this issue. https://github.com/qmk/qmk_firmware/blob/master/keyboards/matrix/noah/config.h
And after pr #7526 was merged, you can add the KINETIS support easier.
It was already on config.h along with #define I2C_DRIVER I2CD1, i just copied and pasted on the wrong field while writing the post. I edited it, sorry.
There is a small amount of change required outside of USE_I2CV1
to get this working, mostly due to the fact the ChibiOS-contrib hal port is a tad inconsistent. I've opened #7591 to cover the changes, but it has a few dependencies to get in first.
Thanks a lot @zvecr. I will wait until it's ready and then test :)
This issue has been automatically marked as stale because it has not had activity in the last 90 days. It will be closed in the next 30 days unless it is tagged properly or other activity occurs.
For maintainers: Please label with bug
, in progress
, on hold
, discussion
or to do
to prevent the issue from being re-flagged.
The I2C driver used for OLED functionality does not support KINETIS ARM microcontrollers.
Feature Request Type
Description
I have been waiting to implement this functionality on my finished keyboard i made about 3 months ago. This has been discussed on the discord server and while some process was made, the driver has no proper definitions to compile and work with the Chibios hal driver.
Setting the following in: mcuconf.h
config.h
will result in the following compilation output:
Default values for OPMODE_I2C and STD_DUTY_CYCLE are missing (that's why they are set in the config file), and USE_I2CV1 should be defined by the driver.
This is the furthest i could get with my skills. Functionality is already supported in Chibios. Hopefully the community can implement this properly since it will open up the functionality of QMK even further:) I can provide hardware testing since it is already build and used daily.