Skip to content

Commit

Permalink
add flash frequency to patched firmware (#7230)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason2866 authored Sep 14, 2022
1 parent ebc8a15 commit 8191aaf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/platformio-build.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ def get_patched_bootloader_image(original_bootloader_image, bootloader_offset):
"$TARGET",
"--flash_mode",
"${__get_board_flash_mode(__env__)}",
"--flash_freq",
"${__get_board_f_flash(__env__)}",
"--flash_size",
board_config.get("upload.flash_size", "4MB"),
"--target-offset",
Expand Down

0 comments on commit 8191aaf

Please sign in to comment.