From 3215dd862f93c68a0a96ad56e42ae4edb80b5253 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20B=C3=B8e?= Date: Thu, 25 Oct 2018 10:12:36 +0200 Subject: [PATCH] cmake: nrf51: Don't #define NRF51822 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The define NRF51822 has no in-tree users and is believed to have been added by accident. The define NRF51 should be referenced in it's place. To avoid users accidentally referencing NRF51822 instead of NRF51, and to avoid confusing users into believing that NRF51822 has semantics we remove it. Signed-off-by: Sebastian Bøe --- soc/arm/nordic_nrf/nrf51/CMakeLists.txt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/soc/arm/nordic_nrf/nrf51/CMakeLists.txt b/soc/arm/nordic_nrf/nrf51/CMakeLists.txt index ded8998516a..2c6a5edb258 100644 --- a/soc/arm/nordic_nrf/nrf51/CMakeLists.txt +++ b/soc/arm/nordic_nrf/nrf51/CMakeLists.txt @@ -1,10 +1,3 @@ -# NB: The define 'NRF51822' is deprecated. 'NRF51' should be used in -# it's place. -zephyr_compile_definitions_ifdef( - CONFIG_SOC_SERIES_NRF51X - NRF51822 - ) - zephyr_sources( power.c soc.c