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
Redbear Duo with Visual Micro (Read 7534 times)
Bill Skeen
Newbies
*
Offline



Posts: 6
Austin, TX
Redbear Duo with Visual Micro
May 31st, 2016 at 9:24pm
 
I tried:

http://www.visualmicro.com/page/Configure-RedBearLabs-for-Arduino.aspx

but could not get the Redbear to show up like the RfDuino does. RedBear does show up in my Arduino 1.6.9 IDE.

Any help appreciated.

Bill
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10340
United Kingdom
Re: Redbear Duo with Visual Micro
Reply #1 - Jun 1st, 2016 at 1:46pm
 
This was a bug in Visual Micro for any hardware that defined a single platform as opposed to multiple (such as avr/sam)

You should see an update in  VS in a few days

Back to top
 
WWW  
IP Logged
 
Bill Skeen
Newbies
*
Offline



Posts: 6
Austin, TX
Re: Redbear Duo with Visual Micro
Reply #2 - Jun 1st, 2016 at 9:06pm
 
Thanks for the quick turn-around, great service and great product.

Bill
Back to top
 
 
IP Logged
 
Bill Skeen
Newbies
*
Offline



Posts: 6
Austin, TX
Re: Redbear Duo with Visual Micro
Reply #3 - Jun 10th, 2016 at 1:15am
 
I downloaded the latest release today. Installed the RedBears Labs boards. The nano and others show up but the RedBear Duo still does not show up like it does in the Arduino IDE. Any idea what am I doing wrong?

I think I see what the problem is. The url with all the boards:
https://github.com/arduino/Arduino/wiki/Unofficial-list-of-3rd-party-boards-supp...

Has this link:
https://redbearlab.github.io/arduino/package_redbearlab_index.json

The link for the Duo boards is in:
https://redbearlab.github.io/arduino/package_redbear_index.json

but not listed.
Back to top
« Last Edit: Jun 10th, 2016 at 8:01pm by Visual Micro »  
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10340
United Kingdom
Re: Redbear Duo with Visual Micro
Reply #4 - Jun 10th, 2016 at 9:17pm
 
I've found the issue was because the boards array in the package wasn't an array but a single board.

The board shows now and compiles okay so I will produce a release probably later today.

However it will be useful if you can raise a ticket on the redbear site to ask why the crc32 hook runs painfully slowly (5-10 secs) unless the quotes are removed (0.1 secs) from the "{compiler.path}"

I agree that there should be quotes because path names can contain spaces so the question is why do they cause such a long delay.

btw: I tried running my tests (using the verbose compiler output) outside of visual micro from the command prompt.

Code:
## Add CRC32
recipe.hooks.postbuild.0.pattern="{runtime.platform.path}/tools/crc32/{runtime.os}/sh" "{runtime.platform.path}/tools/crc32/{runtime.os}/crc32.sh" "{build.path}/{build.project_name}.bin" "{runtime.platform.path}/tools/crc32/{runtime.os}" "{compiler.path}"
 



Thanks
Back to top
« Last Edit: Jun 10th, 2016 at 9:18pm by Visual Micro »  
WWW  
IP Logged
 
Bill Skeen
Newbies
*
Offline



Posts: 6
Austin, TX
Re: Redbear Duo with Visual Micro
Reply #5 - Jun 11th, 2016 at 12:45pm
 
I will post a comment on their forum now with a link to this thread.

I also sent an email directly to them.

Back to top
« Last Edit: Jun 11th, 2016 at 12:53pm by Bill Skeen »  
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10340
United Kingdom
Re: Redbear Duo with Visual Micro
Reply #6 - Jun 11th, 2016 at 1:47pm
 
It's working quickly today even with the quotes so see how it goes for you
Back to top
 
WWW  
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10340
United Kingdom
Re: Redbear Duo with Visual Micro
Reply #7 - Jun 11th, 2016 at 11:06pm
 
I think I managed to get the intellisense working well enough and hopefully the debug also works.

Please try 1606.11 when you get a mo.

I still see some intellisense errors in the "Error List" they can be filtered out but an indication that more work is required.

I want to move to using the new Visual Studio Clang system asap. That should remove the need to mess with the intellisense for each major architecture change and also give a better result.
Back to top
 
WWW  
IP Logged
 
Bill Skeen
Newbies
*
Offline



Posts: 6
Austin, TX
Re: Redbear Duo with Visual Micro
Reply #8 - Jun 12th, 2016 at 2:42pm
 
Awesome!!

I can now see the RedBear Duo in the boards dropdown. Loaded one of my projects and it compiled. When I get to work tomorrow morning, I will test the debugger and post the results.

Thank you very much for the quick turn-around on this.  Grin
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10340
United Kingdom
Re: Redbear Duo with Visual Micro
Reply #9 - Jun 16th, 2016 at 11:50pm
 
Hi Bill, did the upload and program work okay? Thanks
Back to top
 
WWW  
IP Logged
 
Bill Skeen
Newbies
*
Offline



Posts: 6
Austin, TX
Re: Redbear Duo with Visual Micro
Reply #10 - Jul 31st, 2016 at 4:17am
 
Wow!. Has it really been a month and a half since I was last here? Yes, it is working great! I have been arses and elbows working with it since I last downloaded.

Thanks for all the help.
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print