Skip to content
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

Add post-build or pre-flash custom command to be able to create and use signed app #37

Open
novalisek opened this issue Sep 25, 2020 · 1 comment

Comments

@novalisek
Copy link
Contributor

novalisek commented Sep 25, 2020

Hi,
I need to sign the application before flashing, so that it works with mcuboot.
Now I am doing manualy:

west build
west sign -t imgtool -- --key mcuboot\test-root-rsa-2048.pem
west flash --skip-rebuild -- --hex-file build/zephyr/zephyr.signed.hex

can those steps be done in Eclipse?

If not, adding some "post-build" or "pre-flash" commands would be useful.

Or may be there could be option "create signed app" somewhere, with path to the public key and then it could create and flash signed app automaticaly ...

@GadgetNick
Copy link

Agreed that pre/post-build commands would be a useful addition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants