-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
M2354: Fix debug failure in Mbed Studio #15427
M2354: Fix debug failure in Mbed Studio #15427
Conversation
d5690ef
to
c511827
Compare
About frozen-tools-check failure. This PR changes bootloader header size and post-build script must change accordingly. For Mbed CLI 1, this needs to update frozen python script |
I'll need to check what has changed with scancode, it errors with |
I created #15430 for license issue fix (once merged, this will need to be rebased) |
Merged, please rebase |
In Mbed Studio, debugging, based on pyOCD, requires Mbed OS application code starting on the sector boundary. Modification list: 1. Update TF-M import assets with MCUboot header padding to sector aligned 2. Following above, change header size argument (-H) in wrapper.py command line 3. Following below, fix min-write-size (--align) to 4 (per flash_area_align()) in wrapper.py command line https://docs.mcuboot.com/design.html#image-trailer Related issue: ARMmbed#15417
c511827
to
8b69a94
Compare
Rebase done |
CI started |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
Summary of changes
This PR updates TF-M import assets and post-build script to enable debugging M2354 on Mbed Studio/pyOCD, which requires Mbed OS application program starting on the sector boundary.
Modification list:
-H
) inwrapper.py
command line--align
) to 4 (perflash_area_align()
on TF-M ) inwrapper.py
command linehttps://docs.mcuboot.com/design.html#image-trailer
Related issue: #15417
Pull request type
Test results