Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions components/byte90/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,19 @@ menu "Byte90 Configuration"
help
Size of the stack used for the interrupt handler. Shared by the
keyboard callback and the touch callback.

config BYTE90_INTERRUPT_PRIORITY
int "Interrupt task priority"
default 20
range 0 25
help
FreeRTOS priority of the GPIO interrupt handler task (0 = lowest). Raise it
if interrupt callbacks must run promptly relative to other tasks.

config BYTE90_INTERRUPT_CORE_ID
int "Interrupt task core ID"
default -1
range -1 1
help
Core to pin the GPIO interrupt handler task to (-1 = not pinned to any core).
endmenu
3 changes: 2 additions & 1 deletion components/byte90/include/byte90.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,8 @@ class Byte90 : public BaseComponent {
.event_queue_size = 50,
.task_config = {.name = "byte90 interrupts",
.stack_size_bytes = CONFIG_BYTE90_INTERRUPT_STACK_SIZE,
.priority = 20}}};
.priority = CONFIG_BYTE90_INTERRUPT_PRIORITY,
.core_id = CONFIG_BYTE90_INTERRUPT_CORE_ID}}};

// button
std::atomic<bool> button_initialized_{false};
Expand Down
15 changes: 15 additions & 0 deletions components/esp-box/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,19 @@ menu "Esp-Box Configuration"
help
Size of the stack used for the interrupt handler. Used by the touch
callback.

config ESP_BOX_INTERRUPT_PRIORITY
int "Interrupt task priority"
default 0
range 0 25
help
FreeRTOS priority of the GPIO interrupt handler task (0 = lowest). Raise it
if interrupt callbacks must run promptly relative to other tasks.

config ESP_BOX_INTERRUPT_CORE_ID
int "Interrupt task core ID"
default -1
range -1 1
help
Core to pin the GPIO interrupt handler task to (-1 = not pinned to any core).
endmenu
4 changes: 3 additions & 1 deletion components/esp-box/include/esp-box.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,9 @@ class EspBox : public BaseComponent {
espp::Interrupt interrupts_{
{.interrupts = {},
.task_config = {.name = "esp-box interrupts",
.stack_size_bytes = CONFIG_ESP_BOX_INTERRUPT_STACK_SIZE}}};
.stack_size_bytes = CONFIG_ESP_BOX_INTERRUPT_STACK_SIZE,
.priority = CONFIG_ESP_BOX_INTERRUPT_PRIORITY,
.core_id = CONFIG_ESP_BOX_INTERRUPT_CORE_ID}}};

// button
std::atomic<bool> boot_button_initialized_{false};
Expand Down
15 changes: 15 additions & 0 deletions components/esp32-p4-function-ev-board/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,21 @@ menu "ESP32-P4 Function EV Board Configuration"
help
Size of the stack used for the GPIO interrupt handler task (button, etc.).

config ESP_P4_EV_BOARD_INTERRUPT_PRIORITY
int "Interrupt task priority"
default 0
range 0 25
help
FreeRTOS priority of the GPIO interrupt handler task (0 = lowest). Raise it
if interrupt callbacks must run promptly relative to other tasks.

config ESP_P4_EV_BOARD_INTERRUPT_CORE_ID
int "Interrupt task core ID"
default -1
range -1 1
help
Core to pin the GPIO interrupt handler task to (-1 = not pinned to any core).

config ESP_P4_EV_BOARD_TOUCH_TASK_STACK_SIZE
int "Touch polling task stack size (bytes)"
default 4096
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,9 @@ class Esp32P4FunctionEvBoard : public BaseComponent {
espp::Interrupt interrupts_{
{.interrupts = {},
.task_config = {.name = "p4-ev interrupts",
.stack_size_bytes = CONFIG_ESP_P4_EV_BOARD_INTERRUPT_STACK_SIZE}}};
.stack_size_bytes = CONFIG_ESP_P4_EV_BOARD_INTERRUPT_STACK_SIZE,
.priority = CONFIG_ESP_P4_EV_BOARD_INTERRUPT_PRIORITY,
.core_id = CONFIG_ESP_P4_EV_BOARD_INTERRUPT_CORE_ID}}};

// Touch
std::shared_ptr<I2c::Device<uint8_t>> touch_i2c_device_;
Expand Down
15 changes: 15 additions & 0 deletions components/esp32-timer-cam/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,19 @@ menu "Esp32 TimerCam Configuration"
default 4096
help
Size of the stack used for the interrupt handler.

config ESP_TIMER_CAM_INTERRUPT_PRIORITY
int "Interrupt task priority"
default 0
range 0 25
help
FreeRTOS priority of the GPIO interrupt handler task (0 = lowest). Raise it
if interrupt callbacks must run promptly relative to other tasks.

config ESP_TIMER_CAM_INTERRUPT_CORE_ID
int "Interrupt task core ID"
default -1
range -1 1
help
Core to pin the GPIO interrupt handler task to (-1 = not pinned to any core).
endmenu
4 changes: 3 additions & 1 deletion components/esp32-timer-cam/include/esp32-timer-cam.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,9 @@ class EspTimerCam : public BaseComponent {
espp::Interrupt interrupts_{
{.interrupts = {},
.task_config = {.name = "esp timer cam interrupts",
.stack_size_bytes = CONFIG_ESP_TIMER_CAM_INTERRUPT_STACK_SIZE}}};
.stack_size_bytes = CONFIG_ESP_TIMER_CAM_INTERRUPT_STACK_SIZE,
.priority = CONFIG_ESP_TIMER_CAM_INTERRUPT_PRIORITY,
.core_id = CONFIG_ESP_TIMER_CAM_INTERRUPT_CORE_ID}}};

// LED
std::vector<espp::Led::ChannelConfig> led_channels_{{
Expand Down
17 changes: 16 additions & 1 deletion components/m5stack-tab5/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,22 @@ menu "M5Stack Tab5 Configuration"
help
Size of the stack used for the interrupt handler. Used by the touch
callback and other interrupt handlers.


config M5STACK_TAB5_INTERRUPT_PRIORITY
int "Interrupt task priority"
default 0
range 0 25
help
FreeRTOS priority of the GPIO interrupt handler task (0 = lowest). Raise it
if interrupt callbacks must run promptly relative to other tasks.

config M5STACK_TAB5_INTERRUPT_CORE_ID
int "Interrupt task core ID"
default -1
range -1 1
help
Core to pin the GPIO interrupt handler task to (-1 = not pinned to any core).

config M5STACK_TAB5_AUDIO_TASK_STACK_SIZE
int "Audio task stack size"
default 8192
Expand Down
4 changes: 3 additions & 1 deletion components/m5stack-tab5/include/m5stack-tab5.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,9 @@ class M5StackTab5 : public BaseComponent {
espp::Interrupt interrupts_{
{.interrupts = {},
.task_config = {.name = "tab5 interrupts",
.stack_size_bytes = CONFIG_M5STACK_TAB5_INTERRUPT_STACK_SIZE}}};
.stack_size_bytes = CONFIG_M5STACK_TAB5_INTERRUPT_STACK_SIZE,
.priority = CONFIG_M5STACK_TAB5_INTERRUPT_PRIORITY,
.core_id = CONFIG_M5STACK_TAB5_INTERRUPT_CORE_ID}}};

// Component instances
std::shared_ptr<I2c::Device<uint8_t>> touch_i2c_device_;
Expand Down
15 changes: 15 additions & 0 deletions components/matouch-rotary-display/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,19 @@ menu "Matouch Rotary Display Configuration"
help
Size of the stack used for the interrupt handler. Shared by the
button callback and the touch callbacks.

config MATOUCH_INTERRUPT_PRIORITY
int "Interrupt task priority"
default 0
range 0 25
help
FreeRTOS priority of the GPIO interrupt handler task (0 = lowest). Raise it
if interrupt callbacks must run promptly relative to other tasks.

config MATOUCH_INTERRUPT_CORE_ID
int "Interrupt task core ID"
default -1
range -1 1
help
Core to pin the GPIO interrupt handler task to (-1 = not pinned to any core).
endmenu
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,9 @@ class MatouchRotaryDisplay : public BaseComponent {
espp::Interrupt interrupts_{
{.interrupts = {},
.task_config = {.name = "matouch interrupts",
.stack_size_bytes = CONFIG_MATOUCH_INTERRUPT_STACK_SIZE}}};
.stack_size_bytes = CONFIG_MATOUCH_INTERRUPT_STACK_SIZE,
.priority = CONFIG_MATOUCH_INTERRUPT_PRIORITY,
.core_id = CONFIG_MATOUCH_INTERRUPT_CORE_ID}}};

// button
std::atomic<bool> button_initialized_{false};
Expand Down
15 changes: 15 additions & 0 deletions components/motorgo-mini/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,19 @@ menu "MotorGo Mini Configuration"
help
Size of the stack used for the interrupt handler. Used by the
button callback.

config MOTORGO_MINI_INTERRUPT_PRIORITY
int "Interrupt task priority"
default 0
range 0 25
help
FreeRTOS priority of the GPIO interrupt handler task (0 = lowest). Raise it
if interrupt callbacks must run promptly relative to other tasks.

config MOTORGO_MINI_INTERRUPT_CORE_ID
int "Interrupt task core ID"
default -1
range -1 1
help
Core to pin the GPIO interrupt handler task to (-1 = not pinned to any core).
endmenu
4 changes: 3 additions & 1 deletion components/motorgo-mini/include/motorgo-mini.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,9 @@ class MotorGoMini : public BaseComponent {
espp::Interrupt interrupts_{
{.interrupts = {},
.task_config = {.name = "motorgo mini interrupts",
.stack_size_bytes = CONFIG_MOTORGO_MINI_INTERRUPT_STACK_SIZE}}};
.stack_size_bytes = CONFIG_MOTORGO_MINI_INTERRUPT_STACK_SIZE,
.priority = CONFIG_MOTORGO_MINI_INTERRUPT_PRIORITY,
.core_id = CONFIG_MOTORGO_MINI_INTERRUPT_CORE_ID}}};

// button
std::atomic<bool> button_initialized_{false};
Expand Down
15 changes: 15 additions & 0 deletions components/qtpy/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,19 @@ menu "QtPy Configuration"
help
Size of the stack used for the interrupt handler. Used by the
button callback.

config QTPY_INTERRUPT_PRIORITY
int "Interrupt task priority"
default 0
range 0 25
help
FreeRTOS priority of the GPIO interrupt handler task (0 = lowest). Raise it
if interrupt callbacks must run promptly relative to other tasks.

config QTPY_INTERRUPT_CORE_ID
int "Interrupt task core ID"
default -1
range -1 1
help
Core to pin the GPIO interrupt handler task to (-1 = not pinned to any core).
endmenu
9 changes: 5 additions & 4 deletions components/qtpy/include/qtpy.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,11 @@ class QtPy : public BaseComponent {
.pullup_enabled = true};

// we'll only add each interrupt pin if the initialize method is called
espp::Interrupt interrupts_{
{.interrupts = {},
.task_config = {.name = "qtpy interrupts",
.stack_size_bytes = CONFIG_QTPY_INTERRUPT_STACK_SIZE}}};
espp::Interrupt interrupts_{{.interrupts = {},
.task_config = {.name = "qtpy interrupts",
.stack_size_bytes = CONFIG_QTPY_INTERRUPT_STACK_SIZE,
.priority = CONFIG_QTPY_INTERRUPT_PRIORITY,
.core_id = CONFIG_QTPY_INTERRUPT_CORE_ID}}};

// button
std::atomic<bool> button_initialized_{false};
Expand Down
15 changes: 15 additions & 0 deletions components/seeed-studio-round-display/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,19 @@ menu "Seeed Studio Round Display Configuration"
help
Size of the stack used for the interrupt handler. Used by the touch
callback.

config SEEED_STUDIO_ROUND_DISPLAY_INTERRUPT_PRIORITY
int "Interrupt task priority"
default 0
range 0 25
help
FreeRTOS priority of the GPIO interrupt handler task (0 = lowest). Raise it
if interrupt callbacks must run promptly relative to other tasks.

config SEEED_STUDIO_ROUND_DISPLAY_INTERRUPT_CORE_ID
int "Interrupt task core ID"
default -1
range -1 1
help
Core to pin the GPIO interrupt handler task to (-1 = not pinned to any core).
endmenu
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,9 @@ class SsRoundDisplay : public espp::BaseComponent {
espp::Interrupt interrupts_{
{.interrupts = {},
.task_config = {.name = "round display interrupts",
.stack_size_bytes =
CONFIG_SEEED_STUDIO_ROUND_DISPLAY_INTERRUPT_STACK_SIZE}}};
.stack_size_bytes = CONFIG_SEEED_STUDIO_ROUND_DISPLAY_INTERRUPT_STACK_SIZE,
.priority = CONFIG_SEEED_STUDIO_ROUND_DISPLAY_INTERRUPT_PRIORITY,
.core_id = CONFIG_SEEED_STUDIO_ROUND_DISPLAY_INTERRUPT_CORE_ID}}};

// touch
std::shared_ptr<I2c::Device<uint8_t>> touch_i2c_device_;
Expand Down
15 changes: 15 additions & 0 deletions components/smartpanlee-sc01-plus/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,21 @@ menu "Smart Panlee SC01 Plus Configuration"
help
Size of the stack used for the touch interrupt handler task.

config SMARTPANLEE_SC01_PLUS_INTERRUPT_PRIORITY
int "Interrupt task priority"
default 0
range 0 25
help
FreeRTOS priority of the GPIO interrupt handler task (0 = lowest). Raise it
if interrupt callbacks must run promptly relative to other tasks.

config SMARTPANLEE_SC01_PLUS_INTERRUPT_CORE_ID
int "Interrupt task core ID"
default -1
range -1 1
help
Core to pin the GPIO interrupt handler task to (-1 = not pinned to any core).

config SMARTPANLEE_SC01_PLUS_AUDIO_TASK_STACK_SIZE
int "Audio task stack size"
default 4096
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,9 @@ class SmartPanleeSc01Plus : public BaseComponent {
espp::Interrupt interrupts_{
{.interrupts = {},
.task_config = {.name = "sc01+ interrupts",
.stack_size_bytes = CONFIG_SMARTPANLEE_SC01_PLUS_INTERRUPT_STACK_SIZE}}};
.stack_size_bytes = CONFIG_SMARTPANLEE_SC01_PLUS_INTERRUPT_STACK_SIZE,
.priority = CONFIG_SMARTPANLEE_SC01_PLUS_INTERRUPT_PRIORITY,
.core_id = CONFIG_SMARTPANLEE_SC01_PLUS_INTERRUPT_CORE_ID}}};

std::shared_ptr<I2c::Device<uint8_t>> touch_i2c_device_;
std::shared_ptr<TouchDriver> touch_driver_;
Expand Down
15 changes: 15 additions & 0 deletions components/t-deck/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,19 @@ menu "T-Deck Configuration"
help
Size of the stack used for the interrupt handler. Shared by the
keyboard callback and the touch callback.

config TDECK_INTERRUPT_PRIORITY
int "Interrupt task priority"
default 20
range 0 25
help
FreeRTOS priority of the GPIO interrupt handler task (0 = lowest). Raise it
if interrupt callbacks must run promptly relative to other tasks.

config TDECK_INTERRUPT_CORE_ID
int "Interrupt task core ID"
default -1
range -1 1
help
Core to pin the GPIO interrupt handler task to (-1 = not pinned to any core).
endmenu
3 changes: 2 additions & 1 deletion components/t-deck/include/t-deck.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,8 @@ class TDeck : public BaseComponent {
.event_queue_size = 50,
.task_config = {.name = "t-deck interrupts",
.stack_size_bytes = CONFIG_TDECK_INTERRUPT_STACK_SIZE,
.priority = 20}}};
.priority = CONFIG_TDECK_INTERRUPT_PRIORITY,
.core_id = CONFIG_TDECK_INTERRUPT_CORE_ID}}};

// keyboard
std::shared_ptr<I2c::Device<uint8_t>> keyboard_i2c_device_{nullptr};
Expand Down
15 changes: 15 additions & 0 deletions components/t-dongle-s3/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,19 @@ menu "T-Dongle-S3 Configuration"
help
Size of the stack used for the interrupt handler. Used by the
button callback.

config T_DONGLE_S3_INTERRUPT_PRIORITY
int "Interrupt task priority"
default 0
range 0 25
help
FreeRTOS priority of the GPIO interrupt handler task (0 = lowest). Raise it
if interrupt callbacks must run promptly relative to other tasks.

config T_DONGLE_S3_INTERRUPT_CORE_ID
int "Interrupt task core ID"
default -1
range -1 1
help
Core to pin the GPIO interrupt handler task to (-1 = not pinned to any core).
endmenu
4 changes: 3 additions & 1 deletion components/t-dongle-s3/include/t-dongle-s3.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,9 @@ class TDongleS3 : public BaseComponent {
espp::Interrupt interrupts_{
{.interrupts = {},
.task_config = {.name = "t-dongle-s3 interrupts",
.stack_size_bytes = CONFIG_T_DONGLE_S3_INTERRUPT_STACK_SIZE}}};
.stack_size_bytes = CONFIG_T_DONGLE_S3_INTERRUPT_STACK_SIZE,
.priority = CONFIG_T_DONGLE_S3_INTERRUPT_PRIORITY,
.core_id = CONFIG_T_DONGLE_S3_INTERRUPT_CORE_ID}}};

// button
std::atomic<bool> button_initialized_{false};
Expand Down
Loading
Loading