We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3085741 commit 2e5bd8fCopy full SHA for 2e5bd8f
sketchbook/1_Blink/CMakeLists.txt
@@ -3,7 +3,12 @@ cmake_minimum_required(VERSION 3.21)
3
# STEP 1: set up bases of environment
4
# -----------------------------------------------------------------------------
5
6
-list(APPEND CMAKE_MODULE_PATH "$ENV{HOME}/Arduino_Core_STM32/cmake")
+file(REAL_PATH "~/Arduino_Core_STM32" CORE_PATH EXPAND_TILDE)
7
+file(TO_CMAKE_PATH "${CORE_PATH}" CORE_PATH)
8
+
9
+list(APPEND CMAKE_MODULE_PATH ${CORE_PATH}/cmake)
10
+set(CMAKE_TOOLCHAIN_FILE toolchain)
11
12
set(CMAKE_TOOLCHAIN_FILE toolchain)
13
14
project("Blink_project")
0 commit comments