boards: arm: nrf5340pdk: add deprecation warning for old board names

Add a deprecation warning for nrf5340 PDK when the old name,
nrf5340_dk_nrf5340, is used instead of the new board name.
For nRF5340 SoC: do this for both secure and non-secure board
targets, and for both Application and Network MCU.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
This commit is contained in:
Ioannis Glaropoulos 2020-04-03 17:45:28 +02:00 committed by Carles Cufí
parent 88bf06bb01
commit 3a986de974

View file

@ -17,6 +17,9 @@ set(nrf52833_pca10100_DEPRECATED nrf52833dk_nrf52833)
set(nrf52840_pca10056_DEPRECATED nrf52840dk_nrf52840)
set(nrf52840_pca10059_DEPRECATED nrf52840dongle_nrf52840)
set(nrf52811_pca10056_DEPRECATED nrf52840dk_nrf52811)
set(nrf5340_dk_nrf5340_cpuapp_DEPRECATED nrf5340pdk_nrf5340_cpuapp)
set(nrf5340_dk_nrf5340_cpuappns_DEPRECATED nrf5340pdk_nrf5340_cpuappns)
set(nrf5340_dk_nrf5340_cpunet_DEPRECATED nrf5340pdk_nrf5340_cpunet)
set(nrf9160_pca10090_DEPRECATED nrf9160dk_nrf9160)
set(nrf9160_pca10090ns_DEPRECATED nrf9160dk_nrf9160ns)
set(nrf52840_pca10090_DEPRECATED nrf9160dk_nrf52840)