undefined reference to `tuh_task'
Opened this issue · 2 comments
i allways get an error
i_system.c:(.text.I_Quit+0x52): undefined reference to `tuh_task'
at the beginning cmake tells my that the tinyusb repos is there
TinyUSB available at ...repos/rp2040-doom/3rdparty/tinyusb/src/portable/raspberrypi/rp2040; enabling build support for USB.
It's been a bit since I compiled it, but I think I had a similar issue. Not sure if it relates to your issue, but I remember there was a wrong symbolic link in the 3rdparty directory, not pointing correctly to tinyusb in my directory tree (also, tinyusb needs to be initialized / downloaded also).
i allways get an error i_system.c:(.text.I_Quit+0x52): undefined reference to `tuh_task'
that possibly happened using newer TinyUSB with code before the other day when I fixed build for pico-sdk 1.5.0 (which moves to TinyUSB 0.15.0) - do you have the latest code.
I did not remove the sub-module which I probably should, but i imagine it should still compile.