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 resolving names (Read 1364 times)
davidbal
Junior Member
**
Offline


Posts: 29
Joined: Dec 20th, 2015
resolving names
Jul 24th, 2021 at 3:31pm
Print Post  
It has been a while since I have used Visual Micro. I am using STM32 for a project in Arduino mode. I have been able to upload and run test programs, however, I see some errors in the editor that seem to compile ok.
I am using TX1/RX and TX2/RX2, so define the ports using HardwareSerial. However, the editor complains that HardwareSErial is not defined. I also have functions and constant shown as undefined... red wavy line under the text. But all compiles and uploads ok.

What have I forgotten to configure. I tried an include file for the functions...

Regards,

David
  

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


Posts: 29
Joined: Dec 20th, 2015
Re: resolving names
Reply #1 - Jul 25th, 2021 at 12:43pm
Print Post  
It looks like the stm32duino installation wasn't complete. I couldn't get stm32 realtime clock to be recognised.
I followed this: https://github.com/stm32duino/wiki/wiki/Getting-Started which had a more up to date json link than I was using, instead of other notes!

All seems good now...

I had to add the long include to get the serial port Pins to be recognised.

Regards,

David


  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint