We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b22ac95 commit 62e4fd6Copy full SHA for 62e4fd6
bootloaders/CMakeLists.txt
@@ -1,5 +1,10 @@
1
if (TARGET pico_mbedtls)
2
- add_subdirectory_exclude_platforms(encrypted host rp2040 rp2350-riscv)
+ # older clang seem to have a segment overlap issue that confuses picotool
3
+ if (PICO_C_COMPILER_IS_CLANG AND CMAKE_C_COMPILER_VERSION VERSION_LESS "17.0.0")
4
+ message("Skipping encrypted bootloader example on LLVM/Clang version < 17; please use GCC or newer LLVM/Clang")
5
+ else()
6
+ add_subdirectory_exclude_platforms(encrypted host rp2040 rp2350-riscv)
7
+ endif()
8
else()
9
# Assume picotool has no signing support, if no pico_mbedtls available
10
message("Skipping encrypted bootloader example as pico_mbedtls unavailable")
0 commit comments