Skip to content

Commit

Permalink
blackpill-f4: change default frequency to 2 MHz
Browse files Browse the repository at this point in the history
so that the probe works on more targets out of the box (see blackmagic-debug#2065).
  • Loading branch information
birkenfeld committed Feb 11, 2025
1 parent 88ac09b commit 3148437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platforms/common/blackpill-f4/blackpill-f4.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ void platform_init(void)
OTG_FS_GCCFG &= ~(OTG_GCCFG_VBUSBSEN | OTG_GCCFG_VBUSASEN);

/* By default, do not drive the SWD bus too fast. */
platform_max_frequency_set(3000000);
platform_max_frequency_set(2000000);
}

void platform_nrst_set_val(bool assert)
Expand Down

0 comments on commit 3148437

Please sign in to comment.