修改bat后要重新open release directory in build window

VS2005, 用“release directory in build window“ make过一遍image,放着,在SMDKV210.bat里把“set BSP_NOUART2=1”的1去掉了,再make image,放到板子里,uart2还是没有。在build window里用SET看了一下,果然BSP_NOUART2还是=1。release目录下也没有smdkv210.bat这个文件。难道需要重编一遍OS?SMDKV210.bat在什么时候才会被用到呢?

在winCE6 fundamentals的第四章build system里,先bat为关键字搜了搜,太多了无果;用bsp_搜,看到了一张表格名为environmental variables;再用environmental variables搜,看到了这么一段:An OS design is defined by what environment variables it sets. Each OS design has an associated PBInitEnv.bat file that is called to configure the build environment for that OS design. PBInitEnv.bat is called either when a new build window is opened through the Build Open Release Directory in the Build Window menu item in Platform Builder, or when an OS build is initiated through the Platform Builder UI. 主要就在new这个字。PBInitEnv.bat 在窗口开的时候才载入,之后再由它载入其他bat中的环境变量。于是把build window关了,再开一次,再makeimg。果然好了。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值