Wednesday, August 27, 2008

Make MCU Board - Development Tools

I plan to program firmware on Linux platform, so I use software packages as following:

  • Fedora Core 9/Ubuntu 8.04 on PC
  • sdcc - free compiler for 8051/AVR/Z80
  • gputils - GCC compiler for PIC
  • codeblocks - IDE development tool

Installation:

* In Fedora Core 9

# yum install gputils
# yum install sdcc
# yum install codeblocks codeblocks-contrib


* In Ubuntu 8.04

# vim /etc/apt/sources.list
deb http://apt.wxwidgets.org/ gutsy-wx main
deb http://lgp203.free.fr/ubuntu/ gutsy universe

# wget -q http://apt.wxwidgets.org/key.asc -O- | apt-key add -
# wget -q http://lgp203.free.fr/public.key -O- | apt-key add -

# apt-get update
# apt-get install gputils
# apt-get install sdcc
# apt-get install codeblocks
# apt-get install codeblocks-contrib
# apt-get install libwxsmithlib0

If you want to get more optimized compiling code,
e.g. the compiled binary code is small than sdcc, and reference resource is reach,
you can consider to use HI-TECH's PICC(for PIC) or 8051 C compiler.
HI-TECH supports tool(HI-TIDE) to plugin into eclipse's IDE.

No comments: