fix(draw/helium): check config before defining and including other files (#9932)

This commit is contained in:
André Costa
2026-04-02 05:45:40 +02:00
committed by GitHub
parent b913e21abe
commit d8cde27fac
+4 -5
View File
@@ -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