1
0
mirror of https://github.com/whowechina/chu_pico.git synced 2024-11-11 22:47:09 +01:00

Fix cmake copy destination

This commit is contained in:
whowechina 2023-09-14 22:09:25 +08:00
parent f63a404083
commit 51ab5403b4

View File

@ -25,7 +25,7 @@ function(make_firmware board board_def)
pico_add_extra_outputs(${board})
add_custom_command(TARGET ${board} POST_BUILD
COMMAND cp ${board}.uf2 /mnt/d/Code/iidx_pico/firmware/build)
COMMAND cp ${board}.uf2 ${CMAKE_CURRENT_LIST_DIR}/..)
endfunction()
make_firmware(chu_pico BOARD_CHU_PICO)