示例#1
0
static byte InitCmd(const CLS1_ConstStdIOType *io)
{
	uffs_SetupDebugOutputCLS(io);
	MSGLN("initializing UFFS");
	my_init_filesystem();
	return ERR_OK;
}
示例#2
0
/* application entry */
int main()
{
	my_init_filesystem();

	// ... my application codes ....
	// read/write/create/delete files ...

	uffs_ReleaseMountTable();

	return 0;
}
/* application entry */
int main()
{
	uffs_SetupDebugOutput(); 	// setup debug output as early as possible

	my_init_filesystem();

	// ... my application codes ....
	// read/write/create/delete files ...

	my_release_filesystem();

	return 0;
}