Ahh ok.
So your most likely problem is you’re trying to change or update a driver with the same name as it exists elsewhere in the Zephyr tree. In my experience I had to rename my updated driver to something else so I could define it in the code. For example I added FIFO to the LIS2DH driver and had to rename it with an _ENHANCED
suffix.
menuconfig LIS2DH_ENHANCED
bool "LIS2DH Three Axis Accelerometer (Enhanced)"
depends on I2C || SPI
help
Enable SPI/I2C-based driver for LIS2DH, LIS3DH, LSM303DLHC,
LIS2DH12, LSM303AGR triaxial accelerometer sensors.
Whereas the original was simply:
menuconfig LIS2DH
A good clue to see what’s happening is to take a look at your build/zephyr/.config
file to see whether things are enabled correctly or not.
Hope that helps!