zephyr/soc/nordic/nrf52/CMakeLists.txt

17 lines
710 B
CMake

# SPDX-License-Identifier: Apache-2.0
zephyr_library_sources(soc.c)
zephyr_include_directories(.)
if(CONFIG_SOC_NRF52832_ALLOW_SPIM_DESPITE_PAN_58 AND CONFIG_SPI_NRFX_SPIM)
message(WARNING "Both SOC_NRF52832_ALLOW_SPIM_DESPITE_PAN_58 and an NRF SPIM driver are enabled, therefore PAN 58 will apply if RXD.MAXCNT == 1 and TXD.MAXCNT <= 1")
endif()
if(CONFIG_SOC_NRF52832)
if(NOT CONFIG_NRF52_ANOMALY_109_WORKAROUND)
if (CONFIG_NRFX_SPIS OR CONFIG_NRFX_SPIM OR CONFIG_NRFX_TWIM OR CONFIG_NRFX_PWM)
message(WARNING "NRF52_ANOMALY_109_WORKAROUND disabled with SPIS, SPIM, TWIM or PWM enabled. This will occasionally cause the first byte transmitted to be incorrect")
endif()
endif()
endif()