You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While building nice_view along with an oled-enabled board that was defined in my user config area, the build process threw an error about having spi and i2c configured simultaneously. I root caused the issue to boilerplate.cmake.
Boilerplate.cmake seems to follow this basic methodology:
foreach board root:
foreach shield:
if shield is found, append a bunch of stuff to a bunch of lists
What happens this way is the dtsi for nice_view_adapter and nice_view are read before the dtsi for the keyboard shield
I locally modified boilerplate.cmake to fix the issue (maybe not optimally). I've attached a patch. I would have issued a pr but wasn't exactly sure how to navigate the hierarchy of git repos for this particular file. patch.txt
The text was updated successfully, but these errors were encountered:
I think this would be pretty nice to fix, it frequently causes headaches with custom shields in user config repos, where there are various issues with the build ordering when trying to add nice_view_adapter and nice_view shields to them. There is a PR by @Percentnineteen in the Zephyr repo for it: zmkfirmware/zephyr#24
While building nice_view along with an oled-enabled board that was defined in my user config area, the build process threw an error about having spi and i2c configured simultaneously. I root caused the issue to boilerplate.cmake.
Boilerplate.cmake seems to follow this basic methodology:
What happens this way is the dtsi for nice_view_adapter and nice_view are read before the dtsi for the keyboard shield
I locally modified boilerplate.cmake to fix the issue (maybe not optimally). I've attached a patch. I would have issued a pr but wasn't exactly sure how to navigate the hierarchy of git repos for this particular file.
patch.txt
The text was updated successfully, but these errors were encountered: