Build simulator on Windows (Visual Studio)

UFFS (>1.2.0) source code tree structure:

.
|-- doc
`-- src
|-- emu ---> NAND flash simulation, helper codes.
|-- example ---> Example codes
|-- inc
| `-- uffs
|-- uffs ---> UFFS core sources
`-- utils ---> simulator utility



From v1.2.0, UFFS use 'cmake' to generate Makefiles or project files for compile the simulator.

'cmake' can be downloaded from here: http://www.cmake.org/cmake/resources/software.html

When installing 'cmake', choose "Add cmake to System PATH".

Check out UFFS source codes from SF.net:

  svn co https://uffs.svn.sourceforge.net/svnroot/uffs/trunk uffs-trunk


Create a 'build' dir along with uffs-trunk:


Enter 'build' dir, and run "cmake ..\uffs-trunk" to create project files:


(Make sure that your cl.exe is in PATH).

Cmake will generate project files for you:



Now, you can open "uffs.dsw" with Visual Studio:



Set "mkuffs" project as active project, then compile/run it.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值