Skip to content

Commit

Permalink
chore: make firmware check fatal error by default (#5749)
Browse files Browse the repository at this point in the history
  • Loading branch information
pfeerick authored Jan 13, 2025
1 parent 608c62b commit 424a0f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions radio/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -480,9 +480,9 @@ if(NATIVE_BUILD)
return()
endif()

if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_EQUAL "14.2.1")
message(WARNING "Only Arm GNU Toolchain version 14.2.rel1 is supported")
if(NOT USE_UNSUPPORTED_TOOLCHAIN AND NOT CMAKE_CXX_COMPILER_VERSION VERSION_EQUAL "14.2.1")
message("CPP Compiler: ${CMAKE_CXX_COMPILER}, version ${CMAKE_CXX_COMPILER_VERSION}")
message(FATAL_ERROR "Only Arm GNU Toolchain version 14.2.rel1 is supported!!")
endif()

set(CMAKE_C_FLAGS "${FIRMWARE_C_FLAGS}")
Expand Down

0 comments on commit 424a0f1

Please sign in to comment.