Closed as not planned
Description
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
- Unzipped IDE in: /opt/Arduino/Arduino-ide_2.0.0-rc9_Linux_64bit
- Updated STM32core to the latest version 2.3.0 with G031F8P6-support.
(https://github.com/stm32duino/Arduino_Core_STM32) - Build and tried to run 'blink.ino', but build failed with missing header file (variant_GENERIC_G031F8PX.h)
- However, an identical 'blink.ino' builds and runs without problem in IDE 1.8.19. (see below)
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.
Using board 'GenG0' from platform in folder: /home/bekr/.arduino15/packages/STMicroelectronics/hardware/stm32/2.3.0
Using core 'arduino' from platform in folder: /home/bekr/.arduino15/packages/STMicroelectronics/hardware/stm32/2.3.0
/home/bekr/.arduino15/packages/STMicroelectronics/hardware/stm32/2.3.0/system/extras/prebuild.sh /tmp/arduino-sketch-4BF7AC7350D430F9A67AEFC50479359B /home/bekr/Arduino/blink /home/bekr/.arduino15/packages/STMicroelectronics/hardware/stm32/2.3.0
Detecting libraries used...
/home/bekr/.arduino15/packages/STMicroelectronics/tools/xpack-arm-none-eabi-gcc/10.3.1-2.3/bin/arm-none-eabi-g++ -mcpu=cortex-m0plus -DUSE_FULL_LL_DRIVER -mthumb @/tmp/arduino-sketch-4BF7AC7350D430F9A67AEFC50479359B/sketch/build.opt -c -Os -DNDEBUG -w -std=gnu++14 -ffunction-sections -fdata-sections -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -fno-use-cxa-atexit -I/home/bekr/Arduino/blink -I/home/bekr/.arduino15/packages/STMicroelectronics/hardware/stm32/2.3.0/cores/arduino/avr -I/home/bekr/.arduino15/packages/STMicroelectronics/hardware/stm32/2.3.0/cores/arduino/stm32 -I/home/bekr/.arduino15/packages/STMicroelectronics/hardware/stm32/2.3.0/cores/arduino/stm32/LL -I/home/bekr/.arduino15/packages/STMicroelectronics/hardware/stm32/2.3.0/cores/arduino/stm32/usb -I/home/bekr/.arduino15/packages/STMicroelectronics/hardware/stm32/2.3.0/cores/arduino/stm32/OpenAMP -I/home/bekr/.arduino15/packages/STMicroelectronics/hardware/stm32/2.3.0/cores/arduino/stm32/usb/hid -I/home/bekr/.arduino15/packages/STMicroelectronics/hardware/stm32/2.3.0/cores/arduino/stm32/usb/cdc -I/home/bekr/.arduino15/packages/STMicroelectronics/hardware/stm32/2.3.0/system/Drivers/STM32G0xx_HAL_Driver/Inc -I/home/bekr/.arduino15/packages/STMicroelectronics/hardware/stm32/2.3.0/system/Drivers/STM32G0xx_HAL_Driver/Src -I/home/bekr/.arduino15/packages/STMicroelectronics/hardware/stm32/2.3.0/system/STM32G0xx -I/home/bekr/.arduino15/packages/STMicroelectronics/hardware/stm32/2.3.0/system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I/home/bekr/.arduino15/packages/STMicroelectronics/hardware/stm32/2.3.0/system/Middlewares/ST/STM32_USB_Device_Library/Core/Src -I/home/bekr/.arduino15/packages/STMicroelectronics/hardware/stm32/2.3.0/system/Middlewares/OpenAMP -I/home/bekr/.arduino15/packages/STMicroelectronics/hardware/stm32/2.3.0/system/Middlewares/OpenAMP/open-amp/lib/include -I/home/bekr/.arduino15/packages/STMicroelectronics/hardware/stm32/2.3.0/system/Middlewares/OpenAMP/libmetal/lib/include -I/home/bekr/.arduino15/packages/STMicroelectronics/hardware/stm32/2.3.0/system/Middlewares/OpenAMP/virtual_driver -w -x c++ -E -CC -DSTM32G0xx -DARDUINO=10607 -DARDUINO_GENERIC_G031F8PX -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"GENERIC_G031F8PX\"" "-DVARIANT_H=\"variant_GENERIC_G031F8PX.h\"" -DSTM32G031xx -DHAL_UART_MODULE_ENABLED -D__CORTEX_SC=0 -I/home/bekr/.arduino15/packages/STMicroelectronics/tools/CMSIS/5.7.0/CMSIS/Core/Include/ -I/home/bekr/.arduino15/packages/STMicroelectronics/hardware/stm32/2.3.0/system/Drivers/CMSIS/Device/ST/STM32G0xx/Include/ -I/home/bekr/.arduino15/packages/STMicroelectronics/hardware/stm32/2.3.0/system/Drivers/CMSIS/Device/ST/STM32G0xx/Source/Templates/gcc/ -I/home/bekr/.arduino15/packages/STMicroelectronics/tools/CMSIS/5.7.0/CMSIS/DSP/Include -I/home/bekr/.arduino15/packages/STMicroelectronics/tools/CMSIS/5.7.0/CMSIS/DSP/PrivateInclude -I/home/bekr/.arduino15/packages/STMicroelectronics/hardware/stm32/2.3.0/cores/arduino -I/home/bekr/.arduino15/packages/STMicroelectronics/hardware/stm32/2.3.0/variants/STM32G0xx/G031F(4-6-8)P_G031Y8Y_G041F(6-8)P_G041Y8Y /tmp/arduino-sketch-4BF7AC7350D430F9A67AEFC50479359B/sketch/blink.ino.cpp -o /dev/null
<command-line>: fatal error: variant_GENERIC_G031F8PX.h: No such file or directory
compilation terminated.
Alternatives for variant_GENERIC_G031F8PX.h: []
ResolveLibrary(variant_GENERIC_G031F8PX.h)
-> candidates: []
exit status 1
Compilation error: exit status 1
Test to find the missing file in the filesystem - No luck.
bekr@dell:~/.arduino15$ find . -name variant_GENERIC_G031F8PX.h -type f
--
bekr@dell:~/.arduino15$ find . -name variant_GENERIC_G031F8Px.h -type f
--
bekr@dell:~/.arduino15$ find . -name *G031* -type f
./packages/STMicroelectronics/hardware/stm32/2.3.0/variants/STM32G0xx/G031J(4-6)M_G041J6M/variant_DISCO_G0316.h
./packages/STMicroelectronics/hardware/stm32/2.3.0/variants/STM32G0xx/G031J(4-6)M_G041J6M/variant_DISCO_G0316.cpp
./packages/STMicroelectronics/hardware/stm32/2.3.0/variants/STM32G0xx/G031K(4-6-8)(T-U)_G041K(6-8)(T-U)/variant_NUCLEO_G031K8.cpp
./packages/STMicroelectronics/hardware/stm32/2.3.0/variants/STM32G0xx/G031K(4-6-8)(T-U)_G041K(6-8)(T-U)/variant_NUCLEO_G031K8.h
bekr@dell:~/.arduino15$
Arduino IDE 1.8.19. Linux/Debian 11: Building and running 'blink.ino'.
...
...
Compiling core...
Using previously compiled file: /tmp/arduino_build_1118/core/generic_clock.c.o
Using previously compiled file: /tmp/arduino_build_1118/core/PeripheralPins.c.o
Using previously compiled file: /tmp/arduino_build_1118/core/variant_generic.cpp.o
Using precompiled core: /tmp/arduino_cache_28745/core/core_5e55fd22c89810a7c5d94bc8681f09b4.a
Linking everything together...
/home/bekr/.arduino15/packages/STMicroelectronics/tools/xpack-arm-none-eabi-gcc/10.3.1-2.3/bin/arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -Os -DNDEBUG --specs=nano.specs -Wl,--defsym=LD_FLASH_OFFSET=0 -Wl,--defsym=LD_MAX_SIZE=65536 -Wl,--defsym=LD_MAX_DATA_SIZE=8192 -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--default-script=/home/bekr/.arduino15/packages/STMicroelectronics/hardware/stm32/2.3.0/variants/STM32G0xx/G031F(4-6-8)P_G031Y8Y_G041F(6-8)P_G041Y8Y/ldscript.ld -Wl,--script=/home/bekr/.arduino15/packages/STMicroelectronics/hardware/stm32/2.3.0/system/ldscript.ld -Wl,-Map,/tmp/arduino_build_1118/STM32-D1-mini-blink.ino.map -L/home/bekr/.arduino15/packages/STMicroelectronics/tools/CMSIS/5.7.0/CMSIS/DSP/Lib/GCC/ -larm_cortexM0l_math -o /tmp/arduino_build_1118/STM32-D1-mini-blink.ino.elf -L/tmp/arduino_build_1118 -Wl,--start-group /tmp/arduino_build_1118/sketch/STM32-D1-mini-blink.ino.cpp.o /tmp/arduino_build_1118/sketch/SrcWrapper.cpp.o /tmp/arduino_build_1118/libraries/SrcWrapper/syscalls.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HardwareTimer.cpp.o /tmp/arduino_build_1118/libraries/SrcWrapper/new.cpp.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_adc.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_adc_ex.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_can.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_cec.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_comp.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_comp_ex.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_cordic.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_cortex.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_crc.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_crc_ex.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_cryp.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_cryp_ex.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_dac.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_dac_ex.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_dcache.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_dcmi.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_dcmi_ex.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_dfsdm.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_dfsdm_ex.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_dma.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_dma2d.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_dma_ex.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_dsi.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_dts.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_eth.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_eth_ex.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_exti.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_fdcan.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_firewall.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_flash.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_flash_ex.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_flash_ramfunc.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_fmac.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_fmpi2c.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_fmpi2c_ex.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_fmpsmbus.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_fmpsmbus_ex.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_gfxmmu.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_gpio.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_gpio_ex.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_gpu2d.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_gtzc.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_hash.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_hash_ex.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_hcd.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_hrtim.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_hsem.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_i2c.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_i2c_ex.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_i2s.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_i2s_ex.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_icache.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_ipcc.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_irda.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_iwdg.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_jpeg.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_lcd.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_lptim.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_ltdc.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_ltdc_ex.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_mdf.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_mdios.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_mdma.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_mmc.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_mmc_ex.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_nand.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_nor.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_opamp.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_opamp_ex.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_ospi.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_otfdec.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_pccard.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_pcd.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_pcd_ex.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_pka.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_pssi.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_pwr.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_pwr_ex.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_qspi.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_ramcfg.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_ramecc.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_rcc.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_rcc_ex.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_rng.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_rng_ex.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_rtc.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_rtc_ex.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_sai.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_sai_ex.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_sd.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_sd_ex.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_sdadc.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_sdram.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_smartcard.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_smartcard_ex.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_smbus.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_smbus_ex.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_spdifrx.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_spi.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_spi_ex.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_sram.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_subghz.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_swpmi.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_tim.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_tim_ex.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_tsc.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_uart.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_uart_ex.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_usart.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_usart_ex.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_wwdg.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/HAL/stm32yyxx_hal_xspi.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/LL/stm32yyxx_ll_adc.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/LL/stm32yyxx_ll_bdma.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/LL/stm32yyxx_ll_comp.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/LL/stm32yyxx_ll_cordic.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/LL/stm32yyxx_ll_crc.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/LL/stm32yyxx_ll_crs.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/LL/stm32yyxx_ll_dac.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/LL/stm32yyxx_ll_delayblock.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/LL/stm32yyxx_ll_dlyb.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/LL/stm32yyxx_ll_dma.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/LL/stm32yyxx_ll_dma2d.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/LL/stm32yyxx_ll_exti.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/LL/stm32yyxx_ll_fmac.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/LL/stm32yyxx_ll_fmc.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/LL/stm32yyxx_ll_fmpi2c.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/LL/stm32yyxx_ll_fsmc.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/LL/stm32yyxx_ll_gpio.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/LL/stm32yyxx_ll_hrtim.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/LL/stm32yyxx_ll_i2c.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/LL/stm32yyxx_ll_icache.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/LL/stm32yyxx_ll_lpgpio.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/LL/stm32yyxx_ll_lptim.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/LL/stm32yyxx_ll_lpuart.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/LL/stm32yyxx_ll_mdma.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/LL/stm32yyxx_ll_opamp.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/LL/stm32yyxx_ll_pka.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/LL/stm32yyxx_ll_pwr.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/LL/stm32yyxx_ll_rcc.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/LL/stm32yyxx_ll_rng.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/LL/stm32yyxx_ll_rtc.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/LL/stm32yyxx_ll_sdmmc.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/LL/stm32yyxx_ll_spi.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/LL/stm32yyxx_ll_swpmi.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/LL/stm32yyxx_ll_tim.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/LL/stm32yyxx_ll_ucpd.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/LL/stm32yyxx_ll_usart.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/LL/stm32yyxx_ll_usb.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/LL/stm32yyxx_ll_utils.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/stm32/PortNames.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/stm32/bootloader.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/stm32/clock.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/stm32/core_callback.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/stm32/dwt.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/stm32/hw_config.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/stm32/otp.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/stm32/pinmap.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/stm32/stm32_def.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/stm32/system_stm32yyxx.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/stm32/timer.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/stm32/uart.c.o /tmp/arduino_build_1118/libraries/SrcWrapper/stm32/analog.cpp.o /tmp/arduino_build_1118/libraries/SrcWrapper/stm32/interrupt.cpp.o /tmp/arduino_build_1118/core/PeripheralPins.c.o /tmp/arduino_build_1118/core/generic_clock.c.o /tmp/arduino_build_1118/core/variant_generic.cpp.o /tmp/arduino_cache_28745/core/core_5e55fd22c89810a7c5d94bc8681f09b4.a -lc -Wl,--end-group -lm -lgcc -lstdc++
/home/bekr/.arduino15/packages/STMicroelectronics/tools/xpack-arm-none-eabi-gcc/10.3.1-2.3/bin/arm-none-eabi-objcopy -O binary /tmp/arduino_build_1118/STM32-D1-mini-blink.ino.elf /tmp/arduino_build_1118/STM32-D1-mini-blink.ino.bin
/home/bekr/.arduino15/packages/STMicroelectronics/tools/xpack-arm-none-eabi-gcc/10.3.1-2.3/bin/arm-none-eabi-objcopy -O ihex /tmp/arduino_build_1118/STM32-D1-mini-blink.ino.elf /tmp/arduino_build_1118/STM32-D1-mini-blink.ino.hex
Using library SrcWrapper at version 1.0.1 in folder: /home/bekr/.arduino15/packages/STMicroelectronics/hardware/stm32/2.3.0/libraries/SrcWrapper
/home/bekr/.arduino15/packages/STMicroelectronics/tools/xpack-arm-none-eabi-gcc/10.3.1-2.3/bin/arm-none-eabi-size -A /tmp/arduino_build_1118/STM32-D1-mini-blink.ino.elf
Sketch uses 13504 bytes (20%) of program storage space. Maximum is 65536 bytes.
Global variables use 948 bytes (11%) of dynamic memory, leaving 7244 bytes for local variables. Maximum is 8192 bytes.
sh /home/bekr/.arduino15/packages/STMicroelectronics/tools/STM32Tools/2.1.1/stm32CubeProg.sh 0 /tmp/arduino_build_1118/STM32-D1-mini-blink.ino.bin -g
-------------------------------------------------------------------
STM32CubeProgrammer v2.7.0
-------------------------------------------------------------------
ST-LINK SN : 54FF6F064883525646512187
ST-LINK FW : V2J38S7
Board : --
Voltage : 3.27V
SWD freq : 4000 KHz
Connect mode: Under Reset
Reset mode : Hardware reset
Device ID : 0x466
Revision ID : Rev 1.1
Device name : STM32G03x/STM32G04x
Flash size : 64 KBytes
Device type : MCU
Device CPU : Cortex-M0+
Memory Programming ...
Opening and parsing file: STM32-D1-mini-blink.ino.bin
File : STM32-D1-mini-blink.ino.bin
Size : 13716 Bytes
Address : 0x08000000
Erasing memory corresponding to segment 0:
Erasing internal memory sectors [0 6]
Download in Progress:
File download complete
Time elapsed during download operation: 00:00:00.461
RUNNING Program ...
Address: : 0x8000000
The application is running, Please Hold on...
Start operation achieved successfully
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
- I searched for previous reports in the issue tracker
- I verified the problem still occurs when using the latest nightly build
- My report contains all necessary details