Menu

Test on XC32 1.31

2014-05-19
2014-07-24
  • Davide Spazian

    Davide Spazian - 2014-05-19

    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

     
  • edorul

    edorul - 2014-07-24

    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 ?

    /*************************************************************************
     * 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.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.