Hi there,
and Welcome here,
So what BSP are you using for this, If that repo’s is old some of it may be depreciated in the BSP, Roll it back to maybe 3.0.0 or even 2.1.7 or v2.0.0-rc1. Look at the compiler output or your boards Tab see what you have?
This may only be usable on an ESP32 and be a different one for the C3
HTH
GL PJ