HI,
Im trying to compile a simple arduino framework project using the ststm32 platform with the genericSTM32G431CB board. Im using nvim as the editor, and have already uninstalled a installed again platformio, removed cache etc …
i get the error in the include of the Arduino.h ate the beginning of mine main.cpp file:
Diagnostics:
1. In included file: "GCC version 6.3 or higher is required" [pp_hash_error]
This is my pio version:
> pio --version
PlatformIO Core, version 6.1.15
and gcc:
> pio pkg show toolchain-gccarmnoneeabi
platformio/toolchain-gccarmnoneeabi
Tool • 1.120301.0 • Public • Published on Fri Sep 22 12:46:29 2023
GNU toolchain for Arm Cortex-M and Cortex-R processors
here is my platform.ini file:
[env:genericSTM32G431CB]
platform = ststm32
board = genericSTM32G431CB
framework = arduino
platform_packages = toolchain-gccarmnoneeabi@~1.120301.0
I’ve also checked related topics on the forum, but none of them helped.
can someone help ?