Cannot compile sketch with STM32F1 BluePill board
-
I am trying to compile a sketch with mysensors library for a generic STM32F1 BluePill C8 board.
Arduino IDE throughs me following error: "\Arduino\Sketches\libraries\MySensors/MySensors.h:84:2: error: #error Hardware abstraction not defined (unsupported platform)"
I have installed the STM32 board definitions from ST.
Defined board: "Generic STM32F1 series" in the Arduino IDE.
To my knowledge should the mysensors library work with STM32F1 boards.
Any idea where the problem could be? -
I am trying to compile a sketch with mysensors library for a generic STM32F1 BluePill C8 board.
Arduino IDE throughs me following error: "\Arduino\Sketches\libraries\MySensors/MySensors.h:84:2: error: #error Hardware abstraction not defined (unsupported platform)"
I have installed the STM32 board definitions from ST.
Defined board: "Generic STM32F1 series" in the Arduino IDE.
To my knowledge should the mysensors library work with STM32F1 boards.
Any idea where the problem could be? -
I am using the lastest version of the board definition "Arduino Core for STM32 2.10.1". Do I have to use the older 2019.12.8 definitions ?
-
@tnick I know this is an old post, but if it helps you - I've created support for STM32 based on latest STM32duino here. It's currently made to be backward compatible for the existing STM32F1 support, which is what you are struggling. But with a small change you can use the new STM32 HAL support. Let me know if you are interested to give it a try.
The longer term plan is to remove the existing (old) STM32F1 support in favor of the new and more general STM32 support. (If @mfalkvidd agrees ;-))
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login