Most hardware configuration is performed by commenting, uncommenting, or defining a series of macros in the one of the variants of the header file HardwareProfile.h. You can see sample versions of how to set these options in the copies of HardwareProfile.h that are included with the stack's demo projects.
In most cases, the macro to enable a device is the same macro used to define the device's chip select pin. In the default copies of HardwareProfile.h included with the demonstration projects, there are example sections defined for most demo boards, delimited by preprocessor statements. For example, the section for the Explorer 16 begins with the macro "#elif defined (EXPLORER_16)" and continues until the next demo board preprocessor statement. If you use one of these files as a base for your project, make sure you are modifying the macros in the correct section.
Name |
Description |
Describes how to configure the clock for your application. | |
Describes how to configure external storage options to hold web pages or structures in your application. | |
Describes how to configure your project to use an ENC28J60. | |
Describes how to configure your project to use an ENCX24J600. | |
Describes how to configure your project to use a PIC18F97J60. | |
Describes how to configure your project to use a PIC32MX795 family part. |