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 uint8_t identifiers, is undefined (intelisense) (Roger Clark's STM Core) (Read 1714 times)
Mangy_DogUK
Newbies
*
Offline


Posts: 4
Joined: Sep 7th, 2020
uint8_t identifiers, is undefined (intelisense) (Roger Clark's STM Core)
Sep 7th, 2020 at 1:24pm
Print Post  
This seems to be a rather old bug, going by google but I've yet to find an actual solution.

Im coming from the eclipse based IDE sloeber, looking for a new less fragile IDE to work in.

But so far both in Arduino cores and STM32 cores Im getting the undefined error when i use uint*_t or int*_t types.

The build still works however. 

Solution platform is set to x86, but there are no other options. 

If i go into platform configuration manager, select new and i can find ARM in the drop down. That also gives me the same error. 

Also in other tests intelisense auto completion doesnt work as well or as nicely as it does in sloebar. 

Tbh while I could like this.... im so far not convinced into paying to try this more... Even though eclipse can be a nightmare. 

The main reason that got me looking at this is debugging through swd (stlink)
« Last Edit: Sep 9th, 2020 at 9:18pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2174
Joined: Feb 13th, 2019
Re: uint8_t identifiers, is undefined (intelisense)
Reply #1 - Sep 7th, 2020 at 1:36pm
Print Post  
Would it be possible to attach the full build output as shown in the yellow box at the top so we can replicate your environment correctly to investigate?
  
Back to top
 
IP Logged
 
Mangy_DogUK
Newbies
*
Offline


Posts: 4
Joined: Sep 7th, 2020
Re: uint8_t identifiers, is undefined (intelisense)
Reply #2 - Sep 7th, 2020 at 2:07pm
Print Post  
I just made an empty sketch with a variable declaration

Code (C++)
Select All
/*
 Name:		Test.ino
 Created:	9/7/2020 3:01:12 PM
 Author:	Mangy_Dog
*/

// the setup function runs once when you press reset or power the board
void setup() {
	uint8_t testing = 0;
}

// the loop function runs over and over again until power down or reset
void loop() {

}
 

 

the uint8_t is doing the same undefined error, in intelisense.
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Mangy_DogUK
Newbies
*
Offline


Posts: 4
Joined: Sep 7th, 2020
Re: uint8_t identifiers, is undefined (intelisense)
Reply #3 - Sep 9th, 2020 at 9:55am
Print Post  
Simon@Visual Micro wrote on Sep 7th, 2020 at 1:36pm:
Would it be possible to attach the full build output as shown in the yellow box at the top so we can replicate your environment correctly to investigate?



HI its been a few days... I did as you asked...
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2174
Joined: Feb 13th, 2019
Re: uint8_t identifiers, is undefined (intelisense)
Reply #4 - Sep 9th, 2020 at 10:00am
Print Post  
Yes thanks for the log file, we are still working on this issue and will update as soon as an update or workaround is available.
  
Back to top
 
IP Logged
 
Mangy_DogUK
Newbies
*
Offline


Posts: 4
Joined: Sep 7th, 2020
Re: uint8_t identifiers, is undefined (intelisense)
Reply #5 - Sep 9th, 2020 at 5:08pm
Print Post  
Oh well, i guess it might be too late, my trial is about to run out.
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2174
Joined: Feb 13th, 2019
Re: uint8_t identifiers, is undefined (intelisense) (Roger Clark's STM Core)
Reply #6 - Sep 11th, 2020 at 10:00am
Print Post  
This should now be fixed in the latest release (20.09.10.1) which is available on the forum at the below board:
https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint