File tree Expand file tree Collapse file tree 5 files changed +18
-5
lines changed Expand file tree Collapse file tree 5 files changed +18
-5
lines changed Original file line number Diff line number Diff line change 1
1
# ChangeLog
2
2
3
- ## v0.1.5 - 2024-07-08
3
+ ## v0.1.5 - 2024-07-09
4
4
5
5
### Enhancements:
6
6
7
7
* feat(gt911): support set I2C address by using RST and INT pins
8
+ * feat(lvgl_port): set the lvgl task to run on the same core as the Arduino task by default
8
9
9
10
### Bugfixes:
10
11
Original file line number Diff line number Diff line change 5
5
*/
6
6
#pragma once
7
7
8
+ #include <Arduino.h>
8
9
#include <ESP_Panel_Library.h>
9
10
#include <lvgl.h>
10
11
49
50
#define LVGL_PORT_TASK_MIN_DELAY_MS (2) // The minimum delay of the LVGL timer task, in milliseconds
50
51
#define LVGL_PORT_TASK_STACK_SIZE (6 * 1024) // The stack size of the LVGL timer task, in bytes
51
52
#define LVGL_PORT_TASK_PRIORITY (2) // The priority of the LVGL timer task
52
- #define LVGL_PORT_TASK_CORE (-1) // The core of the LVGL timer task, `-1` means the don't specify the core
53
+ #define LVGL_PORT_TASK_CORE (ARDUINO_RUNNING_CORE)
54
+ // The core of the LVGL timer task, `-1` means the don't specify the core
55
+ // Default is the same as the Arduino task
53
56
// This can be set to `1` only if the SoCs support dual-core,
54
57
// otherwise it should be set to `-1` or `0`
55
58
Original file line number Diff line number Diff line change 5
5
*/
6
6
#pragma once
7
7
8
+ #include <Arduino.h>
8
9
#include <ESP_Panel_Library.h>
9
10
#include <lvgl.h>
10
11
49
50
#define LVGL_PORT_TASK_MIN_DELAY_MS (2) // The minimum delay of the LVGL timer task, in milliseconds
50
51
#define LVGL_PORT_TASK_STACK_SIZE (6 * 1024) // The stack size of the LVGL timer task, in bytes
51
52
#define LVGL_PORT_TASK_PRIORITY (2) // The priority of the LVGL timer task
52
- #define LVGL_PORT_TASK_CORE (-1) // The core of the LVGL timer task, `-1` means the don't specify the core
53
+ #define LVGL_PORT_TASK_CORE (ARDUINO_RUNNING_CORE)
54
+ // The core of the LVGL timer task, `-1` means the don't specify the core
55
+ // Default is the same as the Arduino task
53
56
// This can be set to `1` only if the SoCs support dual-core,
54
57
// otherwise it should be set to `-1` or `0`
55
58
Original file line number Diff line number Diff line change 5
5
*/
6
6
#pragma once
7
7
8
+ #include <Arduino.h>
8
9
#include <ESP_Panel_Library.h>
9
10
#include <lvgl.h>
10
11
49
50
#define LVGL_PORT_TASK_MIN_DELAY_MS (2) // The minimum delay of the LVGL timer task, in milliseconds
50
51
#define LVGL_PORT_TASK_STACK_SIZE (6 * 1024) // The stack size of the LVGL timer task, in bytes
51
52
#define LVGL_PORT_TASK_PRIORITY (2) // The priority of the LVGL timer task
52
- #define LVGL_PORT_TASK_CORE (-1) // The core of the LVGL timer task, `-1` means the don't specify the core
53
+ #define LVGL_PORT_TASK_CORE (ARDUINO_RUNNING_CORE)
54
+ // The core of the LVGL timer task, `-1` means the don't specify the core
55
+ // Default is the same as the Arduino task
53
56
// This can be set to `1` only if the SoCs support dual-core,
54
57
// otherwise it should be set to `-1` or `0`
55
58
Original file line number Diff line number Diff line change 5
5
*/
6
6
#pragma once
7
7
8
+ #include <Arduino.h>
8
9
#include <ESP_Panel_Library.h>
9
10
#include <lvgl.h>
10
11
49
50
#define LVGL_PORT_TASK_MIN_DELAY_MS (2) // The minimum delay of the LVGL timer task, in milliseconds
50
51
#define LVGL_PORT_TASK_STACK_SIZE (6 * 1024) // The stack size of the LVGL timer task, in bytes
51
52
#define LVGL_PORT_TASK_PRIORITY (2) // The priority of the LVGL timer task
52
- #define LVGL_PORT_TASK_CORE (-1) // The core of the LVGL timer task, `-1` means the don't specify the core
53
+ #define LVGL_PORT_TASK_CORE (ARDUINO_RUNNING_CORE)
54
+ // The core of the LVGL timer task, `-1` means the don't specify the core
55
+ // Default is the same as the Arduino task
53
56
// This can be set to `1` only if the SoCs support dual-core,
54
57
// otherwise it should be set to `-1` or `0`
55
58
You can’t perform that action at this time.
0 commit comments