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.
CONFIG_TINYUSB_TASK_STACK_SIZE in menuconfig not present
-
nopnop2002
- Posts: 347
- Joined: Thu Oct 03, 2019 10:52 pm
- Contact:
Re: CONFIG_TINYUSB_TASK_STACK_SIZE in menuconfig not present
The ESP32's USB has both device and host functions.
USB OTG is a device function.
There are many examples available here.
https://github.com/espressif/esp-idf/tr ... usb/device
USB OTG is a device function.
There are many examples available here.
https://github.com/espressif/esp-idf/tr ... usb/device
Who is online
Users browsing this forum: Google [Bot], PetalBot, Qwantbot, RandomInternetGuy and 3 guests