Blink.ino does not build. Missing header variant file #1245
Labels
conclusion: duplicate
Has already been submitted
conclusion: off topic
Off topic for this repository
topic: CLI
Related to Arduino CLI
type: imperfection
Perceived defect in any part of project
Describe the problem
I tried to build Blink.ino for an STM32 populated board, but this results in fatal error: variant_GENERIC_G031F8PX.h: No such file or directory. One may think this has not to do with the IDE itself. However, I'm not 100% sure about that since the same file and board build and run just fine in IDE 1.8.19.
To reproduce
(https://github.com/stm32duino/Arduino_Core_STM32)
Expected behavior
Build should not fail.
Arduino IDE version
arduino-ide_nightly-20220723_Linux_64bit.AppImage
Operating system
Linux
Operating system version
11 (Bullseye)
Additional context
Detailed error output at build time in IDE 2.0.0.rc9 - same error with latest nightly build IDE.
Test to find the missing file in the filesystem - No luck.
Arduino IDE 1.8.19. Linux/Debian 11: Building and running 'blink.ino'.
Additional context
Tested on board: STM32 D1-mini (as STM32G031F8P6-generic board)
Other named boards, established before latest STM32Core 2.3.0
Test with Blue Pill, i.e., STM32F103C8T6.
OK: Builds and runs successfully in IDE 1.8.9 and IDE 2.0.0-rc9
Issue checklist
The text was updated successfully, but these errors were encountered: