Skip to content

Commit ad905ae

Browse files
authored
Build libpico.a with PICO_XOSC_STARTUP_DELAY_MULTIPLIER=64 (earlephilhower#315)
Fixes earlephilhower#312
1 parent 608a5da commit ad905ae

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lib/libpico.a

11.6 KB
Binary file not shown.

tools/libpico/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ pico_sdk_init()
1313

1414
add_library(pico STATIC)
1515

16+
# Use a longer XOSC startup time, to accomodate Adafruit and other boards that may need it.
1617
target_compile_definitions(pico PUBLIC
1718
PICO_PRINTF_ALWAYS_INCLUDED=1
1819
PICO_FLASH_SIZE_BYTES=16777216
20+
PICO_XOSC_STARTUP_DELAY_MULTIPLIER=64
1921
)
2022

2123
target_compile_options(pico PUBLIC
@@ -25,7 +27,7 @@ target_compile_options(pico PUBLIC
2527

2628
include_directories(BEFORE ${PICO_SDK_PATH}/../tools/libpico)
2729

28-
target_link_libraries(pico
30+
target_link_libraries(pico
2931
boot_stage2
3032
hardware_adc
3133
hardware_base

0 commit comments

Comments
 (0)