chipKIT® Development Platform

Inspired by Arduino™

Using linker scripts to program chipkit uno32 MPLABX

Created Sun, 21 Jun 2015 20:31:03 +0000 by atriaharsha


Sun, 21 Jun 2015 20:31:03 +0000

Hey I have been programming chipkit using MPLABX till now its going fine, able to generate the hex file and upload it to the board using avrdude. as advised in order to go throught this process we need 2 linker scripts, common and the board specific. C Program complies well with the linker script, but C++ program wont compile, it trows lot of error, most of the errors are realated to redefinition of previously defined symbols, How do i correct this ??


Tue, 19 Jan 2016 22:35:13 +0000

Hi atriaharsha,

I found this post while looking through old unanswered posts. I'm sorry you never got a response, but hopefully I can help in case you or anybody else is still stuck on this. Have you been able to fix the problem yet? You might try adding this code to your header files

##ifndef _MYFILE_H_
#define _MYFILE_H_