File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change 1
1
add_subdirectory_exclude_platforms (uart host rp2040 )
2
2
3
3
if (TARGET pico_mbedtls )
4
- # older clang seem to have a segment overlap issue that confuses picotool
5
- if (PICO_C_COMPILER_IS_CLANG AND CMAKE_C_COMPILER_VERSION VERSION_LESS "17.0.0" )
6
- message ("Skipping encrypted bootloader example on LLVM/Clang version < 17; please use GCC or newer LLVM/Clang" )
7
- else ()
8
- add_subdirectory_exclude_platforms (encrypted host rp2040 rp2350-riscv )
9
- endif ()
4
+ add_subdirectory_exclude_platforms (encrypted host rp2040 rp2350-riscv )
10
5
else ()
11
6
# Assume picotool has no signing support, if no pico_mbedtls available
12
7
message ("Skipping encrypted bootloader example as pico_mbedtls unavailable" )
Original file line number Diff line number Diff line change @@ -10,8 +10,6 @@ target_link_libraries(enc_bootloader pico_stdlib pico_rand pico_mbedtls)
10
10
# use stack guards, as AES variables are written near the stack
11
11
target_compile_definitions (enc_bootloader PRIVATE PICO_USE_STACK_GUARDS=1 )
12
12
13
- target_link_options (enc_bootloader PUBLIC -Wl,--print-memory-usage )
14
-
15
13
target_include_directories (enc_bootloader PRIVATE ${CMAKE_CURRENT_LIST_DIR} )
16
14
17
15
# set as no_flash binary
You can’t perform that action at this time.
0 commit comments