Microchip C18 Compiler
Compiler:
Microchip C18 MPLAB C Compiler for PIC18 family of 8 bit microcontrollers
Device:
PIC18F4620
Notes:
The C18 project uses a modified version off the Microchip standard linker script for the PIC18F4620. This is required as the C18 compiler does not support data buffers over 256 bytes without a modification to the linker script to define a larger bank of microcontroller ram. The optional DISPLAY_USE_LOCAL_RAM_BUFFER define requires a large ram buffer if included, but if using the screen as the display ram buffer (DISPLAY_USE_LOCAL_RAM_BUFFER is commented out) then this special linker script doesn’t need to be used. Check the USING_3V3_POWER define in main.h for your hardware.
You will see in the sample linker script that several consecutive gpr banks have been removed and instead replaced with:-
DATABANK NAME= display_local_buffer_ram_section START=0×400 END=0xBFF
where ‘0x#00’ is the start address of the first removed bank and ‘0x#FF ‘ is the end address of the last removed bank. If modifying other device linker scripts ensure that you also check the bank used by the stack and change it to another bank if it conflicts.
Microchip C30 Compiler
Compiler:
Microchip C30 MPLAB C Compiler for PIC24 family of 16 bit microcontrollers and dsPIC digital signal controllers
Device:
PIC24FJ128GA010
Notes:
Remove the default ‘rom’ from the Bitmap Converter PC application ‘C Constant Declaration String’ as this compiler does not use the special qualifier ‘rom’.
Microchip C32 Compiler
Compiler:
Microchip C32 MPLAB C Compiler for PIC32 family of 32 bit microcontrollers
Device:
PIC32MX360F512L
Notes:
Remove the default ‘rom’ from the Bitmap Converter PC application ‘C Constant Declaration String’ as this compiler does not use the special qualifier ‘rom’.