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

Can't build firmware on command line if I specify other targets #4862

Open
judge2005 opened this issue Feb 20, 2024 · 2 comments
Open

Can't build firmware on command line if I specify other targets #4862

judge2005 opened this issue Feb 20, 2024 · 2 comments

Comments

@judge2005
Copy link

I would like to do this (I am trying to build a versioned release package):

pio run -t pre -t buildprog -t buildfs -t post

But buildprog target won't execute if I specify any other targets. build and target_buildprog don't work either.

@ivankravets
Copy link
Member

Could you try -t size instead of -t buildprog?

@judge2005
Copy link
Author

That compiles everything but it doesn't produce firmware.bin as it just needs .elf file:

Calculating size .pio/build/elekstubev1/firmware.elf
   text    data     bss     dec     hex filename
1177995  304564   98049 1580608  181e40 .pio/build/elekstubev1/firmware.elf

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

No branches or pull requests

2 participants