@ -20,7 +20,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
#if defined(ARDUINO_ARCH_STM32) && !defined(STM32GENERIC)
#include "HAL.h"
#include "../../inc/MarlinConfig.h"
@ -19,7 +19,6 @@
#include "../../inc/MarlinConfigPre.h"
#if defined(STM32GENERIC) && (defined(STM32F4) || defined(STM32F7))
#if defined(STM32GENERIC) && defined(STM32F4)
#include "../HAL.h"
#if defined(STM32GENERIC) && defined(STM32F7)
#if defined(__MK64FX512__) || defined(__MK66FX1M0__)
#if defined(__arm__) || defined(__thumb__)
#include "backtrace.h"