Launchpad MSP430G2 - ArchWiki

Jump to content
From ArchWiki

This article or section needs language, wiki syntax or style improvements. See Help:Style for reference.

Reason: This page is an orphan and lacks structure. (Discuss in Talk:Launchpad MSP430G2)

Follow these steps in order to use Energia for the Launchpad MSP-EXP430G2 board.

Install the java-rxtx package.

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.

Category:

- Hardware

Hidden category:

- Pages or sections flagged with Template:Style