Getting started developing with Eclipse

This subject is covered in the article http://msmicroframework.blogspot.com/2009/02/configuring-eclipse-openocd-gcc-to.html.
I use small batch file to start Eclipse and setup environment:
set UPLOAD_FILE_PATH=C:\TFTPUtil\upload.bin
cd \MicroFrameworkPK_v4_1
CALL setenv_gcc.cmd C:\CodeSourceryLite
START eclipse.exe -data C:\
START "TFTP" "{TFTP SERVER LOCATION}"

The UPLOAD_FILE_PATH variable is for moving binaries to TFTP server. You don’t need it if you don’t use deploy task in the ROOT\Solutions\Micro2440SDK\dotnetmf.proj.

I had some problems creating Eclipse project, because I chose wrong project type. To avoid problems create a Makefile Project with these settings:
C/C++ build:
Builder settings:
Build Command: MSBuild.exe dotNetMF.proj /p:flavor=${ConfigName};memory=ram
Build Directory: ${workspace_loc:/MicroFrameworkPK_v4_1/Solutions/Micro2440SDK}
Behaviour:
Build (Incremental build): /t:deploy (THIS IS OPTIONAL)
Clean: /t:clean

Last edited May 3, 2011 at 7:03 PM by UbiElectronic, version 1

Comments

No comments yet.