This commit is contained in:
Bertrand Songis
2016-01-29 16:11:51 +01:00
parent 364bf6ac23
commit 7ebebb312a
7 changed files with 50 additions and 14 deletions
+1 -1
View File
@@ -841,7 +841,7 @@ endif()
if(CPU_FAMILY STREQUAL STM32)
add_custom_target(flash
COMMAND dfu-util --alt 0 --dfuse-address 0x08000000 -D firmware.bin
DEPENDS firmware.bin
DEPENDS firmware
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
)
endif()