Flash the correct file when running FLASH_pinetime-app with JLink
This commit is contained in:
parent
f0e1f98823
commit
a30282bdd5
1 changed files with 1 additions and 1 deletions
|
@ -713,7 +713,7 @@ if (USE_JLINK)
|
|||
)
|
||||
add_custom_target("FLASH_${EXECUTABLE_NAME}"
|
||||
DEPENDS ${EXECUTABLE_NAME}
|
||||
COMMAND ${NRFJPROG} --program ${EXECUTABLE_NAME}.hex -f ${NRF_TARGET} --sectorerase
|
||||
COMMAND ${NRFJPROG} --program ${EXECUTABLE_FILE_NAME}.hex -f ${NRF_TARGET} --sectorerase
|
||||
COMMAND sleep 0.5s
|
||||
COMMAND ${NRFJPROG} --reset -f ${NRF_TARGET}
|
||||
COMMENT "flashing ${EXECUTABLE_NAME}.hex"
|
||||
|
|
Loading…
Reference in a new issue