我的硬件平台是PXA270+norflash(P33)
原来一直用IPSM
现在想换成MSFLASH
我的BSP是WINCE4升级到WINCE5的
目前我把
D:\WINCE500\PUBLIC\COMMON\OAK\DRIVERS\BLOCK\MSFLASHFMD\STRATA
这个文件夹拿到BSP下编译
并把sources修改如下:
TARGETNAME=stratad
TARGETTYPE=DYNLINK
DEFFILE=stratad.def
INCLUDES=..\;\
..\..\inc \
SOURCELIBS=$(_COMMONSDKROOT)\lib\$(_CPUINDPATH)\coredll.lib \
$(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\stratad_lib.lib \
$(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\fal.lib \
CDEFINES=$(CDEFINES) -DREAD_FROM_REGISTRY
SOURCES=..\fmd.cpp
发现报错:
BUILD: [01:0000000145:ERRORE] d:\WINCE500\PLATFORM\MCORE\drivers\STRATA\fmd.cpp(0) : fatal error C1033: cannot open program database 'd:\wince500\pbworkspaces\mocre_pt100_p3\wince500\mcore_armv4i\oak\target\armv4i\retail\stratad.pdb'
BUILD: [01:0000000146:ERRORE] NMAKE : U1073: don't know how to make 'D:\WINCE500\PBWorkspaces\Mocre_PT100_P3\WINCE500\MCORE_ARMV4I\cesysgen\oak\lib\ARMV4I\retail\stratad_lib.lib'
BUILD: [01:0000000148:ERRORE] NMAKE.EXE -i -c BUILDMSG=Stop. NOLINK=1 NOPASS0=1 failed - rc = 2
请问我需要如何添加这个驱动?一点头绪都没有! |