VS Arduino
Visual Micro >> Other Hardware >> Redbear Duo with Visual Micro
https://www.visualmicro.com/forums/YaBB.pl?num=1464726254

Message started by Bill Skeen on May 31st, 2016 at 8:24pm

Title: Redbear Duo with Visual Micro
Post by Bill Skeen on May 31st, 2016 at 8: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

Title: Re: Redbear Duo with Visual Micro
Post by Visual Micro on Jun 1st, 2016 at 12: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


Title: Re: Redbear Duo with Visual Micro
Post by Bill Skeen on Jun 1st, 2016 at 8:06pm
Thanks for the quick turn-around, great service and great product.

Bill

Title: Re: Redbear Duo with Visual Micro
Post by Bill Skeen on Jun 10th, 2016 at 12: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-support-urls

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.

Title: Re: Redbear Duo with Visual Micro
Post by Visual Micro on Jun 10th, 2016 at 8: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}"
[/code]

Thanks

Title: Re: Redbear Duo with Visual Micro
Post by Bill Skeen on Jun 11th, 2016 at 11:45am
I will post a comment on their forum now with a link to this thread.

I also sent an email directly to them.


Title: Re: Redbear Duo with Visual Micro
Post by Visual Micro on Jun 11th, 2016 at 12:47pm
It's working quickly today even with the quotes so see how it goes for you

Title: Re: Redbear Duo with Visual Micro
Post by Visual Micro on Jun 11th, 2016 at 10: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.

Title: Re: Redbear Duo with Visual Micro
Post by Bill Skeen on Jun 12th, 2016 at 1: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.  ;D

Title: Re: Redbear Duo with Visual Micro
Post by Visual Micro on Jun 16th, 2016 at 10:50pm
Hi Bill, did the upload and program work okay? Thanks

Title: Re: Redbear Duo with Visual Micro
Post by Bill Skeen on Jul 31st, 2016 at 3: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.

VS Arduino » Powered by YaBB 2.6.12!
YaBB Forum Software © 2000-2024. All Rights Reserved.