-
Notifications
You must be signed in to change notification settings - Fork 116
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
support building with vscode - version 2 #44
Merged
AlkaMotors
merged 26 commits into
am32-firmware:Kiss_Ardupilot_DshotBranch
from
tridge:pr-vscode-support-rebase
Jul 25, 2024
Merged
support building with vscode - version 2 #44
AlkaMotors
merged 26 commits into
am32-firmware:Kiss_Ardupilot_DshotBranch
from
tridge:pr-vscode-support-rebase
Jul 25, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adding -g does not change the size of the build, but gives us debug symbols to make debugging easier
use the flags for the specific MCU, not just F051
case sensitive and stray white space
lists targets for convenience
stop overflowing flash
main gain is using single precision constants
case sensitive for linux builds
more useful output
and gdb debug support
using version.h will allow DroneCAN to know the version number
tridge
changed the title
support building with vscode
support building with vscode - version 2
Jul 24, 2024
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
new version of #41
changes are:
original PR comment:
This adds vscode build support on linux and windows. It supports building and debugging AM32 using vscode on both windows and linux. It also supports command line builds on linux.
For windows you will need these tools:
https://firmware.ardupilot.org/Tools/AM32-tools/windows-tools.zip
on linux you need these:
https://firmware.ardupilot.org/Tools/AM32-tools/linux-tools.tar.gz
You will need to install vscode, along with the following extensions:
quick demos:
https://youtu.be/2hQvTfp1R7k?si=sn1L5J9G7VJJssKF
https://www.youtube.com/watch?v=CSHP63D_ojw
this PR builds on top of #34