On my Edge (Firmware 1.5), I have a compilation error when trying to compile latest stable (3.6.11):
[342/562] Compiling libraries/GCS_MAVLink/MAVLink_routing.cpp
[343/562] Compiling libraries/GCS_MAVLink/GCS_Common.cpp
[344/562] Compiling libraries/GCS_MAVLink/GCS_MAVLink.cpp
[345/562] Compiling libraries/RC_Channel/RC_Channel.cpp
…/…/libraries/GCS_MAVLink/GCS_Common.cpp: In member function ‘void GCS_MAVLINK::send_distance_sensor(const AP_RangeFinder_Backend*, uint8_t) const’:
…/…/libraries/GCS_MAVLink/GCS_Common.cpp:247:10: error: too few arguments to function ‘void mavlink_msg_distance_sensor_send(mavlink_channel_t, uint32_t, uint16_t, uint16_t, uint16_t, uint8_t, uint8_t, uint8_t, uint8_t, float, float, const float*)’
0); // Measurement covariance in centimeters, 0 for unknown / invalid readings
^
compilation terminated due to -Wfatal-errors.Waf: Leaving directory `/home/pi/ardupilot/build/edge’
Build failed
→ task in ‘objs/GCS_MAVLink’ failed (exit status 1):
{task 1983432240: cxx GCS_Common.cpp → GCS_Common.cpp.0.o}
(run with -v to display more information)
The same compilation for Navio2 on Raspberry (2019-02-27 image) is OK
More info:
The partition map of the Edge doesn’t give enough room for compilation…