While you may have luck here, I would suggest mailing the maintainers of the MIPS branch of GCC. (or whatever tool your using) They ought to helpful if its as simply making a linker script to include a few config words at a specific address. Unfortunately, I've never had much luck with using open source toolchains for embedded use, but you seem to be quite a bit father than me. Good luck, post findings On Sat, Jan 5, 2013 at 1:09 PM, 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. > > - V G > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist --=20 Jason White --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .