diff --git a/vendors/nordic/boards/nrf52840-dk/CMakeLists.txt b/vendors/nordic/boards/nrf52840-dk/CMakeLists.txt index 364f5664700..d93d7b8b1f5 100644 --- a/vendors/nordic/boards/nrf52840-dk/CMakeLists.txt +++ b/vendors/nordic/boards/nrf52840-dk/CMakeLists.txt @@ -491,6 +491,10 @@ if(AFR_ENABLE_DEMOS OR AFR_ENABLE_TESTS) "${AFR_COMPILER_DIR}/../../../lib/libvfscanf_v7em_fpv4_sp_d16_hard_t_le_eabi.o" ) + if(AFR_METADATA_MODE) + return() + endif() + # ------------------------------------------------------------------------------------------------- # Additional build configurations # -------------------------------------------------------------------------------------------------