mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 09:28:31 -04:00
With CLI and MOUNT active, the linker says: region `text' overflowed by 3858 bytes
So disable CLI when MOUNT is active. Sorry I did not detect it before, but the APM_Camera branch worked in a different way.
This commit is contained in:
parent
a12cb8fd9a
commit
2cebd44313
@ -492,7 +492,7 @@
|
|||||||
# define MOUNT ENABLED
|
# define MOUNT ENABLED
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined( __AVR_ATmega1280__ ) && CAMERA == ENABLED
|
#if defined( __AVR_ATmega1280__ ) && (CAMERA == ENABLED || MOUNT == ENABLED)
|
||||||
// The small ATmega1280 chip does not have enough memory for camera support
|
// The small ATmega1280 chip does not have enough memory for camera support
|
||||||
// so disable CLI, this will allow camera support and other improvements to fit.
|
// so disable CLI, this will allow camera support and other improvements to fit.
|
||||||
// This should almost have no side effects, because the APM planner can now do a complete board setup.
|
// This should almost have no side effects, because the APM planner can now do a complete board setup.
|
||||||
|
Loading…
Reference in New Issue
Block a user