This is an old revision of the document!
MSP Debug Stack
Build libmsp430.so on AARCH64
Setup
sudo -s apt install build-essential libboost-all-dev libudev-dev libusb-1.0-0-dev libfox-1.6-dev autotools-dev autoconf automake libtool
Fetch
mkdir -p /opt/src/MSPDS cd /opt/src/MSPDS wget https://dr-download.ti.com/software-development/driver-or-library/MD-4vnqcP1Wk4/3.15.1.1/MSPDebugStack_OS_Package_3_15_1_1.zip unzip MSPDebugStack_OS_Package_3_15_1_1.zip
Patch
sed -i 's/\/\/#define FPGA_UPDATE/#define FPGA_UPDATE/' DLL430_v3/src/TI/DLL430/UpdateManagerFet.cpp
HIDAPI
wget https://github.com/signal11/hidapi/archive/hidapi-0.8.0-rc1.zip unzip hidapi-0.8.0-rc1.zip cd hidapi-hidapi-0.8.0-rc1/ ./bootstrap ./configure CFLAGS='-g -O2 -fPIC' make
Library
cd /opt/src/MSPDS cp hidapi-hidapi-0.8.0-rc1/hidapi/hidapi.h ThirdParty/include cp hidapi-hidapi-0.8.0-rc1/libusb/hid.o ThirdParty/lib64/hid-libusb.o
Build
make -j 4
file libmsp430.so libmsp430.so: ELF 64-bit LSB shared object, ARM aarch64, version 1 (GNU/Linux), dynamically linked, BuildID[sha1]=e5f1660c12ca35ee8793d746fb482615432bbba0, with debug_info, not stripped