Created Thu, 07 Jul 2011 17:47:42 +0000 by lloyddean
Thu, 07 Jul 2011 17:47:42 +0000
A friend recently purchased several PICkit 3 Debug Express packages. I see nothing that indicates it supports C++ development as the Mpide IDE does.
My question is are the two development platforms, targeting the chipKit, object file compatible? Can I "link" files generated by one against the other?
EDIT: One seems to use the PIC18F45k20 and the other a PIC32MX795F512 so the answer is likely - "what, are you some kind of idiot?"
Fri, 08 Jul 2011 02:43:38 +0000
MPIDE uses gcc compiler and therefore gcc object files. The compiler can be used standalone with command line or with make. If you can link with gcc files, then you are good to go.
As far as using MPIDE with other boards, the answer is YES, it should work with ANY PIC32 there is. The only limit might be it wont work on chips smaller than 32K, And thats because I havent tried it on anything smaller.
To get it to work on other boards, a few things have be be done.
First, the bootloader has to be burned onto the target board. The source is on github and MPLAB is used to compile and burn the bootloader. I use MPLAB-X on a mac, but other versions should work as well.
If you using a chip that has not already been added to avrdude.conf, that has to be done.
Then you need to add a new entry to boards.txt and you will be able to program the board directly from MPIDE.
If anyone has a board they would like supported, let me know and I will do most of the above steps for you.