VS Arduino | |
Visual Micro >> Other Hardware >> Hologram Dash Intellisense support
https://www.visualmicro.com/forums/YaBB.pl?num=1495826235 Message started by maxolydian on May 26th, 2017 at 7:17pm |
Title: Hologram Dash Intellisense support Post by maxolydian on May 26th, 2017 at 7:17pm
I have a Hologram Dash processor (ARM) that I'm trying to program within VS2015/VM 1705.8.0, Arduino IDE 1.8.2.
Although I can get projects to compile in both the Arduino IDE and VS, the Intellisense in VS is messed up when I select the Dash in my boards dropdown. In particular, when using uint32_t, Intellisense properly recognizes it for "Arduino Uno" boards, but not for "Dash". As far as I can tell, I seem to be missing a #define in .<project>.vsarduino.h- maybe! The following code snippets follow the definitions of int32_t and uint32_t from .intelli.vsarduino.h through _default_types.h, stdint.h, and finally into my main intelli.ino file: Code (c++):
The __UINT32_TYPE__ in _default_types.h shows as undefined, which causes the rest of the following definitions to fail- but again, only in IntelliSense, not during actual compile. If I add the line Code (c++):
to .intelli.vsarduino.h, the typedefs in _default_types.h and stdint.h now show correct IntelliSense information, but my uint32_t variable declaration in intelli.ino is still not showing correctly in IntelliSense. It compiles correctly, but I think the vsarduino file gets regenerated before the compile, so I can't tell whether that would break the build or not. I have many questions LOL but I guess two two biggest are:
Sorry for the long-winded post, but I figure it's best to present as much (hopefully relevant!) information as I can up front. |
Title: Re: Hologram Dash Intellisense support Post by Visual Micro on May 26th, 2017 at 7:40pm
Thanks for the useful info.
The vsarduino is generated by visual micro both from installed files and can be customized. However the best solution is to tell me how to install your hardware so I can take a look and add automatic support for that type of board. |
Title: Re: Hologram Dash Intellisense support Post by Visual Micro on Jul 4th, 2017 at 11:09pm
Off-Topic replies have been moved to this Topic.
|
VS Arduino » Powered by YaBB 2.6.12! YaBB Forum Software © 2000-2024. All Rights Reserved. |