如何将.cec文件转换成pbcxml文件?

luotuo52   2010-2-10 10:38 楼主
我要将自己的2440 ce5.0平台的bsp移植到ce6.0平台,使用vs2005将smdk2440.cec文件打开想另存为pbcxml文件,可是在打开的时候出现一个错误对话框,提示如下信息:

E:\Program Files\Microsoft Platform Builder\6.00\cepb\IdeVS\smdk2440.cec : warning PBC4000: Declaring CoreOS support will cause your component to appear under "Core OS" in the catalog.  Only Microsoft-supplied OS features should declare CoreOS support.  BSPs and Drivers must not declare CoreOS support.
E:\Program Files\Microsoft Platform Builder\6.00\cepb\IdeVS\smdk2440.cec : warning PBC4000: Variables with empty values are ignored, not unset.
E:\Program Files\Microsoft Platform Builder\6.00\cepb\IdeVS\smdk2440.cec : warning PBC4000: Variables with empty values are ignored, not unset.
E:\Program Files\Microsoft Platform Builder\6.00\cepb\IdeVS\smdk2440.cec : warning PBC4000: Variables with empty values are ignored, not unset.
E:\Program Files\Microsoft Platform Builder\6.00\cepb\IdeVS\smdk2440.cec : warning PBC4000: Variables with empty values are ignored, not unset.
E:\Program Files\Microsoft Platform Builder\6.00\cepb\IdeVS\smdk2440.cec : warning PBC4000: Variables with empty values are ignored, not unset.
C:\Documents and Settings\Administrator\Local Settings\Temp\tmp2B1F.tmp(265) : error PBC1000: The 'urn:Microsoft.PlatformBuilder.500/CecXml:ActionType' elementis invalid - The value '#BUILD' is invalid according to its datatype 'urn:Microsoft.PlatformBuilder.500/CecXml:CecActionType' - The Enumeration constraint failed.

导致我无法将该cec文件转换成为pbcxml文件,进一步导致vs2005无法识别到我自己的bsp.
那位高手能指点一二?

回复评论 (5)

用CE6模拟器的pbcxml改一改就行了。
点赞  2010-2-10 10:45
我转换过,失败告终。
其实这个文件没有多大用处,只是用来组织一下驱动是否加入 编译等。

后来我也不管了,我只是克隆模拟器的东西,然后把2440的代码逐渐搬到这个克隆的BSP中,就这样形成了wince 6.0 BSP。呵呵。
点赞  2010-2-10 14:08
关注ing…^_^,学习,学习…
点赞  2010-2-13 04:22
mark..........
点赞  2010-2-13 09:12
关注 。mark..........
点赞  2010-2-23 10:35
电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 京公网安备 11010802033920号
    写回复