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