]>
Commit | Line | Data |
---|---|---|
3608c106 UH |
1 | Before building this library, you need have sdcc installed and in your path. |
2 | ||
3 | http://sdcc.sf.net | |
4 | ||
5 | To build this library, run make | |
6 | ||
7 | > make | |
8 | ||
9 | This produces lib/fx2.lib. You can also run make in the lib folder. | |
10 | ||
11 | You can also build the documentation if you have doxygen installed. | |
12 | ||
13 | > make docs | |
14 | ||
15 | ** Firmware framework Quickstart | |
16 | ||
17 | > cd fw | |
18 | > make | |
19 | ||
20 | You can copy the fw directory to your own directory and customize it as needed. | |
21 | ||
22 | ** More custom firmware | |
23 | ||
24 | To use routines included with this library in your own firmware, | |
25 | add the include files to your include path and the lib file to your compile command: | |
26 | ||
27 | > sdcc -mmcs51 -I<path to includes> <your c file> fx2.lib -L <path to fx2.lib dir> | |
28 | ||
29 | fx2lib also includes an example program for loading firmware onto your device. | |
30 | See examples/fx2. | |
31 | ||
32 | ||
33 | Enjoy! | |
34 | Comments, Patches, all welcome. | |
35 | ||
36 | Contributors | |
37 | Dennis Muhlestein | |
38 | Ubixum, Inc | |
39 | Steve Calfee | |
40 |