Compilation error with arduino for STM32F072.

Post here first, or if you can't find a relevant section!
Post Reply
rew
Posts: 1
Joined: Sun May 17, 2020 10:19 am

Compilation error with arduino for STM32F072.

Post by rew »

Hi,

I have my own STM32 boards, and it'd be nice to be able to run arduino sketches on them. So STM32 support seems to have matured a bit since I last looked at it so I decided to give it another try.

So my board had an STM32F072R on it, so downloaded latest arduino (1.8.12) and hit "install STM boards". So now I selected Nucleo64 from the boards menu and then the 072 from the "board part number". That has an STM32F0972R too.

But when I try to compile "blinky" I get:

Code: Select all

Error resolving FQBN: getting

Error compiling for board Nucleo-32.
which seems "cut off" and doesn't help me. Do I need to install something extra? (for a test It seems I copied the error from when I had nucleo-32 selected).
User avatar
fpiSTM
Posts: 1756
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: Compilation error with arduino for STM32F072.

Post by fpiSTM »

I think you have 2 cores installed that's why you get this issue.
So you have to check and delete the old one manually in the Arduino path where packaged are installed.
https://github.com/stm32duino/wiki/wiki ... re-sources
Post Reply

Return to “General discussion”