diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2017-01-24 13:14:22 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2017-01-26 14:06:56 +0100 |
commit | e163b92deffbc5d37419f01e9defd94b8fb2c07b (patch) | |
tree | 7b610f93d28684f7b2632ebd481f67253a4d8631 | |
parent | 2155ab2b72cc4f076dc0a25d0e3a5fdd4d218998 (diff) | |
download | mcu.cmake-e163b92deffbc5d37419f01e9defd94b8fb2c07b.tar.gz mcu.cmake-e163b92deffbc5d37419f01e9defd94b8fb2c07b.tar.bz2 mcu.cmake-e163b92deffbc5d37419f01e9defd94b8fb2c07b.tar.xz mcu.cmake-e163b92deffbc5d37419f01e9defd94b8fb2c07b.zip |
o Adding support for nrf51422.
-rw-r--r-- | nrf5x/utils.cmake | 2 |
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 () |