Skip to content

Update spi definition for Zephyr 3.2+ compatibility#10

Open
cairnm wants to merge 1 commit intommccoyd:mainfrom
cairnm:fix/spi-definition
Open

Update spi definition for Zephyr 3.2+ compatibility#10
cairnm wants to merge 1 commit intommccoyd:mainfrom
cairnm:fix/spi-definition

Conversation

@cairnm
Copy link

@cairnm cairnm commented Mar 24, 2024

This branch updates the SPI definition to use &pinctrl which is a necessary change for ZMK using Zephyr 3.2 or greater. The update essentially replicates the example code in the ZMK docs.

I've tested this change and confirmed that it builds/runs when using the current ZMK main branch, and the underglow LEDs work as expected on my Hillside46.

@Matthew-PargaManasse
Copy link

I grabbed cairnm's changes and applied them to my build. I can confirm that it is functioning on my Hillside46.

Copy link

@CaptainFlint42 CaptainFlint42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also applied these changes and it worked for my Hillside 52.

@FilippeMafra
Copy link

I made the same changes and worked on my Hillside 48.

@LukeJohnson
Copy link

LukeJohnson commented Nov 27, 2024

I have also confirmed that these changes resolve the build issue on my fork.

After merging the branch to my fork the build is successful.

Thanks for the fix @cairnm !

auipga pushed a commit to auipga/zmk-config-hillside52 that referenced this pull request Jan 5, 2025
MandarinoMcZumo added a commit to MandarinoMcZumo/zmk-config-hillside that referenced this pull request Aug 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants