ArduPilot / ardupilot

ArduPlane, ArduCopter, ArduRover, ArduSub source
http://ardupilot.org/
GNU General Public License v3.0
10.81k stars 17.27k forks source link

memory issue for debug build #26884

Closed ManishSakharwade closed 5 months ago

ManishSakharwade commented 5 months ago

IF YOU DON'T REMOVE THESE FOUR LINES, THEN YOUR REPORT WILL BE CLOSED AUTOMATICALLY Questions and user problems should be directed at the forum (http://discuss.ardupilot.org) Please be very sure you have found a bug when opening this issue If there was a previous discussion in the forum, link to it

https://github.com/ArduPilot/ardupilot/issues/25997

Bug report

Issue details

Please describe the problem

i am compiling debug build for cubeorangeplus and i got error ../../libraries/AP_UAVCAN/AP_UAVCAN.cpp: In member function 'virtual void AP_UAVCAN::init(uint8_t, bool)': ../../libraries/AP_UAVCAN/AP_UAVCAN.cpp:571:1: error: the frame size of 2296 bytes is larger than 2200 bytes [-Werror=frame-larger-than=]

then i increases the frame size 2200 to 2300. this solution given in my previous issue.

after increasing size i am getting error after compiling all files.

Linking build/CubeOrangePlus/bin/arducopter common.ld:211 cannot move location counter backwards (from 0000000008200f80 to 0000000008200000) collect2: error: ld returned 1 exit status

i have to debug the firmware but i could not able to do coz of this error.

Version What version was the issue encountered with v4.4.4 copter

Platform [ ] All [ ] AntennaTracker [ *] Copter [ ] Plane [ ] Rover [ ] Submarine

Airframe type What type of airframe (flying wing, glider, hex, Y6, octa etc)

Hardware type What autopilot hardware was used? (Pixhawk, Cube, Pixracer, Navio2, etc)

Logs Please provide a link to any relevant logs that show the issue

IamPete1 commented 5 months ago

You ran out of flash. You will have to turn off some features to get it to fit.

Same as: https://github.com/ArduPilot/ardupilot/issues/26731