Launchpad MSP430G2
Follow these steps in order to use Energia for the Launchpad MSP-EXP430G2 board.
Install package java-rxtx from the official repositories.
Create a udev rule:
/etc/udev/rules.d/10-launchpad.rules
SUBSYSTEM=="usb",ATTR{idVendor}=="0451",ATTR{idProduct}=="f432",GROUP="dialout",MODE="0660"
Create dialout
group:
# groupadd dialout
Add your user to groups lock
, uucp
and dialout
:
# usermod -a -G lock,uucp,dialout $(whoami)
Download energia from www.energia.nu and decompress it.
Change directory to the folder lib
:
$ cd ./energia-0101E0012/lib/
Create a backup of these files (or delete them):
$ mv librxtxSerial.so librxtxSerial.so.bak $ mv librxtxSerial64.so librxtxSerial64.so.bak $ mv RXTXcomm.jar RXTXcomm.jar.bak
Create links to the Arch Linux version of java-rxtx:
$ ln -s /usr/lib/librxtxSerial.so "librxtxSerial.so" $ ln -s /usr/lib/librxtxSerial.so "librxtxSerial64.so" $ ln -s /usr/share/java/rxtx/RXTXcomm.jar "RXTXcomm.jar"
Reboot (or restart udev, log out and log in).
Plug your launchpad and start energia.