mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_ChibiOS: exclude chprintf from fastramfunc
on H730 we are overflowing the ITCM area for SPRacingH7RF and other boards are not far behind. Step away from the edge by removing this function which should never be in a fast path
This commit is contained in:
parent
de675641ad
commit
4e0930a09d
|
@ -105,8 +105,8 @@ SECTIONS
|
|||
. = ALIGN(4);
|
||||
__ram3_init_text__ = LOADADDR(.fastramfunc);
|
||||
__ram3_init__ = .;
|
||||
/* ChibiOS won't boot unless these are excluded */
|
||||
EXCLUDE_FILE (*vectors.o *crt0_v7m.o *crt1.o *board.o)
|
||||
/* ChibiOS won't boot unless some of these are excluded */
|
||||
EXCLUDE_FILE (*vectors.o *crt0_v7m.o *crt1.o *board.o *chprintf.o)
|
||||
/* performance critical sections of ChibiOS */
|
||||
*libch.a:ch*.*(.text*)
|
||||
*libch.a:nvic.*(.text*)
|
||||
|
|
|
@ -106,8 +106,8 @@ SECTIONS
|
|||
__ram3_init_text__ = LOADADDR(.fastramfunc);
|
||||
__ram3_init__ = .;
|
||||
/* performance critical sections of ChibiOS */
|
||||
/* ChibiOS won't boot unless these are excluded */
|
||||
EXCLUDE_FILE (*vectors.o *crt0_v7m.o *crt1.o) *libch.a:ch*.*(.text*)
|
||||
/* ChibiOS won't boot unless some of these are excluded */
|
||||
EXCLUDE_FILE (*vectors.o *crt0_v7m.o *crt1.o *chprintf.o) *libch.a:ch*.*(.text*)
|
||||
*libch.a:nvic.*(.text*)
|
||||
*libch.a:bouncebuffer.*(.text*)
|
||||
*libch.a:stm32_util.*(.text*)
|
||||
|
|
|
@ -106,8 +106,8 @@ SECTIONS
|
|||
__ram3_init_text__ = LOADADDR(.fastramfunc);
|
||||
__ram3_init__ = .;
|
||||
/* performance critical sections of ChibiOS */
|
||||
/* ChibiOS won't boot unless these are excluded */
|
||||
EXCLUDE_FILE (*vectors.o *crt0_v7m.o *crt1.o) *libch.a:ch*.*(.text*)
|
||||
/* ChibiOS won't boot unless some of these are excluded */
|
||||
EXCLUDE_FILE (*vectors.o *crt0_v7m.o *crt1.o *chprintf.o) *libch.a:ch*.*(.text*)
|
||||
*libch.a:nvic.*(.text*)
|
||||
*libch.a:bouncebuffer.*(.text*)
|
||||
*libch.a:stm32_util.*(.text*)
|
||||
|
|
Loading…
Reference in New Issue