aboutsummaryrefslogtreecommitdiff
path: root/nrf5x.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'nrf5x.cmake')
-rw-r--r--nrf5x.cmake12
1 files changed, 6 insertions, 6 deletions
diff --git a/nrf5x.cmake b/nrf5x.cmake
index ee3a814..fe76731 100644
--- a/nrf5x.cmake
+++ b/nrf5x.cmake
@@ -94,18 +94,18 @@ _mcu_find_toolchain()
find_program(MCU_ARM_CC arm-none-eabi-gcc ${MCU_TOOLCHAIN_DIR}/bin)
find_program(MCU_ARM_CXX arm-none-eabi-g++ ${MCU_TOOLCHAIN_DIR}/bin)
find_program(MCU_ARM_OBJCOPY arm-none-eabi-objcopy ${MCU_TOOLCHAIN_DIR}/bin)
-find_program(MCU_ARM_SIZE_TOOL arm-none-eabi-size ${MCU_TOOLCHAIN_DIR}/bin)
+find_program(MCU_ARM_SIZE arm-none-eabi-size ${MCU_TOOLCHAIN_DIR}/bin)
find_program(MCU_ARM_NM arm-none-eabi-nm ${MCU_TOOLCHAIN_DIR}/bin)
set(_CMAKE_TOOLCHAIN_PREFIX arm-none-eabi-)
include(CMakeFindBinUtils)
-#message("MCU_ARM_CC = ${MCU_ARM_CC}")
-#message("MCU_ARM_CXX = ${MCU_ARM_CXX}")
-#message("MCU_ARM_OBJCOPY = ${MCU_ARM_OBJCOPY}")
-#message("MCU_ARM_SIZE_TOOL = ${MCU_ARM_SIZE_TOOL}")
+#message("MCU_ARM_CC = ${MCU_ARM_CC}")
+#message("MCU_ARM_CXX = ${MCU_ARM_CXX}")
+#message("MCU_ARM_OBJCOPY = ${MCU_ARM_OBJCOPY}")
+#message("MCU_ARM_SIZE = ${MCU_ARM_SIZE}")
-if (NOT MCU_ARM_CC OR NOT MCU_ARM_CXX OR NOT MCU_ARM_OBJCOPY OR NOT MCU_ARM_SIZE_TOOL)
+if (NOT MCU_ARM_CC OR NOT MCU_ARM_CXX OR NOT MCU_ARM_OBJCOPY OR NOT MCU_ARM_SIZE)
message(FATAL_ERROR "Could not find required compiler tools.")
endif()