On Sun, Jan 6, 2013 at 2:09 AM, veegee wrote: > Hi all, > > If I am using open source tools like GNU binutils (as, ld, objcopy) to > write and create code for the PIC32, how would I go about setting the > config bits? Since I configured binutils for generic cross-mipsel, it > wouldn't have PIC32 specific config directives. > > As far as I understand, the config bytes are just static data in the > boot flash section of the PIC32. Keeping that in mind, would it be > possible, perhaps to just specify a static data address somewhere in the > assembler source or linker script? Don't know how though. > > Hoping someone can shed some light on this! It would be nice to have a > fully open source *complete* toolchain for the PIC32. Why not use xc32 itself? It is now available under Windows, Linux and Mac OS X. Okay, the optimization is not as good as the full version after the evaluation time out, but the basic gcc optimization will still be there. If not, what about build xc32 (or C32) compiler by yourself using the source codes? Eg: http://www.microchip.com/forums/m692454.aspx http://www.microchip.com/forums/m579695.aspx http://www.microchip.com/forums/m460901.aspx Technically you may still not able to use Microchip header files and library files, but you can install xc32 under Linux and the use those files. --=20 Xiaofan --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .