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 IntelliSense does not find files for the Z-Uno2 board (Read 1660 times)
duch
Newbies
*
Offline


Posts: 4
Location: Poland
Joined: May 23rd, 2024
IntelliSense does not find files for the Z-Uno2 board
May 24th, 2024 at 2:45am
Print Post  
I installed the support for Z-Uno2 (Beta) v3.0.12 board in the original IDE after completing "Additional boards manager URLs":
https://z-uno.z-wave.me/files/z-uno2/package_z-wave2.me_beta_index.json

IntelliSense does not find files for the Z-Uno2 board. However, compilation works without problems.

PostScriptum:
IntelliSense does not work with both beta and non-beta Z-Uno board support with both selected Arduino 2.0 and selected Arduino 1.6/1.8. The compilation of the non-beta version up to 3.0.10 of Z-Uno board support does not work with original IDEs newer than 1.8.19. URL for non-beta version: https://z-uno.z-wave.me/files/z-uno2/package_z-wave2.me_index.json
« Last Edit: Jun 26th, 2024 at 11:09pm by duch »  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2695
Joined: Feb 13th, 2019
Re: IntelliSense does not find files for the Z-Uno2 board
Reply #1 - May 24th, 2024 at 6:27am
Print Post  
Thanks for the report.

We will look into how we can cater for this board package, as it doesn't use a GCC compiler so we cannot dynamically generate the information required for Intellisense as we do for other boards.
  
Back to top
IP Logged
 
duch
Newbies
*
Offline


Posts: 4
Location: Poland
Joined: May 23rd, 2024
Re: IntelliSense does not find files for the Z-Uno2 board
Reply #2 - Jun 12th, 2024 at 11:27am
Print Post  
Simon@Visual Micro wrote on May 24th, 2024 at 6:27am:
Thanks for the report.

We will look into how we can cater for this board package, as it doesn't use a GCC compiler so we cannot dynamically generate the information required for Intellisense as we do for other boards.

From what I see, the board it uses gcc, more precisely "arm-none-eabi-gcc". Is there a way to get around the problem by adding some paths manually?
« Last Edit: Jun 12th, 2024 at 11:45am by duch »  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2695
Joined: Feb 13th, 2019
Re: IntelliSense does not find files for the Z-Uno2 board
Reply #3 - Jun 12th, 2024 at 1:07pm
Print Post  
Where are you seeing the arm-none-eabi-gcc information out of interest?

From what we can see the arm-none-eabi-gcc tool is not used in the compilation process at all.

It all runs through the zme_make tool which is a CMake wrapper to our understanding, which we cannot request the same information from for intellisense like we can for GCC.

We will look at reinstating the manual intellisense configuration for this board package as there does not seem to be many other options.
  
Back to top
IP Logged
 
duch
Newbies
*
Offline


Posts: 4
Location: Poland
Joined: May 23rd, 2024
Re: IntelliSense does not find files for the Z-Uno2 board
Reply #4 - Jun 12th, 2024 at 9:21pm
Print Post  
Simon@Visual Micro wrote on Jun 12th, 2024 at 1:07pm:
Where are you seeing the arm-none-eabi-gcc information out of interest?

Because there is such this file folder "arm-none-eabi-gcc".

I was looking for information about gcc with z-uno and found the Z-uno plugin for Visual Studio Code. This is where IntelliSense works. Maybe this will come in handy. https://github.com/Z-Wave-Me/Z-Uno-VSCode-Plugin/blob/e0745ec1f31983afdd430504e8...
« Last Edit: Jun 12th, 2024 at 10:32pm by duch »  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2695
Joined: Feb 13th, 2019
Re: IntelliSense does not find files for the Z-Uno2 board
Reply #5 - Jun 13th, 2024 at 9:00am
Print Post  
Thanks for the update, and the detail.

We will review the VSCode plugin, and see if we can integrate the relevant elements.

Just to note the Intellisense doesn't seem to work well in the Arduino2 IDE either, as no code hints show for common functions, likely due to its very different way of working compared to most Arduino boards.
  
Back to top
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2695
Joined: Feb 13th, 2019
Re: IntelliSense does not find files for the Z-Uno2 board
Reply #6 - Jun 18th, 2024 at 9:10am
Print Post  
We have integrated some improvements for this board in the latest release (24.0607.02), and will continue to improve this in the future.

The latest release (24.0607.02) can be downloaded from the top of the below board:
https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES
  
Back to top
IP Logged
 
duch
Newbies
*
Offline


Posts: 4
Location: Poland
Joined: May 23rd, 2024
Re: IntelliSense does not find files for the Z-Uno2 board
Reply #7 - Jun 26th, 2024 at 9:07pm
Print Post  
I updated the VisualMicro. IntelliSense works almost good with the "Z-Uno2 (Beta)" board. Thank you
« Last Edit: Jun 26th, 2024 at 11:09pm by duch »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint