From f35861e41eecda7e2e2dc086a1862f93e18536bb Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Tue, 6 Sep 2022 17:27:26 +0200 Subject: [PATCH] add flash frequency to patched firmware --- tools/platformio-build.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/platformio-build.py b/tools/platformio-build.py index 4f27fa64231..39bda3a8829 100644 --- a/tools/platformio-build.py +++ b/tools/platformio-build.py @@ -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",