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

How to implement "Program Instrumentation" with llvm on a real drone? #1

Closed
Lqs66 opened this issue Nov 8, 2023 · 1 comment
Closed

Comments

@Lqs66
Copy link

Lqs66 commented Nov 8, 2023

As far as I know, to compile ardupilot to a flight controller you need to use a cross compiler, but ardupilot uses 'gcc-arm-none-eabi' by default. I would like to know how this article uses llvm to implement the instrumentation for arm architecture ardupilot?

@J1nwenWang
Copy link
Collaborator

To instrument ArduPilot using LLVM, Clang should be substituted for GCC as the compiler prior to compilation. For guidance on altering the compiler and platform target, please consult the files ARI/ardupilot/source_me_sitl_bc_step_zero.txt and ARI/ardupilot/wscript.

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