VS Arduino | |
Visual Micro >> Other Hardware >> APM 2.5+ on ArduRover 2.41
https://www.visualmicro.com/forums/YaBB.pl?num=1370544705 Message started by Bernard Drew on Jun 6th, 2013 at 6:51pm |
Title: APM 2.5+ on ArduRover 2.41 Post by Bernard Drew on Jun 6th, 2013 at 6:51pm
Hope this is the right forum for my question.
I have successfully compiled the ArduRover 2.41 code using the Arduino 1.0.3 software. After installing the Visual Micro plugin into Visual Studio Pro 2012. I attempted to compile the ArduRover code. The compile fails with 100 Intellisense errors. Can anyone give me an idea on how to correct this? Windows 7 Dell computer Visual Studio Professional 2012 Arduino 1.0.3 APM 2.5+ ArduRover 2.41 Thanks in advance, Bernard |
Title: Re: APM 2.5+ on ArduRover 2.41 Post by Visual Micro on Jun 6th, 2013 at 7:03pm
Hello Bernard,
The compiler and the intellisense are two entriely different systems. The intellisense window will always show some errors because we use the C++ engine of Visual Studio. However we are constantly working to improve it. I suggest you close the intellisense report window, hopefully most of the code does not show red underlines and you have intellisense when you type? If so then intellisense is working well enough (for now). As for the compiler, please press F5 or build and post the error you get Thanks |
Title: Re: APM 2.5+ on ArduRover 2.41 Post by Bernard Drew on Jun 6th, 2013 at 7:40pm
Thanks for the fast response.
Can I compile without being plugged into the APM? Here are the non-Intellisense errors. Error 101 avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_getsync(): timeout communicating with programmer These are the results after F5. Thanks, Bernard |
Title: Re: APM 2.5+ on ArduRover 2.41 Post by Bernard Drew on Jun 6th, 2013 at 7:43pm
Here are resutls after hitting F6 in VS.
Compiling 'APMrover2' for 'Arduino Mega 2560 HAL (Apm 2)' Binary sketch size: 161900 bytes (63% of a 258048 byte maximum) (29.96 secs) Also I did not receive any non-Intellisense errors. Does this mean success? Bernard |
Title: Re: APM 2.5+ on ArduRover 2.41 Post by Visual Micro on Jun 6th, 2013 at 8:35pm Quote:
Yes that is a successful compile Quote:
No you will not be able to press F5 and upload without a board connected. You also need to untick "Tools>Upload using programmer" otherwise when you do connect a board the upload will still fail. A lot of people tick this option thinking it is correct but it means that you have a special piece of hardware called a programmer. The standard upload will use USB and is not called a programmer. I know it is confusing, it is Arduino speak not Visual Micro speak :D |
Title: Re: APM 2.5+ on ArduRover 2.41 Post by Bernard Drew on Jun 6th, 2013 at 9:11pm
Thanks for your help. Will try uploading tomorrow.
Bernard |
VS Arduino » Powered by YaBB 2.6.12! YaBB Forum Software © 2000-2024. All Rights Reserved. |