Skip to content

Debug Issue #1

Description

@projecta98

The postbuild in the following Makefile doesn't copy the newly genrated combined application into the folder used for debugging.
As a result, half of the time the loaded MCU boot application shows a message "no valid image found".

I have added the following line to the postbuild event to fix the issue at the end:
cp -f $$(BINARY_OUT_PATH).hex ../build/project_hex/$(APPNAME).hex;

https://github.com/Infineon/mtb-example-psoc6-mcuboot-basic/blob/38f3eff477d093fc90a3a6575e96b209e21cd57a/blinky_cm4/Makefile#L293

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions