-
Notifications
You must be signed in to change notification settings - Fork 8.2k
rp2350: Only add IMAGE_DEF for apps at start of flash. #86294
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
rp2350: Only add IMAGE_DEF for apps at start of flash. #86294
Conversation
|
From what I see that this issue may also be easily resolved with #79460, so eventually this PR is probably superfluous. |
|
I removed the WIP "label" as I don't plan to add something currently. The driver is working fine in my private branch |
|
@Manu3l0us to |
|
@soburi Zephyr team |
|
@hanan619 Thanks for pointing out. I always flashed using a hex file with a debug probe. Therefore I didn't detect it |
2996e92 to
24e199d
Compare
24e199d to
9bcd550
Compare
The image_def header shall not be added to apps that are booted by a bootloader, e.g. mcuboot. Added proper handling for UF2 by hanan619. Signed-off-by: Manuel Aebischer <[email protected]>
9bcd550 to
be83852
Compare
The image_def header shall not be added to apps that are booted by a bootloader, e.g. mcuboot.
@soburi This is another patch I prepared during the RP2350 pull request by @ajf58. As I have started to use mcuboot after fixing the flash driver, I had the problem that also the application image loaded by the bootloader had the image_def block in it.