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
Hot Topic (More than 8 Replies) STM32 project compiles but wierd Intellisense issue (Read 1049 times)
IanJohnston
Junior Member
**
Offline


Posts: 15
Joined: Jun 22nd, 2024
STM32 project compiles but wierd Intellisense issue
Jun 26th, 2024 at 12:09pm
Print Post  
I have an Arduino IDE project that I am porting over to VM (VS2022).

STM32L152RE (using LQFP64 package)
128KB Flash, 32KB SRAM, 4KB EEprom, LCD, USB, ADC, DAC

Without any code changes the project compiles fine, a .bin file is produced no errors.

However, VS GUI makes it look like there are issues, I think Intellisense possibly has a problem.
Even some of the header comments at the very top of some of my .INO's have a red dot.

Code (C++)
Select All
// Digital Pins
#define Pwr_Mon_PIN PA12	// PB signal to CPU
#define Pwr_Out_PIN PA3		// Shutdown
#define ICHG_Out_PIN PA8	// Charge IC disable
#define CHGVL_PIN PA11	    // DC input detected via VL pin on battery charge IC
#define ButtEnter_PIN PB0	// Button Enter
#define ButtLeft_PIN PB1	// Button Left
#define ButtUp_PIN PC7		// Button Up
#define ButtRight_PIN PC8	// Button Right
#define ButtDown_PIN PC9	// Button Down
#define CommsLED_PIN PB8	// Comms LED
#define PC13LED_PIN PC13	// PC13 LED	(used by bootloader also) 



I did notice that before I compiled the OUTPUT window mentioned something about too many Intellisense issues listed.

Screenshot:
Note that ButtEnter_PIN has the red dots under it, and the issue in the wee pop-up.......but further down the same Pin VAR has no issue.
There are a few other PIN vars with the same issue, only some of the digital pins, not all and no other pins or code.

Ian.
« Last Edit: Jun 26th, 2024 at 12:13pm by IanJohnston »  

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


Posts: 2431
Joined: Feb 13th, 2019
Re: STM32 project compiles but wierd Intellisense issue
Reply #1 - Jun 26th, 2024 at 12:35pm
Print Post  
Thanks for the report, can you attach the complete build output with the options set shown at the top of the page so we can investigate this further?
  
Back to top
IP Logged
 
IanJohnston
Junior Member
**
Offline


Posts: 15
Joined: Jun 22nd, 2024
Re: STM32 project compiles but wierd Intellisense issue
Reply #2 - Jun 26th, 2024 at 12:55pm
Print Post  
As attached:
  

Please Register or Login to the Forum to see File Attachments
Back to top
IP Logged
 
IanJohnston
Junior Member
**
Offline


Posts: 15
Joined: Jun 22nd, 2024
Re: STM32 project compiles but wierd Intellisense issue
Reply #3 - Jun 26th, 2024 at 12:55pm
Print Post  
As attached.

  

Please Register or Login to the Forum to see File Attachments
Back to top
IP Logged
 
IanJohnston
Junior Member
**
Offline


Posts: 15
Joined: Jun 22nd, 2024
Re: STM32 project compiles but wierd Intellisense issue
Reply #4 - Jun 26th, 2024 at 7:33pm
Print Post  
An observation, it's the first listed that is marked as having a problem.
See attached.

  

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


Posts: 2431
Joined: Feb 13th, 2019
Re: STM32 project compiles but wierd Intellisense issue
Reply #5 - Jun 26th, 2024 at 7:43pm
Print Post  
Thanks for the update, and believe that can be a side effect when there are many intellisense errors.

We have a fix in progress for the PIN_A3 elements not being recognised, and will check for as many other issues as we can.

We will update this thread when the fix is released, hopefully in the coming 48hrs.
  
Back to top
IP Logged
 
IanJohnston
Junior Member
**
Offline


Posts: 15
Joined: Jun 22nd, 2024
Re: STM32 project compiles but wierd Intellisense issue
Reply #6 - Jun 26th, 2024 at 7:57pm
Print Post  
Found some references online....apparently this issue was rife.

https://github.com/arduino/arduino-ide/issues/220

Ian.
  
Back to top
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2431
Joined: Feb 13th, 2019
Re: STM32 project compiles but wierd Intellisense issue
Reply #7 - Jun 27th, 2024 at 5:00pm
Print Post  
Thanks for the update and additional information.

We have a fix in the latest release (24.0620.02) available on the forum board below:
https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES
  
Back to top
IP Logged
 
IanJohnston
Junior Member
**
Offline


Posts: 15
Joined: Jun 22nd, 2024
Re: STM32 project compiles but wierd Intellisense issue
Reply #8 - Jun 27th, 2024 at 6:27pm
Print Post  
Fixed thanks......

Ian.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint