Copter Custom Firmware Build Issue with Remote ID Support (Latest, not 4.5.7)

Hi ArduPilot team,
I wanted to mention an error Im getting when trying to build the latest firmware with remote id support (not 4.5.7, rather the latest branch) in case this isnt yet a known issue. I’m using latest on purpose here instead of stable to see the parameter changes that I’m thinking will be upcoming in 4.6 (i.e., the GPS parameter name changes, etc).

Steps to reproduce:

  1. Go to https://custom.ardupilot.org/, add a build
  2. Vehicle=Copter, Version=Latest, Board=CubeOrangePlus
  3. Under Ident section, check the option for OpenDroneID (Remote ID)
  4. Generate the build and it will error out. The linker error is:
    [1207/1214] Linking …/CubeOrangePlus/bin/arducopter
    /home/custom/gcc-arm-none-eabi-10-2020-q4-major/bin/…/lib/gcc/arm-none-eabi/10.2.1/…/…/…/…/arm-none-eabi/bin/ld:common.ld:202 cannot move location counter backwards (from 00000000082015a0 to 0000000008200000)
    collect2: error: ld returned 1 exit status

Here’s a link direct to the build that fails: ArduPilot Custom Firmware Builder

If I do the above steps, except I DONT check the remote Id feature in step 3 above, the build succeeds. Here is a link to that build:

Thanks!

Hi @Tim_Archer,

Thanks for the report. I’ve added this to the 4.6 issues list.

FYI @peterbarker @shiv-tyagi

1 Like

Hi @Tim_Archer,

Sorry for the delayed response but I checked with the other devs and it seems that the issue is just that the CubeOrangePlus is running low on space and adding the remote ID pushes it over the edge. I recreated the problem and then unselected a few GPSs, the generator and one or two other items and I was then able to build correctly.

I’ve created a Custom Build Server issue to improve the message

Excellent thanks! The same process is working for me as well. Appreciate you getting back to me.

1 Like