Eric Engler has published the EmbeddedGNU IDE that supports GNU C compiler and assembler for any 68HC11, HC12 and HCS12 boards including our FOX11, EVBplus2, DRAGON12 and MiniDragon+ boards. It's free software under Open Source, GNU GPL License. It's not freeware nor shareware (be aware that some freeware are not free). To download Eric's free tools including the GNU C compiler and assembler please visit his web site at: http://www.geocities.com/englere_geo/
The
following page shows the exact terms of the license (Mozilla Public License)
http://www.geocities.com/englere_geo/License.txt
The
steps to set up the EmbeddedGNU are as follows:
1.
Download the GNU GCC compiler from:
http://m68hc11.serveftp.org/m68hc11_pkg_zip.php
Select the release 3.1 to download. It has the following components in
it:
Gcc
3.3.6
Gdb 6.4
Binutils 2.15
Newlib 1.12.0
2. Run the file that you downloaded to install GNU 68HC11/68HC12 tools into the default directory of C:\usr.
3.
Download
the EmbeddedGNU egnu094.zip.
4.
Install the EmbeddedGNU on your PC.
Extract all files into a new directory that you need to create on any
hard drive. The name of the new directory can be like c:\egnu094 or d:\egnu094.
The EmbeddedGNU.exe and example programs will be located at \egnu094, but
your application programs can be located in any other directories.
5. Filename Association.
When
you first start EmbeddedGNU.exe it will ask if you want to associate the
filename extensions used by EmbeddedGNU with itself. This lets you double-click
on a filename and the EmbeddedGNU will be launched to let you edit the file. The
default option is to associate ".prj" with EmbeddedGNU. This is the
main project file type used by EmbeddedGNU.
You also should choose to associate .c, .h, and .s files with EmbeddedGNU.
WARNING:
if you are on WinNT/Win2K/WinXp, then you must be logged in as an administrator
to use this option.
Press
OK to continue
6. COM Port Selection.
It
asks if you want to select your COM port. Say Yes. Select your port in the dropdown box. It defaults to 9600
baud, which is normally correct. Now press OK.
7. Select Option-> Environment Options->AutoDownload, then disable ALL automatic commands.
8. The current egnu094.zip is properly set up with the newest release version 3.1 (GCC 3.3.6). In the future when upgrading to a newer version you have to update the linker’s search directory. See help file related version upgrade issues.

To
change the linker search directory (search path) for GNU C compiler toolset you
click options->project options->edit profile. As it can be seen from
above Linker Search Directory, the GCC 3.3.6 is installed on C drive.
Jim
Donelson, one of our Dragon12 users, converted our test program from assembly to
C for the EmbeddedGNU. The C source
code can be downloaded at the following web site: http://www.ericengler.com/EmbeddedGNU.aspx
Some
university web sites offer educational resource for the EmbeddedGNU.
The following web site provides A
C sample program for the DRAGON12 board using EmbeddedGNU and GCC