MPLAB Makefile questions

Status
Not open for further replies.

toodles

New Member
I have a project using MPLAB with the C18 compiler. The code is set to use the PIC in one of 6 hardware configurations, with different #defines in the code to properly compile everything for the setup I've #define'd. At each code release, I have to manually change the #define and recompile and export the code, which is a tedious PITA. Using MPLAB, I'd like to know how to do the following things.

1. Setup the project so a build will build the code and export the hex for each one of six #defines I have.
2. Setup the project so that the built (NOT exported) .HEX includes the EEPROM information I specify.
3. Setup the project so that the initial bootcode, from the Microchip 18F4550 USB bootloader, is included in the built hex.

Can anyone help show me how to accomplish these things?
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…