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