Implement get_board_f_image (#9243)

* Implement `get_board_img_freq`

* rename  to `get_board_f_image`
This commit is contained in:
Jason2866 2024-02-15 20:37:13 +01:00 committed by GitHub
parent 698b78a538
commit bc769fd35a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -102,7 +102,7 @@ def generate_bootloader_image(bootloader_elf):
'"$PYTHONEXE" "$OBJCOPY"',
"--chip", build_mcu, "elf2image",
"--flash_mode", "${__get_board_flash_mode(__env__)}",
"--flash_freq", "${__get_board_f_flash(__env__)}",
"--flash_freq", "${__get_board_f_image(__env__)}",
"--flash_size", board_config.get("upload.flash_size", "4MB"),
"-o", "$TARGET", "$SOURCES"
]), "Building $TARGET"),