mirror of
https://github.com/whowechina/musec_pico.git
synced 2026-09-22 22:37:55 +03:00
Small delay for better boot up
This commit is contained in:
Binary file not shown.
@@ -3,7 +3,9 @@ function(make_firmware board board_def)
|
||||
add_executable(${board}
|
||||
main.c light.c button.c spin.c save.c config.c commands.c cli.c
|
||||
tmag5273.c usb_descriptors.c)
|
||||
target_compile_definitions(${board} PUBLIC ${board_def})
|
||||
target_compile_definitions(${board} PUBLIC ${board_def}
|
||||
PICO_XOSC_STARTUP_DELAY_MULTIPLIER=6)
|
||||
|
||||
pico_enable_stdio_usb(${board} 1)
|
||||
pico_enable_stdio_uart(${board} 0)
|
||||
|
||||
@@ -11,7 +13,7 @@ function(make_firmware board board_def)
|
||||
|
||||
target_compile_options(${board} PRIVATE -Wall -Werror -Wfatal-errors -O3)
|
||||
target_include_directories(${board} PRIVATE ${CMAKE_CURRENT_LIST_DIR})
|
||||
|
||||
|
||||
target_link_libraries(${board} PRIVATE
|
||||
pico_multicore pico_stdlib hardware_pio hardware_pwm hardware_flash
|
||||
hardware_adc hardware_i2c hardware_watchdog
|
||||
|
||||
Reference in New Issue
Block a user