Pixhawk Unable to locate build tool "Pixhawk Toolchain C Compiler"

1 次查看(过去 30 天)
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

回答(1 个)

Abhishek GS
Abhishek GS 2019-4-2
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.
  1. Uninstall the Pixhawk PSP by executing the command: >>PixhawkPSP('uninstallpx4psp');
  2. Install the official support package 'Embedded Coder Support Package for PX4 Autopilots'
  3. Follow the Hardware Setup Screens and complete the setup process.
  4. Try building the demo model 'px4demo_LEDBuzzer'.
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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by