zephyr/samples/drivers/dac/boards/ronoth_lodev.overlay
Martí Bolívar baf93a1821 samples: dac: move HW config to /zephyr,user
Require board overlays to configure the sample in the /zephyr,user
node, and access the device with DEVICE_DT_GET instead of
device_get_binding(). Update the documentation and move existing board
configuration to overlays.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2021-05-05 20:46:43 +02:00

8 lines
92 B
Plaintext

/ {
zephyr,user {
dac = <&dac1>;
dac-channel-id = <1>;
dac-resolution = <12>;
};
};