From 1e6f6daea71afcf4a180d5747cd93742e8a67a03 Mon Sep 17 00:00:00 2001 From: pennam Date: Thu, 16 Oct 2025 10:11:59 +0200 Subject: [PATCH] threads: change main thread priority to 14 --- .../arduino_giga_r1_stm32h747xx_m7.conf | 4 ++++ .../arduino_opta_stm32h747xx_m7.conf | 5 +++++ .../arduino_portenta_c33_r7fa6m5bh3cfc.conf | 4 ++++ .../arduino_portenta_h7_stm32h747xx_m7.conf | 5 +++++ 4 files changed, 18 insertions(+) diff --git a/variants/arduino_giga_r1_stm32h747xx_m7/arduino_giga_r1_stm32h747xx_m7.conf b/variants/arduino_giga_r1_stm32h747xx_m7/arduino_giga_r1_stm32h747xx_m7.conf index eaf599eaa..ddfbd3f0a 100644 --- a/variants/arduino_giga_r1_stm32h747xx_m7/arduino_giga_r1_stm32h747xx_m7.conf +++ b/variants/arduino_giga_r1_stm32h747xx_m7/arduino_giga_r1_stm32h747xx_m7.conf @@ -64,3 +64,7 @@ CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048 CONFIG_BT_RX_STACK_SIZE=4096 CONFIG_STM32H7_BOOT_M4_AT_INIT=n + +CONFIG_MAIN_THREAD_PRIORITY=14 +CONFIG_INPUT_THREAD_PRIORITY_OVERRIDE=y +CONFIG_INPUT_THREAD_PRIORITY=0 diff --git a/variants/arduino_opta_stm32h747xx_m7/arduino_opta_stm32h747xx_m7.conf b/variants/arduino_opta_stm32h747xx_m7/arduino_opta_stm32h747xx_m7.conf index ec12c78dc..1f0d836a4 100644 --- a/variants/arduino_opta_stm32h747xx_m7/arduino_opta_stm32h747xx_m7.conf +++ b/variants/arduino_opta_stm32h747xx_m7/arduino_opta_stm32h747xx_m7.conf @@ -93,3 +93,8 @@ CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048 CONFIG_BT_RX_STACK_SIZE=4096 CONFIG_STM32H7_BOOT_M4_AT_INIT=n + +CONFIG_MAIN_THREAD_PRIORITY=14 +CONFIG_INPUT_THREAD_PRIORITY_OVERRIDE=y +CONFIG_INPUT_THREAD_PRIORITY=0 + diff --git a/variants/arduino_portenta_c33_r7fa6m5bh3cfc/arduino_portenta_c33_r7fa6m5bh3cfc.conf b/variants/arduino_portenta_c33_r7fa6m5bh3cfc/arduino_portenta_c33_r7fa6m5bh3cfc.conf index 2a003fc84..cbe3baa2d 100644 --- a/variants/arduino_portenta_c33_r7fa6m5bh3cfc/arduino_portenta_c33_r7fa6m5bh3cfc.conf +++ b/variants/arduino_portenta_c33_r7fa6m5bh3cfc/arduino_portenta_c33_r7fa6m5bh3cfc.conf @@ -99,3 +99,7 @@ CONFIG_BT_BUF_ACL_RX_SIZE=255 CONFIG_BT_BUF_CMD_TX_SIZE=255 CONFIG_BT_BUF_EVT_DISCARDABLE_SIZE=255 CONFIG_BT_MAX_CONN=4 + +CONFIG_MAIN_THREAD_PRIORITY=14 +CONFIG_INPUT_THREAD_PRIORITY_OVERRIDE=y +CONFIG_INPUT_THREAD_PRIORITY=0 diff --git a/variants/arduino_portenta_h7_stm32h747xx_m7/arduino_portenta_h7_stm32h747xx_m7.conf b/variants/arduino_portenta_h7_stm32h747xx_m7/arduino_portenta_h7_stm32h747xx_m7.conf index 6c0b575eb..ed05ec793 100644 --- a/variants/arduino_portenta_h7_stm32h747xx_m7/arduino_portenta_h7_stm32h747xx_m7.conf +++ b/variants/arduino_portenta_h7_stm32h747xx_m7/arduino_portenta_h7_stm32h747xx_m7.conf @@ -100,3 +100,8 @@ CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048 CONFIG_BT_RX_STACK_SIZE=4096 CONFIG_STM32H7_BOOT_M4_AT_INIT=n + +CONFIG_MAIN_THREAD_PRIORITY=14 +CONFIG_INPUT_THREAD_PRIORITY_OVERRIDE=y +CONFIG_INPUT_THREAD_PRIORITY=0 +