These instructions apply equally to all host platforms
Eclipse for C/C++ can be obtained at http://www.eclipse.org/downloads/
Eclipse IDE for C/C++ Developers (includes Incubating components)
If you do not already have mspgcc, see codeblocks_mspgcc
Use mspgcc release at (or after) 20120311 to avoid gdb problem with display of local variables.
zylin plugin allows eclipse to use msp430-gdb as debugger
install using update site
Eclipse for C/C++ developers has a generic project type: Cross GCC
To support placing data at specific address, you can put your own memory.x into project CWD/PWD. This location can be seen at: project properties → C/C++ Build → Environment
The common msp430 linker script includes memory.x, when this file exists in CWD, then in will override the default memory.x
no extra linker flags necessary
If mspdebug not setup yet, first follow instructions at codeblocks_mspgcc
Once mspdebug is running and await connection on port 2000, you can create a debug configuration:
Zylin Embedded debug (Native), double-click it or hit new (each project must have its own config)
set remoteaddresssize 64 set remotetimeout 999999 target remote :2000 set download-write-size 2000 set remote memory-write-packet-size 2000 set remote memory-write-packet-size fixed set remote memory-read-packet-size 2000 set remote memory-read-packet-size fixed erase load
../../../gcc-4.6.x/gcc/config/msp430/crt0.S, you will need to create that directory relative to CWD, and put crt0.S (from mspgcc source) in there. CWD is Debug or Release subdirectory in your project directory.
monitor reset flushregs
flushregs is currently necessary to refresh gdb after target reset.
Register viewing eclipse plugin might support your cpu, check plugin page http://embsysregview.sourceforge.net/
Enable it: Window → Show view → EmbSys Registers
You may drag the tab elsewhere.
click on wrench to select CPU type.
Additional cpu can be added by XML editing.
For GIT integrated into Eclipse, try EGit
xpg plugin specific to msp430
Perhaps not much benefit due to Eclipse supporting Cross GCC with little trouble.