I'm trying to make the bootloader running with a project compiled with xc32 v1.31.
So far, no luck, it seems the default linker map file of the bootloader and the new linker file of the xc32 and mplabx aren't compatible.
Any hint on how to make it working?
Best regards,
Davide
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry for this very very late answer... not too late, I hope.
In the linker map files there is a part of the code (lines 34 and 35) I've commented to make it compatible with C32 compiler (at first those files were for XC32 compiler).
You can try to uncomment them ?
/************************************************************************* * Processor-specific peripheral libraries are optional *************************************************************************//* ------> for XC32 compiler, not C32 compiler !!! need to be changed in accordance to your device *//*OPTIONAL("libmchp_peripheral.a")OPTIONAL("libmchp_peripheral_32MX795F512L.a")*/
Must become:
/************************************************************************* * Processor-specific peripheral libraries are optional *************************************************************************//* ------> for XC32 compiler, not C32 compiler !!! need to be changed in accordance to your device */
OPTIONAL("libmchp_peripheral.a")
OPTIONAL("libmchp_peripheral_32MX795F512L.a")
Best regards.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dears,
I'm trying to make the bootloader running with a project compiled with xc32 v1.31.
So far, no luck, it seems the default linker map file of the bootloader and the new linker file of the xc32 and mplabx aren't compatible.
Any hint on how to make it working?
Best regards,
Davide
Hello Davide,
Sorry for this very very late answer... not too late, I hope.
In the linker map files there is a part of the code (lines 34 and 35) I've commented to make it compatible with C32 compiler (at first those files were for XC32 compiler).
You can try to uncomment them ?
Must become:
Best regards.