Merge pull request #135 from ryanplusplus/flash-correct-file-with-jlink
Flash the correct file when running FLASH_pinetime-app with JLink
This commit is contained in:
commit
f5aecb3e84
|
@ -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 New Issue
Block a user