![]() |
Creating new MPLab Project
So today I tried opening up the '06 code on my MPLAB 6.3. It wouldn't open, so I figured "OK, I can just make a new project." I did that, got the correct chip to program for, etc. Now it gave me an error on
Code:
Generate_Pwms(pwm13,pwm14,pwm15,pwm16);Quote:
Code:
#ifdef _FRC_BOARDThanks |
Re: Creating new MPLab Project
I don't have a copy of MPLAB handy to check, but I'm pretty sure you'll find a "Compiler Options" choice under the Project menu.
|
Re: Creating new MPLab Project
|
Re: Creating new MPLab Project
Ok, so I did that. I also had to have a custom error suppressantt added to my build options, so I now use the "User alternate settings" function. So to add a macro, I found out that I needed to append -D_MACRO_NAME to my build options. My total build options are now
Code:
-D_FRC_BOARD -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- -nw=2066Quote:
|
Re: Creating new MPLab Project
Quote:
First try cleaning the project and rebuilding (in case of file corruption). Then try changing some compilation options. (eg, optimization) |
| All times are GMT -5. The time now is 09:02. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi