Open TaniaMirzin opened 3 years ago
@TaniaMirzin This issue has an incomplete or old issue template.For future reference please use an up to date clone of the repository before raising issues. Many thanks.
Thank you for raising this detailed GitHub issue. I am now notifying our internal issue triagers. Internal Jira reference: https://jira.arm.com/browse/IOTOSM-3277
According to the docs, https://os.mbed.com/docs/mbed-os/v6.6/program-setup/bootloader-configuration.html , it should work.
@ARMmbed/mbed-os-tools please review
you are using the mbed cli and not the beta https://github.com/ARMmbed/mbed-tools for this right? It works for me with the mbed cli, but does not yet work with mbed-tools
@jrobeson I am using mbed-cli --version 1.10.2
Hello, same problem here with mbed-cli version 1.10.5.
Only workaround is to put this params into mbed-app.json for the moment.
Hi, am working with mbed-os https://github.com/ARMmbed/mbed-os/#f2278567d09b9ae9f4843e1d9d393526b9462783 and I am using a prebuild bootloader. As I am using bootloader not from mbed-os\features\FEATURE_BOOTLOADER\, the "BOOTLOADER" feature is turned off in my mbed_app.json file. My prebuild bootloader directory has its own mbed_lib.json file with path to the specific bootloader bin file, header format , "target.app_offset" and "target.header_offset" configurations. It seems that all values are taken from this mbed_lib.json files except "target.app_offset" and "target.header_offset" values. It is seems that when a build occurs, the application placed immediately after the bootloader and ignoring these values of header and application offset. Is this behavior ok? What should I make to take these configs from my mbed_lib.json?
The issue can be reproduced with https://github.com/PelionIoT/mbed-cloud-client-example-internal/tree/mbed-os_issue. Used mbed_app_nextgen.json file.
mbed cli --version 1.10.2
mbed-os https://github.com/ARMmbed/mbed-os/#f2278567d09b9ae9f4843e1d9d393526b9462783
DISCO_L475VG_IOT01A target
output :
When header and application should be taken from prebuilt-bl\TARGET_DISCO_L475VG_IOT01A\TARGET_BL_INTERNAL_FLASH\mbed_lib.json with these configurations: