Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:xc16 [2017/01/18 09:47] – external edit 127.0.0.1 | tools:xc16 [2017/01/18 19:05] (current) – [Microchip XC16 compiler] darron | ||
---|---|---|---|
Line 4: | Line 4: | ||
Installation is comprised of two steps. The first step installs | Installation is comprised of two steps. The first step installs | ||
- | the commercial compiler and the support | + | the commercial compiler and the include |
is used to replace the compiler with the free edition. The | is used to replace the compiler with the free edition. The | ||
support files are needed in step 2 from step 1. | support files are needed in step 2 from step 1. | ||
Line 39: | Line 39: | ||
=== Free edition === | === Free edition === | ||
- | The free edition utilises header files and libraries from the commercial edition so perform the installation steps given above. The free edition has no limitations and does not require a license for optimisations. | + | The free edition utilises header files and libraries from the commercial edition so perform the installation steps given above first. The free edition has no limitations and does not require a license for optimisations. |
+ | |||
+ | The source code for the compiler needs a number of patches to build and operate. Patches were sourced from patches from the older c30 compiler and others created for XC16. The | ||
+ | resultant build has proven to produce binary objects that work on the target devices. | ||
== Initialise == | == Initialise == | ||
Line 48: | Line 51: | ||
cd pic30 | cd pic30 | ||
</ | </ | ||
+ | |||
+ | The install process will apply a number of patches, build the compiler and tools and install everything in / | ||
== Fetch and install == | == Fetch and install == | ||
Line 54: | Line 59: | ||
./install | ./install | ||
</ | </ | ||
+ | |||
+ | The install script expects the commercial compiler and includes files | ||
+ | to be installed so it may copy the support files to the build directory. | ||
+ | |||
+ | The final output of this process is not elegant and can do with more | ||
+ | work but this is not a high priority. | ||
=== Raspberry Pi === | === Raspberry Pi === |