add flash frequency to patched firmware (#7230)

This commit is contained in:
Jason2866 2022-09-14 10:51:51 +02:00 committed by GitHub
parent ebc8a15e0e
commit 8191aaf84b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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",