Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
Support requests without the output above may be impossible to answer, so please help us to help you
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
RFDuino (Read 3237 times)
Thommy
Newbies
*
Offline



Posts: 2
RFDuino
Jun 10th, 2015 at 12:30pm
 
Hi,

i'm trying VM to get work with RFDuino in VisualStudio 2010.

I have installed the RFDuino Board Package via the Board Manager.
When i create a new Sketch i get a bunch of IntelliSense-Errrors and i am not able to compile it.

The error i get is :

Compiling 'xy' for 'RFduino'
Error running platform build action hooks.prebuild
System.ArgumentOutOfRangeException: Der Index lag außerhalb des Bereichs. Er muss nicht negativ und kleiner als die Auflistung sein.
Parametername: index
   bei System.ThrowHelper.ThrowArgumentOutOfRangeException()
   bei processing.app.SketchCompilerArduino.execAsynchronously(List`1 commandList)
   bei processing.app.SketchCompilerArduino.runRecipe(String recipe)
   bei processing.app.SketchCompilerArduino.runActions(String recipeClass)
Binary sketch size: 2.560 bytes (used 2% of a 131.072 byte maximum) (0,28 secs)
Error running platform build action hooks.postbuild
System.ArgumentOutOfRangeException: Der Index lag außerhalb des Bereichs. Er muss nicht negativ und kleiner als die Auflistung sein.
Parametername: index
   bei System.ThrowHelper.ThrowArgumentOutOfRangeException()
   bei processing.app.SketchCompilerArduino.execAsynchronously(List`1 commandList)
   bei processing.app.SketchCompilerArduino.runRecipe(String recipe)
   bei processing.app.SketchCompilerArduino.runActions(String recipeClass)


What can i do?

Thanks for help
Thommy
Back to top
 
 
IP Logged
 
Thommy
Newbies
*
Offline



Posts: 2
Re: RFDuino
Reply #1 - Jul 13th, 2015 at 12:31pm
 
Hi,

after a couple of weeks where i didn't had the time for that, i found the solution for the compiler errors.

In the platform.txt file there are entries for prebuild hook and postbuild hook with empty parameters.

I just commented them out and now it works fine.

Greetings
Thommy
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10464
United Kingdom
Re: RFDuino
Reply #2 - Jul 13th, 2015 at 11:08pm
 
Thanks for the update and I am sorry your original question was missed. Not sure how that happened!

I will plug that in the next release.

Thanks again!!
Back to top
 
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print