mirror of
https://github.com/speedypotato/Pico-Game-Controller.git
synced 2026-10-02 03:38:05 +03:00
CMake update to copy uf2 to build_uf2 folder
This commit is contained in:
Binary file not shown.
+1
-1
@@ -1,6 +1,6 @@
|
||||
# Pico-Game-Controller
|
||||
|
||||
Manually copied built uf2 file for quick flashing.
|
||||
Built uf2 file for quick flashing. CMake should copy to here upon build.
|
||||
|
||||
Quick how-to flash:
|
||||
|
||||
|
||||
+6
-1
@@ -17,4 +17,9 @@ target_link_libraries(Pico_Game_Controller PRIVATE
|
||||
hardware_dma
|
||||
hardware_irq)
|
||||
|
||||
pico_add_extra_outputs(Pico_Game_Controller)
|
||||
pico_add_extra_outputs(Pico_Game_Controller)
|
||||
|
||||
add_custom_command(TARGET Pico_Game_Controller
|
||||
POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy ${PROJECT_BINARY_DIR}/src/Pico_Game_Controller.uf2 ${PROJECT_SOURCE_DIR}/build_uf2/Pico_Game_Controller.uf2
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user