mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-10 04:37:55 +08:00
fix(draw/helium): check config before defining and including other files (#9932)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user