-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Building and Debugging Zephyr for Native Platform on Linux using VSCode and/or QtCreator #34753
Comments
#21119 and #17645 may have some useful information for using vscode for zephyr development. You can add a default build task in vscode that invokes west build:
Then you can use |
Thanks, works as you described well. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to use a standard IDE on Linux as a build and development platform for Zephyr, with the board targets to native POSIX builds.
I have had success with the process in VS Code, where I am able to single step and debug into the Zephyr.exe generated using the standard "west build -p auto -b native_posix_64 samples/string" build tool, and then specifying the "west" built binary in the build subfolder. I added the following
kernel configuration to generated debug info in the binary.
CONFIG_DEBUG_OPTIMIZATIONS=y
But how do I integrate the build process more tightly with VSCode?
And what about tight integration with the QtCreator IDE?
It allows for the creation of a non-Qt Cmake project, but does not seem to do the import of the
Zephyr Cmake content well.
Has anybody has success with tighter VSCode and/or QtCreator integration for native platform building?
The text was updated successfully, but these errors were encountered: