mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-28 13:46:36 +00:00
Add LV_ATTRIBUTE_TASK_HANDLER
This commit is contained in:
parent
8414cd7a71
commit
8755f78b4a
@ -237,7 +237,9 @@ typedef void* lv_img_decoder_user_data_t;
|
|||||||
#define LV_ATTRIBUTE_TICK_INC
|
#define LV_ATTRIBUTE_TICK_INC
|
||||||
|
|
||||||
/* Define a custom attribute to `lv_task_handler` function */
|
/* Define a custom attribute to `lv_task_handler` function */
|
||||||
|
#ifndef LV_ATTRIBUTE_TASK_HANDLER
|
||||||
#define LV_ATTRIBUTE_TASK_HANDLER
|
#define LV_ATTRIBUTE_TASK_HANDLER
|
||||||
|
#endif
|
||||||
|
|
||||||
/* With size optimization (-Os) the compiler might not align data to
|
/* With size optimization (-Os) the compiler might not align data to
|
||||||
* 4 or 8 byte boundary. This alignment will be explicitly applied where needed.
|
* 4 or 8 byte boundary. This alignment will be explicitly applied where needed.
|
||||||
|
@ -117,6 +117,7 @@ build_flags =
|
|||||||
; -- lvgl build options -----------------------------
|
; -- lvgl build options -----------------------------
|
||||||
-D LV_MEM_SIZE=49152U ; 48 kB lvgl memory
|
-D LV_MEM_SIZE=49152U ; 48 kB lvgl memory
|
||||||
-D LV_ATTRIBUTE_FAST_MEM=IRAM_ATTR
|
-D LV_ATTRIBUTE_FAST_MEM=IRAM_ATTR
|
||||||
|
-D LV_ATTRIBUTE_TASK_HANDLER=IRAM_ATTR
|
||||||
;-D LV_FS_PC_PATH="//littlefs" ; this needs to match the vfs mount pount
|
;-D LV_FS_PC_PATH="//littlefs" ; this needs to match the vfs mount pount
|
||||||
-D LODEPNG_NO_COMPILE_ALLOCATORS ; use PSram functions
|
-D LODEPNG_NO_COMPILE_ALLOCATORS ; use PSram functions
|
||||||
; -- ArduinoJson build options ----------------------------
|
; -- ArduinoJson build options ----------------------------
|
||||||
@ -195,6 +196,7 @@ build_flags=
|
|||||||
; -- lvgl build options -----------------------------
|
; -- lvgl build options -----------------------------
|
||||||
-D LV_MEM_SIZE=12288U ; 12kB lvgl memory
|
-D LV_MEM_SIZE=12288U ; 12kB lvgl memory
|
||||||
-D LV_ATTRIBUTE_FAST_MEM=
|
-D LV_ATTRIBUTE_FAST_MEM=
|
||||||
|
-D LV_ATTRIBUTE_TASK_HANDLER=IRAM_ATTR
|
||||||
; -- ArduinoJson build options ----------------------------
|
; -- ArduinoJson build options ----------------------------
|
||||||
-D ARDUINOJSON_ENABLE_PROGMEM=1 ; for PROGMEM arguments
|
-D ARDUINOJSON_ENABLE_PROGMEM=1 ; for PROGMEM arguments
|
||||||
-D ARDUINOJSON_ENABLE_STD_STRING=1 ; for std::string
|
-D ARDUINOJSON_ENABLE_STD_STRING=1 ; for std::string
|
||||||
|
Loading…
x
Reference in New Issue
Block a user