Skip to content

Upgrade to a more recent version of Zephyr.#197

Draft
MMcM wants to merge 2 commits intoswiftlang:mainfrom
MMcM:ci-zephyr-upgrade
Draft

Upgrade to a more recent version of Zephyr.#197
MMcM wants to merge 2 commits intoswiftlang:mainfrom
MMcM:ci-zephyr-upgrade

Conversation

@MMcM
Copy link
Copy Markdown

@MMcM MMcM commented Mar 28, 2026

This shows some new incompatibilities.

Specifically, zephyrproject-rtos/zephyr@c4c1d92#diff-d31e6c0e092586b6cc791077b8aaee7c14737ad84e51d4ef943000d062842ece changed the GPIO bit-fields to be function macros in 4.2, breaking the bridging header.

This shows some new incompatibilities.
@MMcM MMcM force-pushed the ci-zephyr-upgrade branch from 96fefd5 to f772e4e Compare March 28, 2026 16:28
@xtremekforever
Copy link
Copy Markdown
Contributor

This shows some new incompatibilities.

Specifically, zephyrproject-rtos/zephyr@c4c1d92#diff-d31e6c0e092586b6cc791077b8aaee7c14737ad84e51d4ef943000d062842ece changed the GPIO bit-fields to be function macros in 4.2, breaking the bridging header.

I noticed this as well when I tried a newer Zephyr. Now the big question is- what is the best way to deal with these bit field changes? I redefined these macros as an enum on the Swift side, but maybe there's another way.

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.

2 participants