Hi, Richy,
I made an simulator bsp on windows . It can be built with visual studio (vs2005 and newer versions), It is just an simulator for RT-Thread about WIN32 NATIVE project.
This simulator includes:
1. RT-Thread RTOS kernel
2. uffs , jffs2, elmfatfs, dfs_win32(windows share directory, which can be mounted RT-Thread/DFS)
3. finsh (which is an C language style shell, and really a excellent tools, I think you would like it, )
finsh is really very helpful and easy to add new commands.
4. Lwip and RTGUI
you can create an visual project like this:
CMD>> scons --target=vs -s
then an visual studo project.vcproj will be created, and all components defined in rtconfig.h will be add to this vs project.
The simulator is really helpful to test file systems. some shot-photos is:
1.png is the startuping
2.png
nand.bin is used for uffs. 2048+64byte
sd.bin is used for elmchan's fatfs
nor.bin is used for jffs2
AND EVEN and windoiws directory can be mounted an sub file systems on RT-Thread/DFS.
3.png
you can easily copy file between multi-filesystems. just copy and SDL.dll from current work directory to nand.bin.
FINSH is C-like as you see, ALL command are C function . and it is more powerful than what I show here.
I guess this simulator bsp is really help for us to develop and test file systems..
Please see here:
trunk\bsp\simulator
uffs code is in "trunk\components\dfs\filesystems\uffs"
website:
Any questions about simulator are welcome.
Best Regards
prife
--
把有限的时间投入到无限的学习中去