From 9defa75e818c259ad26b161b1fe33e7167b0156b Mon Sep 17 00:00:00 2001 From: ReFil <31960031+ReFil@users.noreply.github.com> Date: Fri, 31 May 2024 11:11:26 +0100 Subject: [PATCH] suppress unit address warning --- boards/arm/seeeduino_xiao_ble/pre_dt_board.cmake | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 boards/arm/seeeduino_xiao_ble/pre_dt_board.cmake diff --git a/boards/arm/seeeduino_xiao_ble/pre_dt_board.cmake b/boards/arm/seeeduino_xiao_ble/pre_dt_board.cmake new file mode 100644 index 00000000000000..05b0efe5f04fb1 --- /dev/null +++ b/boards/arm/seeeduino_xiao_ble/pre_dt_board.cmake @@ -0,0 +1,9 @@ +# +# Copyright (c) 2024 The ZMK Contributors +# SPDX-License-Identifier: MIT +# + +# Suppresses duplicate unit-address warning at build time for power, clock, acl and flash-controller +# https://docs.zephyrproject.org/latest/build/dts/intro-input-output.html + +list(APPEND EXTRA_DTC_FLAGS "-Wno-unique_unit_address_if_enabled") \ No newline at end of file