From d8cde27fac5491f28c3b587bce60cf56703f8150 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Costa?= Date: Thu, 2 Apr 2026 05:45:40 +0200 Subject: [PATCH] fix(draw/helium): check config before defining and including other files (#9932) --- src/draw/sw/blend/helium/lv_blend_helium.S | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/draw/sw/blend/helium/lv_blend_helium.S b/src/draw/sw/blend/helium/lv_blend_helium.S index 971680e3d9..e3f3ceca0c 100644 --- a/src/draw/sw/blend/helium/lv_blend_helium.S +++ b/src/draw/sw/blend/helium/lv_blend_helium.S @@ -7,21 +7,20 @@ #define __ASSEMBLY__ #endif +#include "../../../../lv_conf_internal.h" + +#if LV_USE_DRAW_SW_ASM == LV_DRAW_SW_ASM_HELIUM && defined(__ARM_FEATURE_MVE) && __ARM_FEATURE_MVE && LV_USE_NATIVE_HELIUM_ASM + #if defined(_RTE_) #include "Pre_Include_Global.h" #include "RTE_Components.h" #endif -#include "../../../../lv_conf_internal.h" - /*GCC Workaround: missing .note.GNU-stack section implies executable stack*/ #ifdef __ELF__ .section .note.GNU-stack,"",%progbits #endif /* __ELF__ */ - -#if LV_USE_DRAW_SW_ASM == LV_DRAW_SW_ASM_HELIUM && defined(__ARM_FEATURE_MVE) && __ARM_FEATURE_MVE && LV_USE_NATIVE_HELIUM_ASM - .data reciprocal: .byte 0xFF, 0xE2, 0xCC, 0xB9, 0xAA, 0x9C, 0x91, 0x88