I tried to build v1.10.1 myself. But failed with error “UAVCAN_PLATFORM not set” while building drivers/uavcan.
OS: Ubuntu Linux LTS 20.04 Device: CUAV V5+ Build target: px4_fmu-v5 Airframe: Blade130
I want to use CUAV V5+ on a helicopter. I can build master branch code (around May 10, 2020). But that latest code seems having problems working with Blade130 air frame (works fine with Quadrotor x).
I know the online downloaded PX4 Pro v1.10.1 Stable Release build works. That’s why I am trying to build v1.10.1.
Following are commands I used:
git clone https://github.com/PX4/Firmware.git cd Firmware git checkout v1.10.1 bash ./Tools/setup/ubuntu.sh <Restart the computer> make px4_fmu-v5_default
I also ran
git submodule update --recursive make distclean
after I got that error. But that didn’t help.
Can someone tell me if I did something wrong when building a previous release? Or what I need to do specifically for v1.10.1?
Thanks a lot!