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 define AVR_2560 greyed out in library (Read 804 times)
Henk Levels
Junior Member
**
Offline


Posts: 71
Joined: Sep 28th, 2015
define AVR_2560 greyed out in library
May 23rd, 2022 at 1:33pm
Print Post  
Hi,

see attachment. I use Visual Studio 2017. As board I have selected a Arduino Mega2560. However When I look in the Library the code for the 2560 is still greyed out and the wrong pins for SPI will be used.
How and where can I select for the SPI pins to be used for the 2560 board, so that these are not greyed out.
Thanks
  

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


Posts: 2145
Joined: Feb 13th, 2019
Re: define AVR_2560 greyed out in library
Reply #1 - May 23rd, 2022 at 1:53pm
Print Post  
Thanks for the report, this seems to be working on our setup correctly.

Can you attach a full build log with the options shown at the top of the page enabled so we can replicate the environment and see further details about your setup?
  
Back to top
 
IP Logged
 
Henk Levels
Junior Member
**
Offline


Posts: 71
Joined: Sep 28th, 2015
Re: define AVR_2560 greyed out in library
Reply #2 - May 23rd, 2022 at 2:46pm
Print Post  
Hi, I made a new project and copied and pasted the code. Now the 2560 board is selected. I'm not an expert, but I think it happend due to the fact that it was an old program which I loaded from years ago.
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2145
Joined: Feb 13th, 2019
Re: define AVR_2560 greyed out in library
Reply #3 - May 23rd, 2022 at 3:15pm
Print Post  
Thanks for the update and glad to hear it is working correctly now.

If it happens again in the future, selecting a non-AVR board, then re-selecting the ATMega2560 may also resolve the intellisense issue.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint