MSPBSL_Scripter编译

The BSL Scripter is a PC application that is available for Windows, Linux and Mac OS X. It is a user interface which allows to easily communicate with the BSL on MSP430 and MSP432 devices to modify the device’s memory via UART, I2C, SPI or USB. Supported programming adapters are the MSP-BSL programmer (‘BSL Rocket’) and the MSP-FET

1. boost
下载http://www.boost.org
编译

# ./bootstrap.sh
Bootstrapping is done. To build, run:
./b2
# ./b2

如需交叉编译http://blog.csdn.net/zhangxuechao_/article/details/73527784

2. hidapi
下载https://github.com/signal11/hidapi/releases
编译

# ./bootstrap 
# ./configure
checking for libudev... no

  Library libudev was not found on this system.
  Please install it and re-run ./configure

# sudo apt-get install libudev-dev libusb-1.0-0-dev libfox-1.6-dev

如需libusb移植http://blog.csdn.net/zhangxuechao_/article/details/73551395

3. MSPBSL_Scripter
需要手动拷贝hidapi编译出的.o和.h文件到当前路径下。但是源码README里面写的真的不怎么样,各种错误,还需要自己去猜。而且makefile写的也有很多毛病
下载
http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSPBSL_Scripter/latest/index_FDS.html
准备

# cd /MSPBSL_Scripter_linux32/SourceCode
# mkdir ThirdParty
# cd ThirdParty
# mkdir include lib
# cp /hidapi-hidapi-0.8.0-rc1/hidapi/hidapi.h ./include/
# cp /hidapi-hidapi-0.8.0-rc1/libusb/hid.o ./lib/hid-libusb.o

Makefile

# export BIT32=1    //环境变量
#CXXFLAGS += -static    //注释
LIBS += -ludev      //添加
  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值