-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
Description
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
caksoylar, manna-harbour, mike1808 and ricardo-re-azevedo