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 identical boards in the dropdown board list (Read 1058 times)
trilu2000
Newbies
*
Offline


Posts: 4
Location: Munich
Joined: Apr 5th, 2013
identical boards in the dropdown board list
Jan 15th, 2021 at 5:26pm
Print Post  
Hi all,
I have installed a boards package via the board manager. The first entries look good and work. Further down, there are a lot of identical entries that lead to an error when compiling.
The additional entries are not displayed in the arduino ide.

How can i remove these entries?
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: identical boards in the dropdown board list
Reply #1 - Jan 15th, 2021 at 6:20pm
Print Post  
Hi,

Those are section names from the unserlying hardware definition file. Visual Micro should be ignoring them, they are not boards, just titles.

Please follow the guide in yellow above so that we can see which packages you have installed, also confirm the .json index file names that appear on the IDE Locations window.

Thanks for the report.
« Last Edit: Jan 15th, 2021 at 6:20pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
trilu2000
Newbies
*
Offline


Posts: 4
Location: Munich
Joined: Apr 5th, 2013
Re: identical boards in the dropdown board list
Reply #2 - Jan 16th, 2021 at 10:04am
Print Post  
Many thanks Tim.
I have seen the issue with two board packets so far, the one was the radino, the other one was the mightycore pack.
radino: http://library.radino.cc/Arduino_1_8/package_radino_radino32_index.json
mightycore: https://mcudude.github.io/MightyCore/package_MCUdude_MightyCore_index.json
Please find the report for radino enclosed.

Seems there is a further error if i compile:
Code
Select All
cc1.exe*: error: -fno-fat-lto-objects are supported only with linker plugin 


Within the Arduino IDE it is compiling without any issue.
Please let me know if you need further information and again a big thanks for looking into - i really love visual micro and the option of using Visual Studio for Arduinos.
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
trilu2000
Newbies
*
Offline


Posts: 4
Location: Munich
Joined: Apr 5th, 2013
Re: identical boards in the dropdown board list
Reply #3 - Jan 16th, 2021 at 10:05am
Print Post  
and the verbose log for mightycore
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2174
Joined: Feb 13th, 2019
Re: identical boards in the dropdown board list
Reply #4 - Jan 18th, 2021 at 12:21pm
Print Post  
While we investigate further, to work around the issue with the Radino Compilation:
1) Right Click on the project in Solution Explorer
2) Add > Add Local Board.txt
3) Add the below entry to the file and save it
Code
Select All
} 


4) Try building again
  
Back to top
 
IP Logged
 
trilu2000
Newbies
*
Offline


Posts: 4
Location: Munich
Joined: Apr 5th, 2013
Re: identical boards in the dropdown board list
Reply #5 - Jan 19th, 2021 at 7:28am
Print Post  
many thanks - it is compling without any issue now!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint