Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 17th October 2007, 05:22 AM   (permalink)
Default MPLAB Makefile questions

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?
toodles is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Question about Inchworm+ Quan Micro Controllers 54 28th October 2007 01:21 AM
Debugging 877A with MPLAB williB Micro Controllers 10 7th May 2007 04:53 PM
Need help badly on Inchworm and MPLAB thushy Micro Controllers 14 11th March 2007 07:05 PM
Some Question About Inchworm Ayne Micro Controllers 29 7th March 2007 04:08 AM
Inchworm project started williB Micro Controllers 69 5th March 2007 07:56 PM



All times are GMT. The time now is 08:32 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker