Arduino 2.0 RC9 not compiling generic F, G, H & L series
Posted: Thu Aug 04, 2022 1:08 pm
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
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
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
'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