Skip to content

Commit 724236a

Browse files
authored
Skip encrypted bootloader with no mbedtls (#522)
1 parent 9902d31 commit 724236a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

bootloaders/CMakeLists.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
add_subdirectory_exclude_platforms(encrypted host rp2040 rp2350-riscv)
1+
if (TARGET pico_mbedtls)
2+
add_subdirectory_exclude_platforms(encrypted host rp2040 rp2350-riscv)
3+
else()
4+
# Assume picotool has no signing support, if no pico_mbedtls available
5+
message("Skipping encrypted bootloader example as pico_mbedtls unavailable")
6+
endif ()

0 commit comments

Comments
 (0)