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 Visual Micro doesn't work with RFdruino (Read 7043 times)
Jeff B
Newbies
*
Offline


Posts: 7
Location: Rome, GA
Joined: Dec 9th, 2012
Visual Micro doesn't work with RFdruino
Feb 9th, 2014 at 3:02pm
Print Post  
RFdruino compiles fine with the Arduino IDE 1.5.5-r2 but I get the following error while attempting to compile with latest version of Visual Micro and Atmel 6:

Sizer return null data: "C:\Program Files (x86)\Arduino1.5.x/hardware/arduino/RFduino/size.bat" "C:\Program Files (x86)\Arduino1.5.x/hardware/tools/g++_arm_none_eabi/bin/arm-none-eabi-size" -A aboomi_Rfdruino_V1.elf"

Other sketches compile fine.
Any ideas?

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


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Micro doesn't work with RFdruino
Reply #1 - Feb 9th, 2014 at 8:45pm
Print Post  
Sorry didn't realize you deleted your original post, please ignore other notifications ...

The problem is something that the RFduino team might want to take a look at changing. The .bat syntax the have defined to allow us to establish the size of the compiled program fails, not just for Visual Micro but also when using windows command prompt. 

The problem is the double quotes around the name of the .elf

this is how it is in the arduinoide\hardware\arduino\RFduino\platform.txt

Code
Select All
recipe.size.pattern="{size.script.path}/{size.script.cmd}" "{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf"
 



remove the quotes from "{build.path}/{build.project_name}.elf"  as follows:-
Code
Select All
recipe.size.pattern="{size.script.path}/{size.script.cmd}" "{compiler.path}{compiler.size.cmd}" -A {build.path}/{build.project_name}.elf 



The platform.txt can be edited with any text editor such as notepad++. Find recipe.size.pattern=, make the change, click save then re-start any ide's

Can you report this to the RFduino team? The fact that it fails in command prompt makes it a worthwhile change for them.

Thanks
« Last Edit: Feb 9th, 2014 at 9:03pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Jeff B
Newbies
*
Offline


Posts: 7
Location: Rome, GA
Joined: Dec 9th, 2012
Re: Visual Micro doesn't work with RFdruino
Reply #2 - Feb 9th, 2014 at 11:46pm
Print Post  
Thanks Tim. That fixed it.
I will be glad to report the problem to the RFdruino team.

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


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Micro doesn't work with RFdruino
Reply #3 - Feb 9th, 2014 at 11:47pm
Print Post  
Thanks
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint