Unverified Commit b2428763 authored by Earle F. Philhower, III's avatar Earle F. Philhower, III Committed by GitHub

Add SHA256 SDK libs/inclues for RP2350 (#2364)

parent 99a907b0
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
......@@ -4,3 +4,5 @@
-iwithprefixbefore/pico-sdk/src/rp2350/hardware_structs/include
-iwithprefixbefore/pico-sdk/src/rp2350/pico_platform/include
-iwithprefixbefore/pico-sdk/src/rp2_common/cmsis/stub/CMSIS/Device/RP2350/Include
-iwithprefixbefore/pico-sdk/src/rp2_common/hardware_sha256/include
-iwithprefixbefore/pico-sdk/src/rp2_common/pico_sha256/include
......@@ -59,6 +59,11 @@ add_library(pico-${cpu} STATIC)
target_compile_definitions(pico-${cpu} PUBLIC
LWIP_IPV6=0
)
if (${cpu} MATCHES "rp2040")
set(xll1)
elseif(${cpu} MATCHES "rp2350")
set(xll1 pico_sha256)
endif()
target_link_libraries(pico-${cpu}
common-${cpu}
......@@ -108,6 +113,7 @@ target_link_libraries(pico-${cpu}
pico_stdlib
pico_unique_id
pico_util
${xll1}
tinyusb
tinyusb_device_unmarked
)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment