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>
8 lines
92 B
Plaintext
8 lines
92 B
Plaintext
/ {
|
|
zephyr,user {
|
|
dac = <&dac1>;
|
|
dac-channel-id = <1>;
|
|
dac-resolution = <12>;
|
|
};
|
|
};
|