I have tried to import the yaffs2 code into the VisualStudio2005
I've tried to compile the code and many errors appeared .
For example __inline__  can not be compiled within VS so i changed in __inline and those kind of errors disappeared

But I have so many errors in the yportenv.h at line 154 (fatal error C1189)
#error Unknown configuration

Why?
I 've look at the code and tried to define some flags(like... CONFIG_YAFFS_RAM_ENABLED)  in my testing main function but the errors remain :-(

As I mentioned before, all I want is to be able the compile the yaffs code with Visual Studio and try to do some testing (mounting, read/write file) in the main function
Should I do something "special" to enable yaffs emulation or should I include/exclude some files to get this working?
Should I use all yaffs2 files for it's emulation or there is a smaller set of files that are enough for yaffs NAND testing with VisualStudio?

Thanks in advance,
Petar
IT_student from Macedonia

--
Mr.Dimoski
contact: dimoski@gmail.com
            dimoski@ymail.com


"Life would be much easier if I had the source code."