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 Visual micro and STM Boards error (Read 3788 times)
YO_BE
Newbies
*
Offline


Posts: 9
Joined: Jan 4th, 2016
Visual micro and STM Boards error
Mar 13th, 2016 at 11:47am
Print Post  
Hello, 
I successfully installed STM boards (cores) on Arduino IDE 1.6.4.
Loading and compiling the "Blink" program works perfect for STM32F103VC + download with J-link

But when I use Visual Studio + visual micro I get a compilation error. 

Any idea what can be the problem??

This is the error

Compiling 'Blink' for 'Generic STM32F103V series'
     Process: "{runtime.tools.arm-none-eabi-gcc.path}\bin\arm-none-eabi-gcc" -c -g -x assembler-with-cpp -MMD -mcpu=cortex-m3 -DF_CPU=72000000L -DARDUINO=10604 -DARDUINO_GENERIC_STM32F103V -DARDUINO_ARCH_STM32F1 -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG=1 -DSERIAL_USB -DGENERIC_BOOTLOADER -DMCU_STM32F103VC -mthumb -march=armv7-m -D__STM32F1__ -DMCU_STM32F103VC -mthumb -march=armv7-m -D__STM32F1__ _STM32\STM32F1\system/libmaple" _STM32\STM32F1\system/libmaple/include" _STM32\STM32F1\system/libmaple/stm32f1/include" _STM32\STM32F1\system/libmaple/usb/stm32f1" _STM32\STM32F1\system/libmaple/usb/usb_lib" _STM32\examples\Digital\Blink" _STM32\STM32F1\cores\maple" _STM32\STM32F1\variants\generic_stm32f103v" TM32\STM32F1\cores\maple\libmaple\exc.S" -o .S.o"  
     Process: "{runtime.tools.arm-none-eabi-gcc.path}\bin\arm-none-eabi-gcc" -c -g -x assembler-with-cpp -MMD -mcpu=cortex-m3 -DF_CPU=72000000L -DARDUINO=10604 -DARDUINO_GENERIC_STM32F103V -DARDUINO_ARCH_STM32F1 -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG=1 -DSERIAL_USB -DGENERIC_BOOTLOADER -DMCU_STM32F103VC -mthumb -march=armv7-m -D__STM32F1__ -DMCU_STM32F103VC -mthumb -march=armv7-m -D__STM32F1__ _STM32\STM32F1\system/libmaple" _STM32\STM32F1\system/libmaple/include" _STM32\STM32F1\system/libmaple/stm32f1/include" _STM32\STM32F1\system/libmaple/usb/stm32f1" _STM32\STM32F1\system/libmaple/usb/usb_lib" _STM32\examples\Digital\Blink" _STM32\STM32F1\cores\maple" _STM32\STM32F1\variants\generic_stm32f103v" TM32\STM32F1\variants\generic_stm32f103v\wirish\start.S" -o rt.S.o"  
Error compiling core
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual micro and STM Boards error
Reply #1 - Mar 13th, 2016 at 1:25pm
Print Post  
Hi,

I think Arduino 1.6.4 has a change config during transition to the new boards manager.

I suggest upgrading to a newer version of the Arduino Ide, 1.6.4 is quite old now.
  
Back to top
IP Logged
 
YO_BE
Newbies
*
Offline


Posts: 9
Joined: Jan 4th, 2016
Re: Visual micro and STM Boards error
Reply #2 - Mar 14th, 2016 at 2:50am
Print Post  
Hi,

thanks, but to run the STM32 boards in the Arduino IDE environment you cant upgrade higher than 1.6.5.

So 1.6.4 works fine for these STM32 boards but only when used with visual Micro/studio environment it gives errors.

No idea what the root cause could be...? Otherwise Im stuck to the Arduino environment and I prefer the Visual Studio.....
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual micro and STM Boards error
Reply #3 - Mar 14th, 2016 at 11:02am
Print Post  
Did you try 1.6.5? If that fails I will look into it.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint