I have followed various advice to create an SPI/I2C driver an own-designed device using the bme_280 example as a model
As this could be either SPI or I2C I put both configurations in the board overlay file.
The build was throwing many confusing errors beginning with:
```
zephyr/include/generated/devicetree_unfixed.h:4319:56: error: expected declaration specifiers or '...' before numeric constant
#define DT_FOREACH_OKAY_INST_<my device name>(fn) fn(0) fn(1)
```
Given that this is a generated file it's hard to see what caused it.
However, I got lucky and tried commenting out the SPI configuration. It then built cleanly.
It seems that the clash occurs when both I2C and SPI configurations have the same compatible = "<my device name>"
I only want to test one at a time of course. I thought that setting one to status = "disabled" would avoid any clash.
It would be good to know what's happening here.