1The board is not an STM32
Choose an STM32 F4 board, such as the Black Pill (F411) or the Nucleo-F411RE, and include stm32f4xx_hal.h. Mokxi has the HAL for both.
#include "stm32f4xx.h"
void setup() {
Serial.begin(9600);
}
void loop() {
}#include "stm32f4xx_hal.h"
void setup() {
Serial.begin(9600);
HAL_Init();
Serial.println("hal ready");
}
void loop() {
}Mokxi’s build tab says: stm32f4xx.h is for boards that have it: the STM32 Nucleo-F411RE and the STM32 Black Pill (STM32F411).