| |
|
Microchip TCP/IP Stack v3.75.5 (beta)
Contents
Download zip file (866KB)

Building the code image
To build the code image you must have installed Microchip's
MPLAB IDE
(version 7.60 or later),
MPLAB C18 Compiler (version 3.10 or later) if you are using
a PIC18 part or MPLAB C30
Compiler (version 3.00 or later) if you are using a PIC24 or dsPIC part.
After you are done with the configuration of the stack you must include
in your MPLAB IDE project the correct linker script file (if a different
processor than the existing one in the project will be used).
The linker directory includes several script files for various
processors compatible with the boards/designs included in this version.
If in the config.h file you enabled the
HTTP server module and storage on program memory
MPFS_USE_PGRM), previously to build the image,
you must first generate a "C language image" source file using the
MPFS.EXE utility using the
/c option, move the output C file to the
main source directory, include it in the project Source file list and
edit it to replace the line that has the
#include "..\Include\Compiler.h" by
#include "include/config.h".
The current distribution includes a C source code image of the sample
website in the file mpfsimg.c in the main
source directory.
To build your project just use the make or build functions on MPLAB IDE.
If there are some missing configuration options or errors the compiler
will stop and show the error on the output screen.
If you use any of the existing MPLAB IDE project files to build the
code image, the project options are set in a way that all objects will
be stored under the obj subdirectory for each
module and the binary files, cof and map files will be stored in the
bin directory.
The project files also assume that the C18 compiler is installed in the
C:\MCC18 directory and the C30 compiler in
the C:\MPLAB C30, if your install path is
different you will need to change the language tool suite directories
accordingly.
Use your preferred PIC programmer to download the image to the
microcontroller program memory.
|
|
|
|