Skip to content

Commit 1798a7b

Browse files
henrikbrixandersencarlescufi
authored andcommitted
boards: shields: mikroe_adc_click: include zephyr/dt-bindings/adc/adc.h
Include zephyr/dt-bindings/adc/adc.h in the shield DTS overlays to simplify using this shield in application overlays. Signed-off-by: Henrik Brix Andersen <[email protected]>
1 parent d2c6fcf commit 1798a7b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

boards/shields/mikroe_adc_click/boards/lpcxpresso55s16.overlay

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7+
#include <zephyr/dt-bindings/adc/adc.h>
8+
79
/delete-node/ &mcp3204_mikroe_adc_click;
810

911
&mikrobus_spi {

boards/shields/mikroe_adc_click/mikroe_adc_click.overlay

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7+
#include <zephyr/dt-bindings/adc/adc.h>
8+
79
&mikrobus_spi {
810
status = "okay";
911

0 commit comments

Comments
 (0)