Skip to content

Commit

Permalink
conditionally link CYW43 lib
Browse files Browse the repository at this point in the history
  • Loading branch information
udo-munk committed Dec 9, 2024
1 parent 7420e8b commit 2c915ce
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion picosim/srcsim/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,17 @@ target_compile_options(${PROJECT_NAME} PUBLIC -Wno-unused-parameter)
target_link_libraries(${PROJECT_NAME}
hardware_i2c
pico_stdlib
# pico_cyw43_arch_none
tinyusb_device

no-OS-FatFS-SD-SDIO-SPI-RPi-Pico
pico-ds3231
stdio_msc_usb
)
if(PICO_BOARD STREQUAL pico_w)
target_link_libraries(${PROJECT_NAME}
pico_cyw43_arch_none
)
endif()

pico_add_extra_outputs(${PROJECT_NAME})

Expand Down

0 comments on commit 2c915ce

Please sign in to comment.