Forum Discussion
Altera_Forum
Honored Contributor
16 years agofail to create output file - simple io problem
Any idea what is wrong with the code below? The code failed to create the sample.txt file. Runtime error. #include <stdio.h> #include <string.h> #include <stdlib.h> #include <unistd.h> ...
Altera_Forum
Honored Contributor
16 years agoI don't know if uc/OS-II has a filesystem with write. I know that uCLinux and eCos do, but they require more work (and time) before being usable. You need to get familiar with the environment and the building process.
What type of flash memory are you using and why do you need a file system? Depending on what you want to do, it could be a lot easier to just use the block i/o functions.