Monday, June 09, 2008

    Using C32's Multilib when building a project from MPLAB IDE

    Hopefully, most MPLAB C Compiler for PIC32 MCUs users know that the toolchain supports multilibs, target libraries built under a permutated set of options. To take advantage of these libraries when building a project under MPLAB IDE, be sure to set the library-selection options under the linker's build options as shown in the MPLAB IDE 8.10 screenshot below.


    If you don't set these options, you will get the default unoptimized libraries. In many (if not most) cases, you'll want an optimized version of these libraries.

    You can read more about multilibs in the MPLAB C32 User's Guide.

    No comments: