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 Linker error when compiling for Generic STM32F1 Series - STM32 Cores 1.8.0 (Read 1402 times)
Tr3s
Newbies
*
Offline


Posts: 3
Joined: May 22nd, 2018
Linker error when compiling for Generic STM32F1 Series - STM32 Cores 1.8.0
Dec 26th, 2019 at 11:26am
Print Post  
Hello,

I'm starting to do some tests with the STM32 Cores 1.8.0. I'm targeting the Generic STM32F1 series board.

My test Sketch is very simple:

Quote:

void setup()
{
     pinMode(PC13, OUTPUT);
}

void loop()
{ }


I'm currently using the latest VisualMicro version on Visual Studio 2019.

I've tried to Clean up the solution., started a new project, etc. Nothing seems to make the build go through.

On Arduino IDE, the same code with the same config seems to build just fine.

« Last Edit: Dec 26th, 2019 at 6:48pm by Tim@Visual Micro »  

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Linker error when compiling for Generic STM32F1 Series - STM32 Cores 1.8.0
Reply #1 - Dec 26th, 2019 at 6:46pm
Print Post  
Try with debug off to start with. switch the toolbar from Debug to Release

If still an issue please follow the guide above and attach as a .txt file. You need to switch on both options mentioned in the guide.  No point in also posting the output in the boddy of a message
« Last Edit: Dec 26th, 2019 at 6:47pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Tr3s
Newbies
*
Offline


Posts: 3
Joined: May 22nd, 2018
Re: Linker error when compiling for Generic STM32F1 Series - STM32 Cores 1.8.0
Reply #2 - Dec 26th, 2019 at 9:34pm
Print Post  
Hi Tim,

Thanks for the reply. Here you go, as requested, the output of the Build process in Release with the Show Build Properties and Verbose options active. 

Thanks in advance.
  

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Linker error when compiling for Generic STM32F1 Series - STM32 Cores 1.8.0
Reply #3 - Dec 27th, 2019 at 5:07pm
Print Post  
We are looking into an issue with the latest stm32 1.18 core. If you drop back to 1.17 it should work okay. We hope to publish an update over the next week or so.
  
Back to top
WWW  
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Linker error when compiling for Generic STM32F1 Series - STM32 Cores 1.8.0
Reply #4 - Dec 28th, 2019 at 8:14pm
Print Post  
Thanks for the posts. This is resolved in Visual Micro 1912.28 available here
https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES

The output of the prebuild event was not included in library discovery and compilation.

  
Back to top
WWW  
IP Logged
 
Tr3s
Newbies
*
Offline


Posts: 3
Joined: May 22nd, 2018
Re: Linker error when compiling for Generic STM32F1 Series - STM32 Cores 1.8.0
Reply #5 - Dec 30th, 2019 at 11:20am
Print Post  
Thank you very much!
 
I'm currently trying this version and so far so good, the tests are compiling successfully.

Best regards,
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint