This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Compile error in battery.c using zephyr Battery Voltage Measurement sample

I get a compile error in battery.c in the Zephyr Battery Voltage Measurement sample.

The error is on line 87 while trying to get the VBAT entry in the board .dts.

According to the code and documentation one does not have to have a vbatt entry in the board .dts file.

Can you help me in fixing my .dts file for my custom board so that this will work.

I include my custom board.dts

nrf52dk_BHA1000_010.dts

Related