NuttX has an awesome driver for ROM FS Filesystem. What if we could transplant the NuttX Driver and run it in a Web Browser, embedded in any WebAssembly App?
Today we solve a hefty headache in our port of TCC Compiler to WebAssembly: Missing C Header Files... (1) We host the C Header Files in a ROM FS Filesystem (2) Call the NuttX ROM FS Driver (from Zig WebAssembly) to emulate POSIX File Access (3) TCC Compiler compiles C Programs with Header Files yay! (4) We tested the Compiler Output with NuttX Emulator in the Web Browser (5) Now we can build NuttX Apps in the Web Browser, and test them in the Web Browser too NuttX becomes a Triple Treat: In the C Compiler, in the Apps and in the Emulator! Here's the article: https://lupyuen.codeberg.page/articles/romfs.html Lup