Skip to content

Commit 1db286a

Browse files
feat(examples): Enable SIMD for S3 boards
1 parent 8b7accd commit 1db286a

13 files changed

+25
-5
lines changed

bsp/m5dial/idf_component.yml

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ dependencies:
1616
espressif/esp_lvgl_port:
1717
version: "^2"
1818
public: true
19+
override_path: "../../components/esp_lvgl_port"
1920

2021
button:
2122
public: true

bsp/m5stack_core_s3/idf_component.yml

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ dependencies:
1616
espressif/esp_lvgl_port:
1717
version: "^2"
1818
public: true
19+
override_path: "../../components/esp_lvgl_port"
1920

2021
esp_codec_dev:
2122
version: "~1.3.1"

components/esp_lvgl_port/include/esp_lvgl_port.h

+5-5
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ typedef struct {
6161
*/
6262
#define ESP_LVGL_PORT_INIT_CONFIG() \
6363
{ \
64-
.task_priority = 4, \
65-
.task_stack = 6144, \
66-
.task_affinity = -1, \
67-
.task_max_sleep_ms = 500, \
68-
.timer_period_ms = 5, \
64+
.task_priority = 4, \
65+
.task_stack = 8 * 1024, \
66+
.task_affinity = -1, \
67+
.task_max_sleep_ms = 500, \
68+
.timer_period_ms = 5, \
6969
}
7070

7171
/**

examples/display_lvgl_benchmark/sdkconfig.bsp.esp-box

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ CONFIG_LV_MEMCPY_MEMSET_STD=y
3131

3232
## LVGL9 ##
3333
CONFIG_LV_CONF_SKIP=y
34+
CONFIG_LV_DRAW_SW_ASM_CUSTOM=y
35+
CONFIG_LV_DRAW_SW_ASM_CUSTOM_INCLUDE="esp_lvgl_port_lv_blend.h"
3436

3537
#CLIB default
3638
CONFIG_LV_USE_CLIB_MALLOC=y

examples/display_lvgl_benchmark/sdkconfig.bsp.esp-box-3

+2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ CONFIG_LV_MEMCPY_MEMSET_STD=y
3232

3333
## LVGL9 ##
3434
CONFIG_LV_CONF_SKIP=y
35+
CONFIG_LV_DRAW_SW_ASM_CUSTOM=y
36+
CONFIG_LV_DRAW_SW_ASM_CUSTOM_INCLUDE="esp_lvgl_port_lv_blend.h"
3537

3638
#CLIB default
3739
CONFIG_LV_USE_CLIB_MALLOC=y

examples/display_lvgl_benchmark/sdkconfig.bsp.esp-box-lite

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ CONFIG_LV_MEMCPY_MEMSET_STD=y
3131

3232
## LVGL9 ##
3333
CONFIG_LV_CONF_SKIP=y
34+
CONFIG_LV_DRAW_SW_ASM_CUSTOM=y
35+
CONFIG_LV_DRAW_SW_ASM_CUSTOM_INCLUDE="esp_lvgl_port_lv_blend.h"
3436

3537
#CLIB default
3638
CONFIG_LV_USE_CLIB_MALLOC=y

examples/display_lvgl_benchmark/sdkconfig.bsp.esp32_p4_function_ev_board

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ CONFIG_LV_USE_PERF_MONITOR=y
3939

4040
## LVGL9 ##
4141
CONFIG_LV_CONF_SKIP=y
42+
CONFIG_LV_DEF_REFR_PERIOD=20
4243

4344
#CLIB default
4445
CONFIG_LV_USE_CLIB_MALLOC=y

examples/display_lvgl_benchmark/sdkconfig.bsp.esp32_s2_kaluga_kit

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ CONFIG_LV_MEMCPY_MEMSET_STD=y
3131

3232
## LVGL9 ##
3333
CONFIG_LV_CONF_SKIP=y
34+
CONFIG_LV_DEF_REFR_PERIOD=20
3435

3536
#CLIB default
3637
CONFIG_LV_USE_CLIB_MALLOC=y

examples/display_lvgl_benchmark/sdkconfig.bsp.esp32_s3_eye

+2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ CONFIG_LV_MEMCPY_MEMSET_STD=y
3232

3333
## LVGL9 ##
3434
CONFIG_LV_CONF_SKIP=y
35+
CONFIG_LV_DRAW_SW_ASM_CUSTOM=y
36+
CONFIG_LV_DRAW_SW_ASM_CUSTOM_INCLUDE="esp_lvgl_port_lv_blend.h"
3537

3638
#CLIB default
3739
CONFIG_LV_USE_CLIB_MALLOC=y

examples/display_lvgl_benchmark/sdkconfig.bsp.esp32_s3_korvo_2

+2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ CONFIG_LV_MEMCPY_MEMSET_STD=y
3232

3333
## LVGL9 ##
3434
CONFIG_LV_CONF_SKIP=y
35+
CONFIG_LV_DRAW_SW_ASM_CUSTOM=y
36+
CONFIG_LV_DRAW_SW_ASM_CUSTOM_INCLUDE="esp_lvgl_port_lv_blend.h"
3537

3638
#CLIB default
3739
CONFIG_LV_USE_CLIB_MALLOC=y

examples/display_lvgl_benchmark/sdkconfig.bsp.esp32_s3_lcd_ev_board

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ CONFIG_LV_MEMCPY_MEMSET_STD=y
3737

3838
## LVGL9 ##
3939
CONFIG_LV_CONF_SKIP=y
40+
CONFIG_LV_DRAW_SW_ASM_CUSTOM=y
41+
CONFIG_LV_DRAW_SW_ASM_CUSTOM_INCLUDE="esp_lvgl_port_lv_blend.h"
4042

4143
#CLIB default
4244
CONFIG_LV_USE_CLIB_MALLOC=y

examples/display_lvgl_benchmark/sdkconfig.bsp.m5dial

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ CONFIG_LV_MEMCPY_MEMSET_STD=y
2727

2828
## LVGL9 ##
2929
CONFIG_LV_CONF_SKIP=y
30+
CONFIG_LV_DRAW_SW_ASM_CUSTOM=y
31+
CONFIG_LV_DRAW_SW_ASM_CUSTOM_INCLUDE="esp_lvgl_port_lv_blend.h"
3032

3133
#CLIB default
3234
CONFIG_LV_USE_CLIB_MALLOC=y

examples/display_lvgl_benchmark/sdkconfig.bsp.m5stack_core_s3

+2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ CONFIG_LV_MEMCPY_MEMSET_STD=y
3232

3333
## LVGL9 ##
3434
CONFIG_LV_CONF_SKIP=y
35+
CONFIG_LV_DRAW_SW_ASM_CUSTOM=y
36+
CONFIG_LV_DRAW_SW_ASM_CUSTOM_INCLUDE="esp_lvgl_port_lv_blend.h"
3537

3638
#CLIB default
3739
CONFIG_LV_USE_CLIB_MALLOC=y

0 commit comments

Comments
 (0)