- Uninstall the Pixhawk PSP by executing the command: >>PixhawkPSP('uninstallpx4psp');
- Install the official support package 'Embedded Coder Support Package for PX4 Autopilots'
- Follow the Hardware Setup Screens and complete the setup process.
- Try building the demo model 'px4demo_LEDBuzzer'.
Pixhawk Unable to locate build tool "Pixhawk Toolchain C Compiler"
3 views (last 30 days)
Show older comments
Hello world,
So i have following situation :
i want to work with pixhawk 1 | windows10 and the matlab toolbox for the pixhawk.
I followed following topic :
By the way, i should warn you : the windows_bash_nuttx.sh file provided by matlab is not working for me !
I had to make my own to have it running (2/3 days of working...) I can share if you want
But back to my issue, I did the (sucessfull) build of the firmaware in the C:/PX4/ folder
But i have following diagnostic when i try to build an example programm in simulink :
Error(s) encountered while building "px4demo_rgbled":
### Failed to generate all binary outputs.
Caused by:
Validation error(s):
### Validating other build tools ...
Unable to locate build tool "Pixhawk Toolchain C Compiler": echo
Unable to locate build tool "Pixhawk ToolchainC Pre-Linker": echo
Unable to locate build tool "Pixhawk Toolchain Archiver": echo
Can anybody help me please?
THX
Alexis
0 Comments
Answers (1)
Abhishek GS
on 2 Apr 2019
Hi Alexis,
From the link that you have shared, it appears you have installed the Pixhawk PSP (Pilot Support Package). The Pixhawk PSP is supported on R2017a, R2017b and R2018a only.
From R2018b onwards, the official support package 'Embedded Coder Support Package for PX4 Autopilots' is available. The documentation for the same can be found here.
I suspect you are talking about the windows_bash_nuttx.sh file shipped by the Pixhawk PSP. The official support package uses the file windows_bash_nuttx.sh from this GitHub link.
Thanks,
Abhishek
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!