soc: nrf52805: fix enabled instance 0 check
UART0, TWI0, and SPI0 have different peripheral IDs (2, 3, and 4 respectively) on this SoC and therefore should not be mutually exclusive to use. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
parent
f4350a9303
commit
8765a6b041
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@
|
||||||
IF_ENABLED(CONFIG_SOC_SERIES_NRF91X, (", UARTE"#idx)) \
|
IF_ENABLED(CONFIG_SOC_SERIES_NRF91X, (", UARTE"#idx)) \
|
||||||
". Check nodes with status \"okay\" in zephyr.dts."
|
". Check nodes with status \"okay\" in zephyr.dts."
|
||||||
|
|
||||||
#if !IS_ENABLED(CONFIG_SOC_NRF52810)
|
#if !IS_ENABLED(CONFIG_SOC_NRF52810) && !IS_ENABLED(CONFIG_SOC_NRF52805)
|
||||||
BUILD_ASSERT(CHECK(0), MSG(0));
|
BUILD_ASSERT(CHECK(0), MSG(0));
|
||||||
#endif
|
#endif
|
||||||
BUILD_ASSERT(CHECK(1), MSG(1));
|
BUILD_ASSERT(CHECK(1), MSG(1));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue