From 8b78b7c696412d5be3b62035c0cfefda4838c920 Mon Sep 17 00:00:00 2001 From: Roman Leonov Date: Tue, 3 Dec 2024 11:45:47 +0100 Subject: [PATCH] fix(esp_tinyusb): Pinned tinyusb task to the CPU1 by default for unicore systems --- device/esp_tinyusb/CHANGELOG.md | 4 ++++ device/esp_tinyusb/Kconfig | 1 + 2 files changed, 5 insertions(+) diff --git a/device/esp_tinyusb/CHANGELOG.md b/device/esp_tinyusb/CHANGELOG.md index 17010403..77644907 100644 --- a/device/esp_tinyusb/CHANGELOG.md +++ b/device/esp_tinyusb/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.4.6 (Unreleased) + +- esp_tinyusb: Changed the default affinity mask of the task to CPU1 + ## 1.4.5 - CDC-ACM: Fixed memory leak at VFS unregister diff --git a/device/esp_tinyusb/Kconfig b/device/esp_tinyusb/Kconfig index 9edbce1b..1c9b783b 100644 --- a/device/esp_tinyusb/Kconfig +++ b/device/esp_tinyusb/Kconfig @@ -41,6 +41,7 @@ menu "TinyUSB Stack" choice TINYUSB_TASK_AFFINITY prompt "TinyUSB task affinity" + default TINYUSB_TASK_AFFINITY_CPU1 if !FREERTOS_UNICORE default TINYUSB_TASK_AFFINITY_NO_AFFINITY depends on !TINYUSB_NO_DEFAULT_TASK help