Skip to content

Commit

Permalink
flash_loader: increase wait rounds for slow boards
Browse files Browse the repository at this point in the history
  • Loading branch information
seeseemelk committed Jan 14, 2021
1 parent 4bfaab0 commit 9fd7e63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stlink-lib/flash_loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ int stlink_flash_loader_run(stlink_t *sl, flash_loader_t* fl, stm32_addr_t targe
* the OS uses, the wait until the error message is reduced to the same order of magnitude
* as what was intended. -- REW.
*/
#define WAIT_ROUNDS 30
#define WAIT_ROUNDS 40

// wait until done (reaches breakpoint)
for (i = 0; i < WAIT_ROUNDS; i++) {
Expand Down

0 comments on commit 9fd7e63

Please sign in to comment.