I am trying to port Lua to ucos on a arm9 cpu. lua source code has usd stdio lib at many place. Yet, no uart is left for stdin/sdout ect in my hardware. More worse, the compile of ADS use the semihosting if stdio is used.
So I wanto to avoid using stdio in lua or just redirect stdio to some buffer in memory!
How can I achieve this?