zephyr/boards/deprecated.cmake
Ioannis Glaropoulos 3ad7636638 boards: arm: nrf9160dk: add deprecation warning for old board names
Add a deprecation warning for nrf9160 DK when the old names
(nrf9160_pca10090, nrf52840_pca10090) are used instead of the
new board name. For nRF9160 SoC: do this for both secure and
non-secure board targets.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
2020-03-31 15:16:08 +02:00

17 lines
702 B
CMake

# SPDX-License-Identifier: Apache-2.0
# This file contains boards in Zephyr which has been replaced with a new board
# name.
# This allows the system to automatically change the board while at the same
# time prints a warning to the user, that the board name is deprecated.
#
# To add a board rename, add a line in following format:
# set(<old_board_name>_DEPRECATED <new_board_name>)
set(nrf51_pca10028_DEPRECATED nrf51dk_nrf51422)
set(nrf52840_pca10056_DEPRECATED nrf52840dk_nrf52840)
set(nrf52811_pca10056_DEPRECATED nrf52840dk_nrf52811)
set(nrf9160_pca10090_DEPRECATED nrf9160dk_nrf9160)
set(nrf9160_pca10090ns_DEPRECATED nrf9160dk_nrf9160ns)
set(nrf52840_pca10090_DEPRECATED nrf9160dk_nrf52840)