Page 1 of 1

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

Posted: Thu Aug 04, 2022 1:08 pm
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

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

Posted: Fri Aug 12, 2022 12:43 pm
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

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

Posted: Tue Aug 23, 2022 7:03 pm
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.

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

Posted: Tue Aug 23, 2022 7:22 pm
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