bb739b13ee
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>
6 lines
184 B
CMake
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")
|