Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Library routines for creating firmware for the Cypress FX2 (CY7C68013 and variants) with SDCC
branch: master

This branch is 12 commits ahead, 24 commits behind djmuhlestein:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
docs Initial intro documentation
examples Changed Makefile format.
fw Changed Makefile format.
include include/fx2macros.h: Making MSB and LSB macros work with pointers too.
lib lib/setupdat.c: Not handshaking for all setupdat requests, let handle…
utils
.gitignore Adding some extra bit definitions and code to create timers.
CHANGELOG Updated Changelog
COPYING Adding GPL and LGPL license files to project.
COPYING.LESSER Adding GPL and LGPL license files to project.
Makefile o Adding a top-level 'clean' goal.
NOTES Notes Update
README lib/setupdat.c: Not handshaking for all setupdat requests, let handle…

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.

Contributors
 Dennis Muhlestein
 Ubixum, Inc
 Steve Calfee

Trygve Laugstøl
Something went wrong with that request. Please try again.