zephyr/boards/arm/efr32_radio/pre_dt_board.cmake
Kumar Gala bb739b13ee dts: surpress node name for SPI buses should be 'spi' warning
On Atmel & Silabs SoCs the SPI controller is implemented on a shared
peripheral block (sercom for atmel, usart on silabs) so we can't have
the node name be "spi@...".  In these cases we disable the warning
via passing '-Wno-spi_bus_bridge' to dtc.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2021-02-04 10:05:47 -05:00

6 lines
184 B
CMake

# Copyright (c) 2021 Linaro Limited
# SPDX-License-Identifier: Apache-2.0
# SPI is implemented via usart so node name isn't spi@...
list(APPEND EXTRA_DTC_FLAGS "-Wno-spi_bus_bridge")