cmake: nrf51: Don't #define NRF51822

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 <sebastian.boe@nordicsemi.no>
This commit is contained in:
Sebastian Bøe 2018-10-25 10:12:36 +02:00 committed by Carles Cufí
commit 3215dd862f

View file

@ -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