1# SPDX-License-Identifier: Apache-2.0 2 3zephyr_library_sources(soc.c) 4zephyr_include_directories(.) 5 6if(CONFIG_SOC_NRF52832_ALLOW_SPIM_DESPITE_PAN_58 AND CONFIG_SPI_NRFX_SPIM) 7 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") 8endif() 9 10if(CONFIG_SOC_NRF52832) 11 if(NOT CONFIG_NRF52_ANOMALY_109_WORKAROUND) 12 if (CONFIG_NRFX_SPIS OR CONFIG_NRFX_SPIM OR CONFIG_NRFX_TWIM OR CONFIG_NRFX_PWM) 13 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") 14 endif() 15 endif() 16endif() 17