starting with SDCC

  1. download and install sdcc from http://sdcc.sf.net (I'm using the CVS)
  2. now create a new folder und put the header files ezusb_reg.h and dtypes.h of the EZUSB - human interface project
  3. create a new subfolder called example and put the main.c, Makefile and getdevpath to it
  4. type
    make

    to compile and upload you first sdcc programm ;-)


Examples can be found here: EZ-USB - summary and examples

Files

Makefile

Unable to display file "http://darcs.erazor-zone.de/ezusb/sdcc/blink_example/Makefile": It may not exist, or permission may be denied.

main.c

Unable to display file "http://darcs.erazor-zone.de/ezusb/sdcc/blink_example/main.c": It may not exist, or permission may be denied.

ezusb_reg.h

Unable to display file "http://darcs.erazor-zone.de/ezusb/sdcc/ezusb_reg.h": It may not exist, or permission may be denied.

dtypes.h

Unable to display file "http://darcs.erazor-zone.de/ezusb/sdcc/dtypes.h": It may not exist, or permission may be denied.

FAQ - Frequently Asked Questions

Copyright

 
wiki/projects/ez-usb/sdcc.txt · Last modified: 2005/08/24 16:08 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki