AP_NavEKF: make stack frame size check specific to ChibiOS

It is the only HAL that sets `-Wframe-larger-than` so it is the only one
where the limit needs modification to fit the EKF.

ChibiOS additionally does not use Clang, so that check can be dropped.
This commit is contained in:
Thomas Watson
2026-09-22 11:56:43 +10:00
committed by Andrew Tridgell
parent 8f21583d17
commit af0282d4ef
+1 -1
View File
@@ -54,7 +54,7 @@ protected:
}
};
#if HAL_WITH_EKF_DOUBLE && !defined(__clang__)
#if HAL_WITH_EKF_DOUBLE && CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS
// stack frames are larger with double EKF
#if MATH_CHECK_INDEXES
#pragma GCC diagnostic error "-Wframe-larger-than=4000"