Skip to content

Commit 58877e4

Browse files
authored
Allow example keys in the examples repo (#628)
Corresponds to raspberrypi/pico-sdk#2352
1 parent cfe398e commit 58877e4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CMakeLists.txt

+5
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ if (NOT DEFINED PICO_STDIO_USB_CONNECT_WAIT_TIMEOUT_MS)
2020
set(PICO_STDIO_USB_CONNECT_WAIT_TIMEOUT_MS 3000)
2121
endif()
2222

23+
# Allow using the example keys, as this is the examples repository
24+
if (NOT DEFINED PICO_ALLOW_EXAMPLE_KEYS)
25+
set(PICO_ALLOW_EXAMPLE_KEYS 1)
26+
endif()
27+
2328
# Initialize the SDK
2429
pico_sdk_init()
2530

0 commit comments

Comments
 (0)