aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nrf5x/utils.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/nrf5x/utils.cmake b/nrf5x/utils.cmake
index efd1f4d..2ee62ae 100644
--- a/nrf5x/utils.cmake
+++ b/nrf5x/utils.cmake
@@ -201,6 +201,8 @@ function(_nrf_chip_values INCLUDES_VAR DEFINES_VAR)
list(APPEND defines NRF51)
if (${MCU_CHIP} MATCHES "nrf51822")
list(APPEND defines NRF51822)
+ elseif (${MCU_CHIP} MATCHES "nrf51422")
+ list(APPEND defines NRF51422)
else ()
message(FATAL_ERROR "MCU: Unsupported nRF MCU chip: ${MCU_CHIP}")
endif ()