forked from djmuhlestein/fx2lib
Library routines for creating firmware for the Cypress FX2 (CY7C68013 and variants) with SDCC
License
LGPL-3.0, GPL-3.0 licenses found
Licenses found
LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING
mithro/fx2lib
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
This branch is 36 commits ahead, 12 commits behind djmuhlestein:master.
Latest commit
Git stats
Files
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Before building this library, you need have sdcc installed and in your path. It is available from http://sdcc.sf.net and packages are shipping with an array of Linux distributions (Debian and derivatives, SuSE). The test routines also demand for header files of libusb 1.0 (shipping with Debian as libusb-1.0-0-dev). 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 (Debian packages doxygen and rubber). > make docs ** Firmware framework Quickstart > cd fw > make You can copy the fw directory to your own directory and customize it as needed. ** Firmware on OSX You will need `sdcc`, which can be obtained via Homebrew (http://brew.sh): > brew install sdcc Then, you can simply run `make' as per above. fx2load is needed to load the firmware on OSX; see examples/fx2. This is a Python package and can be built with setuptools (a virtualenv is highly recommended): > cd examples/fx2 > python setup.py install You may need to install libusb for this; this can be done via Homebrew: > brew install libusb ** 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 Sven Schnelle Tim 'mithro' Ansell
About
Library routines for creating firmware for the Cypress FX2 (CY7C68013 and variants) with SDCC
Topics
Resources
License
LGPL-3.0, GPL-3.0 licenses found
Licenses found
LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- C 75.5%
- C++ 9.7%
- Assembly 6.0%
- Makefile 3.5%
- Python 3.5%
- Shell 1.8%