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 a 'mbed compile --debug' command #409
Comments
I think as of 5.3, we simplified it a bit so you can just do |
@bridadan But that only works for 5.3... We should have a standard way of doing this across all versions of mbed OS. |
What do you suggest? The way to go are profiles. This was a breaking change, and a replacement for old |
@0xc0170 Sure, but I think making debug builds is such a common action that we should add it to mbed CLI. Suggestion:
Which magically sets some stuff in mbed 2, builds with the right |
I see what you're saying @janjongboom, though there's a part of me that doesn't want to treat debug as "special" even though it is such a common operation. @screamerbg do you have any thoughts on this? |
I'll second @bridadan. @janjongboom I'll close the issue as there wasn't any activity for some time, but please reopen or create new with proposal how this could work as a workflow. |
Isnt this just |
It's hard to figure out how to do a debug build using mbed CLI, instructions differ between mbed OS 2.0, 5.0/5.1, 5.2+... mbed CLI should have a command to make such a build.
FYI, here are the instructions:
-o debug-info
in yourworkspace_tools/build.py
andworkspace_tools/make.py
commands to build with debug symbols.-o debug-info
to yourmbed compile
command.--profile mbed-os/tools/profiles/debug.json
to yourmbed compile
command.The text was updated successfully, but these errors were encountered: