CONFIG_TINYUSB_TASK_STACK_SIZE in menuconfig not present
Posted: Mon Oct 13, 2025 9:35 pm
Hi,
I want to use tinyUSB in my project. When compiled and flashed, I got this:
E (641) tinyusb_task: tinyusb_task_check_config(100): Task size can't be 0
E (645) TinyUSB: tinyusb_driver_install(114): TinyUSB task configuration check failed
(1) I checked menuconfig on how to set stackSize, but there no such item.
(2) I added this:
CONFIG_TINYUSB=y
CONFIG_TINYUSB_DEVICE_ENABLED=y
CONFIG_TINYUSB_TASK_STACK_SIZE=4096
CONFIG_TINYUSB_TASK_PRIORITY=5
CONFIG_TINYUSB_MIDI_COUNT=1
to the sdkconfig. defaults
but it didn't fix it and was never propagated to the sdkconfig
(3) I tried to define in my header and many other ways but no success.
Please, let me know how to use tinyUSB in USB OTG Mode with ESP32-P4 ETH POE dev board.
Thank you.
I want to use tinyUSB in my project. When compiled and flashed, I got this:
E (641) tinyusb_task: tinyusb_task_check_config(100): Task size can't be 0
E (645) TinyUSB: tinyusb_driver_install(114): TinyUSB task configuration check failed
(1) I checked menuconfig on how to set stackSize, but there no such item.
(2) I added this:
CONFIG_TINYUSB=y
CONFIG_TINYUSB_DEVICE_ENABLED=y
CONFIG_TINYUSB_TASK_STACK_SIZE=4096
CONFIG_TINYUSB_TASK_PRIORITY=5
CONFIG_TINYUSB_MIDI_COUNT=1
to the sdkconfig. defaults
but it didn't fix it and was never propagated to the sdkconfig
(3) I tried to define in my header and many other ways but no success.
Please, let me know how to use tinyUSB in USB OTG Mode with ESP32-P4 ETH POE dev board.
Thank you.