I want to port the demoproject made for PIC33FJ256GP710 to another PIC33F, say PIC33FJ256GP510.
If I make a "Bulid All" on the original project, there are no errors. MPLAB is V8.02 + C30 newest release.
To port this project to PIC33FJ256GP510, I change this 3 places in the project:
1. In menu "Configure" + "Select" the device PIC33FJ256GP510 i selected.
2. In file FreeRTOSConfig.h edit the include line to be: #include <p33FJ256GP510.h>
3. Remove the original linker script file (p33FJ256GP710.gld) and add new linker script file p33FJ256GP510.gld
Now, if you build the project following message come up:
In file included from …/Demo/dsPIC_MPLAB/FreeRTOSConfig.h:46,
c:/programmer/microchip/mplab c30/bin/…/support/h/p33FJ256GP710.h:8:2: error: #error "Include file does not match processor setting"
Halting build on first failure as requested.
What is the reason for this?
Thanks in advance for any hint / advices.