|
|
Microchip TCP/IP Stack v3.75.6 协议栈说明介绍
Building the code image
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. While it is recommended to use the MPLAB IDE, C18 and C30 versions mentioned before, the code should compile with previous versions. MPLAB IDE must not be prior to 7.41 to support the include search path, C18 not prior to 3.02 and C30 3.00. Be aware that some device specific features may not be present or supported in earlier versions of the tools and the latest releases include fixes associated with several devices that can be used to run the TCP/IP Stack. |
![]() |
以上部分内容转载于网上,如有涉及到版权问题,请即通知本人删除 ICP备05019516号
联系地址:浙江省杭州市拱墅区普金家园11-3-702 徐玮 邮政编码:310015 Email:hificat@163.com xu169@sina.com 电话:0571-85956028 传真:0571-88230070 手机:13185018567 QQ:420951892 MSN:hificat@hotmail.com 杭州晶控电子有限公司 版权所有 COPYRIGHT2003——2007 HANGZHOU KinCony ELECTRONICS CO.,LTD All rights reserved |