Skip to content

Commit b973cdc

Browse files
stephanosiogalak
authored andcommitted
cmake: Set minimum required Zephyr SDK version to 0.13
In order to use the newlib retagetable locking interface (for thread safety), which requires the newlib multi-threading feature to be enabled, the Zephyr SDK 0.13.0 or above must be used. Signed-off-by: Stephanos Ioannidis <[email protected]>
1 parent fb4325e commit b973cdc

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

cmake/verify-toolchain.cmake

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,7 @@
1616
# FORMAT=json: Print the output as a json formatted string, useful for Python
1717

1818
# This is the minimum required Zephyr-SDK version which supports CMake package
19-
if("${ARCH}" STREQUAL "arm64")
20-
set(TOOLCHAIN_ZEPHYR_MINIMUM_REQUIRED_VERSION 0.12.4)
21-
else()
22-
set(TOOLCHAIN_ZEPHYR_MINIMUM_REQUIRED_VERSION 0.12)
23-
endif()
19+
set(TOOLCHAIN_ZEPHYR_MINIMUM_REQUIRED_VERSION 0.13)
2420

2521
# Set internal variables if set in environment.
2622
if(NOT DEFINED ZEPHYR_TOOLCHAIN_VARIANT)

0 commit comments

Comments
 (0)