mirror of
https://github.com/zephyrproject-rtos/zephyr.git
synced 2024-12-04 11:39:46 +08:00
b4b2b2ef98
Prevent "unique_unit_address_if_enabled" warnings from being reported for nRF52 Series SoCs, where certain nodes need to be enabled with the same base addresses. These can be (depending on a given SoC): - power@40000000 & clock@40000000 - power@40000000 & clock@40000000 & bprot@40000000 - acl@4001e000 & flash-controller@4001e000 Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
8 lines
324 B
CMake
8 lines
324 B
CMake
# Copyright (c) 2022 Nordic Semiconductor
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Suppress "unique_unit_address_if_enabled" to handle the following overlaps:
|
|
# - power@40000000 & clock@40000000 & bprot@40000000
|
|
# - acl@4001e000 & flash-controller@4001e000
|
|
list(APPEND EXTRA_DTC_FLAGS "-Wno-unique_unit_address_if_enabled")
|