Arduino 2.0 RC9 not compiling generic F, G, H & L series

Development environment specific, Arduino, Eclipse, VS2013, Em::Blocks etc
Post Reply
User avatar
Alextrical
Posts: 39
Joined: Tue Aug 02, 2022 12:59 pm
Location: Cornwall, UK

Arduino 2.0 RC9 not compiling generic F, G, H & L series

Post by Alextrical »

I'm not sure if this is a previously reported issue, but when using Arduino 2.0 RC9.1 it seems like the compiler seems to reference a non existent 'variant_GENERIC_xxxxxxxx.h' file for Generic boards in the following series 'STM32F0, STM32F1, STM32F3, STM32F4, STM32G0, STM32H7, STM32L0'

However the following series' generic boards show no issues compiling 'STM32F2, STM32F7, STM32G4, STM32L1, STM32L4, STM32L5, STM32L5, STM32U5, STM32WB, STM32WL'

For example the G0B1RBTX variant reports the following error

Code: Select all

<command-line>: fatal error: variant_GENERIC_G0B1RBTX.h: No such file or directory
compilation terminated.

exit status 1

Compilation error: exit status 1
Other examples following the same pattern:
'fatal error: variant_GENERIC_G030K6TX.h: No such file or directory'
'fatal error: variant_GENERIC_G031F6PX.h: No such file or directory'
'fatal error: variant_GENERIC_G031Y8YX.h: No such file or directory'
'fatal error: variant_GENERIC_G041F6PX.h: No such file or directory'
'fatal error: variant_GENERIC_G041F8PX.h: No such file or directory'
'fatal error: variant_GENERIC_G070CBTX.h: No such file or directory'
'fatal error: variant_GENERIC_G081CBUX.h: No such file or directory'
'fatal error: variant_GENERIC_F103CBTX.h: No such file or directory'

Please can anyone advise how to fix this behaviour?
Many thanks
by ABOSTM » Fri Aug 12, 2022 12:43 pm
I just installed Arduino 2.0 RC9, and I don't have issue.
I compiled blink example for both GENERIC_G0B1RBT and GENERIC_F103CBTX.

I would suggest to uninstall/reinstall stm32duino core, and if necessary reinstall Arduino 2.0RC9
Go to full post
ABOSTM
Posts: 60
Joined: Wed Jan 08, 2020 8:40 am
Answers: 7

Re: Arduino 2.0 RC9 not compiling generic F, G, H & L series

Post by ABOSTM »

I just installed Arduino 2.0 RC9, and I don't have issue.
I compiled blink example for both GENERIC_G0B1RBT and GENERIC_F103CBTX.

I would suggest to uninstall/reinstall stm32duino core, and if necessary reinstall Arduino 2.0RC9
User avatar
Alextrical
Posts: 39
Joined: Tue Aug 02, 2022 12:59 pm
Location: Cornwall, UK

Re: Arduino 2.0 RC9 not compiling generic F, G, H & L series

Post by Alextrical »

Currently testing on Arduino RC9.2 (Flatpak and Appimage on Fedora), I can confirm that the issue isn't reproducible now.
Presumably it was as you mentioned, an local installation issue.

Thank you. I believe this is all resolved. sorry for the inconvenience.
ag123
Posts: 1655
Joined: Thu Dec 19, 2019 5:30 am
Answers: 24

Re: Arduino 2.0 RC9 not compiling generic F, G, H & L series

Post by ag123 »

hi, i think i shouldn't interrupt as i'm neither using 2.0 ide, nor do I have the G series.
just just a thought if there is a way to capture the log during the build?
if it does and that it is different from 1.8.x, then i'd think we could log a issue on the 2.0 repository
https://github.com/arduino/arduino-ide
or additionally in arduino-cli as well
https://github.com/arduino/arduino-cli
accordingly, arduino ide 2.x use arduino-cli for the build
Post Reply

Return to “IDE's”