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?
-
@tnick which version of MySensors are you using?
Are you using the correct board definitions? STM32F1 2019.12.8 (stm32duino)
-
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 STM32F1 2019.12.8 (stm32duino) is the version that was active when the latest MySensors release was made. Later versions may or may not work; nobody would know until they tried.