Launchpad MSP430G2
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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 for your architecture (32bit or 64bit) 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.