How to increase the frame (memory) size

Hello,

This is my first post. I would like to resolve the following compilation of ardupilot for my CubeOrange with a debug option:

…/…/libraries/AP_UAVCAN/AP_UAVCAN.cpp: In member function ‘virtual void AP_UAVCAN::init(uint8_t, bool)’:
…/…/libraries/AP_UAVCAN/AP_UAVCAN.cpp:329:1: error: the frame size of 1408 bytes is larger than 1024 bytes [-Werror=frame-larger-than=]

I thought I needed to raise the heap size for this UAVCAN module, but could anybody please give me a hint how to do that?

Thank you very much in advance,
yy12

Were you compiling from stock code or did you modify it?
I think this is more like a software question and you may want to ask this on ardupilot forum as well

Hello Alvin,

Thank you for your comment. I modified the code. I will post this question there.

Have a good day,
yy12