Quote:
|
Originally Posted by chakorules
Here is what I did.
I uninstalled version 6.30 MPIDE from last year.
I installed MPIDE 7.00 (full install)
I installed new complier (2.40)
During the complier upate I chose:
ADD MPLAB IDE C18 to PATH Varible
UPDATE MPLAB IDE to use this MPLAB c18
UPDATE MBLAB IDE to use this MPLAB Linker
I copied the default code into:
C:/FrcCode
(working from root, old habit, windows long files kills projects sometimes)
I opened MPIDE 7.0
Opened workspace to FrcCode
I edited the the project files:
PROJECT > BUILD OPTIONS... > PROJECT
I added a path to the includes:
C:\mcc18\h
which contains an include #include <adc.h>
Then I hit the debugger...bam...it's running in sim mode...
Hope that helps..
PS: I still don't know what I am doing, yet...but atleast I am trying...
|
I think if you install the compiler first, then the MPLab 7.0 it will pickup the locations of the compiler and libraries. I didn't have to point MPLab at anything before running it. I did uninstall ALL the previous components (IFI Loader, MPLab and Compiler).
Sean