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 Help with Arduino with CubeCell (Read 1320 times)
fitch
Newbies
*
Offline


Posts: 9
Joined: Apr 21st, 2015
Help with Arduino with CubeCell
Apr 25th, 2023 at 4:06pm
Print Post  
Hello,
Newbee here...  I installed VS Studio 2022 Community.  I installed Arduino IDE 2.10.  I installed VSMicro and I believe it is 22.11.28.24.  I installed the additional Arduino board package CubeCell Development Framework by Heltec Automation.  I have built several of the examples for my development board, the HTCC-AB01-V2 using Arduino and all seems fine.

First problem I ran into with VXMicro is that after opening one of the example files is that it missed some include directories for the GCC compiler.  I added the following to the project properties include directories to resolve this issue:
ne-eabi\8-2019-q3\arm-none-eabi\include

Now I can build from VSMicro!

The other remaining issue is that when I try to examine the definition of a function (F12), I am taken to the .h file not the .cpp file.  This may be more of a Visual Studio issue but I have not been able to find a solution for it.  For what it is worth, the Arduino IDE has the same issue.  However, using PlatformIO inside VSCode, it does not suffer from the same problem.

Questions:
1.  What did I do wrong in my installation that resulted in the missing include directive?
2.  How do I fix the navigation issue?

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Help with Arduino with CubeCell
Reply #1 - Apr 25th, 2023 at 4:24pm
Print Post  
Hi,

The paths that you added are for intellisense only, arduino builds don't use vs project properties.

1)

Can we assume that you thought the intellisense errors would prevent the build from working? It's the other way around for arduino. The results of the build are then fed back into intellisense paths by Visual Micro. This means the paths that you changed should be considered readonly becaue your changes will be been overwitten after the build completed.

2)

If you click the "vMicro>Show hiden files" menu it will add short cuts to underlying core and library sources. That will help the F12. The shortcuts have no affect on the build process, again for intellisense only. Click the menu a 2nd time or delete the shortcuts to remove them again.

If you have any other questions or still an issue please follow the guide in yellow at the top of this page.
« Last Edit: Apr 25th, 2023 at 4:31pm by Tim@Visual Micro »  
Back to top
IP Logged
 
fitch
Newbies
*
Offline


Posts: 9
Joined: Apr 21st, 2015
Re: Help with Arduino with CubeCell
Reply #2 - Apr 26th, 2023 at 2:45am
Print Post  
Thank you so much!  I took one of my examples fresh, and indeed it built fine with VSMicro.  I then enabled the hidden files and was able to navigate to the proper functions using F12.  Your help is much appreciated.  Your help was clear and very prompt.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint