Closed BenBE closed 2 years ago
Set ARMGCC_TOOLCHAIN_PATH before including arm-gcc.cmake as CMAKE_TOOLCHAIN_FILE to override:
ARMGCC_TOOLCHAIN_PATH
arm-gcc.cmake
CMAKE_TOOLCHAIN_FILE
set(ARMGCC_TOOLCHAIN_PATH /opt/gcc-arm-none-eabi-custom) set(CMAKE_TOOLCHAIN_FILE cubemx.cmake/arm-gcc.cmake)
Set
ARMGCC_TOOLCHAIN_PATH
before includingarm-gcc.cmake
asCMAKE_TOOLCHAIN_FILE
to override: