Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Problem with reading platform.txt elf linker option for mpide (Read 4510 times)
Cpx
Newbies
*
Offline


Posts: 5
Joined: Mar 31st, 2015
Problem with reading platform.txt elf linker option for mpide
Apr 10th, 2015 at 2:31pm
Print Post  
There is a problem with reading platform.txt for mpide linker options "compiler.c.elf.flags="
Visual micro always reads "-Os -Wl,--gc-sections -mdebugger" as displayed with verbose messages on".
Mpide reads the new options correctly, so this seems like a visual micro bug or i a missing something?
Adding the flags in boards.txt generates duplicates errors so that is not an option.
Thanks. Smiley


  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Problem with reading platform.txt elf linker option for mpide
Reply #1 - Apr 10th, 2015 at 2:50pm
Print Post  
Hi,

We are a bit out of date with mpide which released a new ide a few months ago.

Hopefully we can review it over the next week or so.

Which board are you using?

Thanks
  
Back to top
IP Logged
 
Cpx
Newbies
*
Offline


Posts: 5
Joined: Mar 31st, 2015
Re: Problem with reading platform.txt elf linker option for mpide
Reply #2 - Apr 10th, 2015 at 3:23pm
Print Post  
I am now using Max32 because as you probably remember from my previous post WiFire is also not supported by visual micro Cry.

  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Problem with reading platform.txt elf linker option for mpide
Reply #3 - Apr 10th, 2015 at 3:39pm
Print Post  
Okay sounds like it needs some work.

The currently supported version is displayed at the bottom of our mpide page.

http://www.visualmicro.com/page/ChipKit-Pic32-and-MPIDE-in-Visual-Studio.aspx

Thanks
  
Back to top
IP Logged
 
Cpx
Newbies
*
Offline


Posts: 5
Joined: Mar 31st, 2015
Re: Problem with reading platform.txt elf linker option for mpide
Reply #4 - Apr 10th, 2015 at 4:06pm
Print Post  
I am using that exact version 21.08.1014. I also tried newer versions but the problem is the same.After further testing it seems that platform.txt is not read at all, if i delete it i get no error and it compiles with default values.
Is there any workaround to change linker options?How can i change default compile/link options in visual micro?
Thanks a lot for your time Wink.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Problem with reading platform.txt elf linker option for mpide
Reply #5 - Apr 10th, 2015 at 4:24pm
Print Post  
Strange. If I recall we don't use the mpide platform.txt because it isn't an arduino format file. It always amazes me that companies take the arduino code then try to make their own non-standard mechanism.

I am just finishing up some changes for the next release. As soon as they are done I will re-test mpide.

The platform.txt that Visual Micro uses will be under visual micro program files/Micro Platforms/MpIde/Pic32
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint