public
Description: Library routines for creating firmware for the Cypress FX2 (CY7C68013 and variants) with SDCC
Homepage: http://fx2lib.sourceforge.net
Clone URL: git://github.com/mulicheng/fx2lib.git
fx2lib /
name age message
file .gitignore Fri Sep 04 10:13:41 -0700 2009 Updated docs version. dist target in Makefile. ... [Dennis Muhlestein]
file CHANGELOG Thu Sep 17 13:00:49 -0700 2009 Changelog update. [Dennis Muhlestein]
file COPYING Fri Apr 10 14:38:43 -0700 2009 Adding GPL and LGPL license files to project. [Dennis Muhlestein]
file COPYING.LESSER Fri Apr 10 14:38:43 -0700 2009 Adding GPL and LGPL license files to project. [Dennis Muhlestein]
file Makefile Fri Sep 25 12:56:35 -0700 2009 Initial intro documentation [Dennis Muhlestein]
file NOTES Tue Apr 21 12:01:30 -0700 2009 Notes Update [Dennis Muhlestein]
file README Fri Apr 10 13:23:20 -0700 2009 Updated README [Dennis Muhlestein]
directory docs/ Fri Sep 25 12:56:35 -0700 2009 Initial intro documentation [Dennis Muhlestein]
directory examples/ Fri Oct 02 15:54:15 -0700 2009 Updated all examples to use a common make syste... [Dennis Muhlestein]
directory fw/ Wed Apr 15 08:40:34 -0700 2009 Optimization to handle hispeed and reset code f... [Dennis Muhlestein]
directory include/ Fri Oct 02 13:21:07 -0700 2009 Use assembly for light macros is slightly more ... [Dennis Muhlestein]
directory lib/ Thu Sep 17 14:49:44 -0700 2009 Allow retry if no ack after addr. eeprom write... [Dennis Muhlestein]
directory utils/ Fri Apr 10 13:12:53 -0700 2009 New ihx2iic helper script. Modified firmware e... [Dennis Muhlestein]
README
Before building this library, you need have sdcc installed and in your path.

http://sdcc.sf.net

To build this library, run make

> make

This produces lib/fx2.lib.  You can also run make in the lib folder.

You can also build the documentation if you have doxygen installed.

> make docs

** Firmware framework Quickstart

> cd fw
> make

You can copy the fw directory to your own directory and customize it as needed.

** More custom firmware

To use routines included with this library in your own firmware,
add the include files to your include path and the lib file to your compile command:

> sdcc -mmcs51 -I<path to includes> <your c file> fx2.lib -L <path to fx2.lib dir>

fx2lib also includes an example program for loading firmware onto your device. 
See examples/fx2.


Enjoy!
Comments, Patches, all welcome.