Bluetooth: Mesh: Same config for all nrf51_qfaa boards in sample

Renames the nrf51_blenano config file to something generic and uses that
same config for the nrf51_ble400 board, which has the same constraints.

Cannot rely on the CONFIG_SOC_NRF51_QFAA variable, as the CONF_FILE
variable must be set before the boilerplate.

Signed-off-by: Trond Einar Snekvik <Trond.Einar.Snekvik@nordicsemi.no>
This commit is contained in:
Trond Einar Snekvik 2019-09-11 10:12:29 +02:00 committed by Johan Hedberg
commit 827a852acf
2 changed files with 4 additions and 0 deletions

View file

@ -3,6 +3,10 @@
cmake_minimum_required(VERSION 3.13.1) cmake_minimum_required(VERSION 3.13.1)
set(QEMU_EXTRA_FLAGS -s) set(QEMU_EXTRA_FLAGS -s)
if((BOARD STREQUAL nrf51_blenano) OR (BOARD STREQUAL nrf51_ble400))
set(CONF_FILE nrf51_qfaa.conf)
endif()
include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
project(mesh) project(mesh)