You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm unable to compile any sketch using portable Arduino IDE1 and latest STM32 core (from releases).
To Reproduce
Prepare portable Arduino IDE1
Install STM32 core (i've followed readme from this repo)
Open and compile some simple example, i.e. Blink
Expected behavior
Sketch is built.
Screenshots
Desktop (please complete the following information):
OS: Windows 10
Arduino IDE version: 1.8.19
STM32 core version: 2.3.0
Tools menu settings if not the default: default
Upload method: SWD
Board (please complete the following information):
STM32L051C8T6
Additional context
Registry value Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\LongPathsEnabled is set to 1
Portable IDE location: C:\Users\taras.shcherban\Documents\arduino-1.8.19-stm32\
Build log:
C:\Users\taras.shcherban\Documents\arduino-1.8.19-stm32\arduino-builder -dump-prefs -logger=machine -hardware C:\Users\taras.shcherban\Documents\arduino-1.8.19-stm32\hardware -hardware C:\Users\taras.shcherban\Documents\arduino-1.8.19-stm32\portable\packages -tools C:\Users\taras.shcherban\Documents\arduino-1.8.19-stm32\tools-builder -tools C:\Users\taras.shcherban\Documents\arduino-1.8.19-stm32\hardware\tools\avr -tools C:\Users\taras.shcherban\Documents\arduino-1.8.19-stm32\portable\packages -built-in-libraries C:\Users\taras.shcherban\Documents\arduino-1.8.19-stm32\libraries -libraries C:\Users\taras.shcherban\Documents\arduino-1.8.19-stm32\portable\sketchbook\libraries -fqbn=STMicroelectronics:stm32:GenL0:pnum=GENERIC_L051C8TX,upload_method=swdMethod,xserial=generic,usb=none,opt=osstd,dbg=none,rtlib=nano -ide-version=10819 -build-path C:\Users\TARAS~1.SHC\AppData\Local\Temp\arduino_build_11460 -warnings=more -build-cache C:\Users\TARAS~1.SHC\AppData\Local\Temp\arduino_cache_593267 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.CMSIS.path=C:\Users\taras.shcherban\Documents\arduino-1.8.19-stm32\portable\packages\STMicroelectronics\tools\CMSIS\5.7.0 -prefs=runtime.tools.CMSIS-5.7.0.path=C:\Users\taras.shcherban\Documents\arduino-1.8.19-stm32\portable\packages\STMicroelectronics\tools\CMSIS\5.7.0 -prefs=runtime.tools.STM32Tools.path=C:\Users\taras.shcherban\Documents\arduino-1.8.19-stm32\portable\packages\STMicroelectronics\tools\STM32Tools\2.1.1 -prefs=runtime.tools.STM32Tools-2.1.1.path=C:\Users\taras.shcherban\Documents\arduino-1.8.19-stm32\portable\packages\STMicroelectronics\tools\STM32Tools\2.1.1 -prefs=runtime.tools.xpack-arm-none-eabi-gcc.path=C:\Users\taras.shcherban\Documents\arduino-1.8.19-stm32\portable\packages\STMicroelectronics\tools\xpack-arm-none-eabi-gcc\10.3.1-2.3 -prefs=runtime.tools.xpack-arm-none-eabi-gcc-10.3.1-2.3.path=C:\Users\taras.shcherban\Documents\arduino-1.8.19-stm32\portable\packages\STMicroelectronics\tools\xpack-arm-none-eabi-gcc\10.3.1-2.3 -verbose C:\Users\taras.shcherban\Documents\arduino-1.8.19-stm32\portable\sketchbook\src\lowpower\lowpower.ino
C:\Users\taras.shcherban\Documents\arduino-1.8.19-stm32\arduino-builder -compile -logger=machine -hardware C:\Users\taras.shcherban\Documents\arduino-1.8.19-stm32\hardware -hardware C:\Users\taras.shcherban\Documents\arduino-1.8.19-stm32\portable\packages -tools C:\Users\taras.shcherban\Documents\arduino-1.8.19-stm32\tools-builder -tools C:\Users\taras.shcherban\Documents\arduino-1.8.19-stm32\hardware\tools\avr -tools C:\Users\taras.shcherban\Documents\arduino-1.8.19-stm32\portable\packages -built-in-libraries C:\Users\taras.shcherban\Documents\arduino-1.8.19-stm32\libraries -libraries C:\Users\taras.shcherban\Documents\arduino-1.8.19-stm32\portable\sketchbook\libraries -fqbn=STMicroelectronics:stm32:GenL0:pnum=GENERIC_L051C8TX,upload_method=swdMethod,xserial=generic,usb=none,opt=osstd,dbg=none,rtlib=nano -ide-version=10819 -build-path C:\Users\TARAS~1.SHC\AppData\Local\Temp\arduino_build_11460 -warnings=more -build-cache C:\Users\TARAS~1.SHC\AppData\Local\Temp\arduino_cache_593267 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.CMSIS.path=C:\Users\taras.shcherban\Documents\arduino-1.8.19-stm32\portable\packages\STMicroelectronics\tools\CMSIS\5.7.0 -prefs=runtime.tools.CMSIS-5.7.0.path=C:\Users\taras.shcherban\Documents\arduino-1.8.19-stm32\portable\packages\STMicroelectronics\tools\CMSIS\5.7.0 -prefs=runtime.tools.STM32Tools.path=C:\Users\taras.shcherban\Documents\arduino-1.8.19-stm32\portable\packages\STMicroelectronics\tools\STM32Tools\2.1.1 -prefs=runtime.tools.STM32Tools-2.1.1.path=C:\Users\taras.shcherban\Documents\arduino-1.8.19-stm32\portable\packages\STMicroelectronics\tools\STM32Tools\2.1.1 -prefs=runtime.tools.xpack-arm-none-eabi-gcc.path=C:\Users\taras.shcherban\Documents\arduino-1.8.19-stm32\portable\packages\STMicroelectronics\tools\xpack-arm-none-eabi-gcc\10.3.1-2.3 -prefs=runtime.tools.xpack-arm-none-eabi-gcc-10.3.1-2.3.path=C:\Users\taras.shcherban\Documents\arduino-1.8.19-stm32\portable\packages\STMicroelectronics\tools\xpack-arm-none-eabi-gcc\10.3.1-2.3 -verbose C:\Users\taras.shcherban\Documents\arduino-1.8.19-stm32\portable\sketchbook\src\lowpower\lowpower.ino
Using board 'GenL0' from platform in folder: C:\Users\taras.shcherban\Documents\arduino-1.8.19-stm32\portable\packages\STMicroelectronics\hardware\stm32\2.3.0
Using core 'arduino' from platform in folder: C:\Users\taras.shcherban\Documents\arduino-1.8.19-stm32\portable\packages\STMicroelectronics\hardware\stm32\2.3.0
"C:\\Users\\taras.shcherban\\Documents\\arduino-1.8.19-stm32\\portable\\packages\\STMicroelectronics\\tools\\STM32Tools\\2.1.1/win/busybox.exe" sh "C:\\Users\\taras.shcherban\\Documents\\arduino-1.8.19-stm32\\portable\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/extras/prebuild.sh" "C:\\Users\\TARAS~1.SHC\\AppData\\Local\\Temp\\arduino_build_11460" "C:\\Users\\taras.shcherban\\Documents\\arduino-1.8.19-stm32\\portable\\sketchbook\\src\\lowpower" "C:\\Users\\taras.shcherban\\Documents\\arduino-1.8.19-stm32\\portable\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0"
Detecting libraries used...
"C:\\Users\\taras.shcherban\\Documents\\arduino-1.8.19-stm32\\portable\\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 "@C:\\Users\\TARAS~1.SHC\\AppData\\Local\\Temp\\arduino_build_11460/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 "-IC:\\Users\\taras.shcherban\\Documents\\arduino-1.8.19-stm32\\portable\\sketchbook\\src\\lowpower" "-IC:\\Users\\taras.shcherban\\Documents\\arduino-1.8.19-stm32\\portable\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/avr" "-IC:\\Users\\taras.shcherban\\Documents\\arduino-1.8.19-stm32\\portable\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/stm32" "-IC:\\Users\\taras.shcherban\\Documents\\arduino-1.8.19-stm32\\portable\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/stm32/LL" "-IC:\\Users\\taras.shcherban\\Documents\\arduino-1.8.19-stm32\\portable\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/stm32/usb" "-IC:\\Users\\taras.shcherban\\Documents\\arduino-1.8.19-stm32\\portable\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/stm32/OpenAMP" "-IC:\\Users\\taras.shcherban\\Documents\\arduino-1.8.19-stm32\\portable\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/stm32/usb/hid" "-IC:\\Users\\taras.shcherban\\Documents\\arduino-1.8.19-stm32\\portable\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/stm32/usb/cdc" "-IC:\\Users\\taras.shcherban\\Documents\\arduino-1.8.19-stm32\\portable\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Drivers/STM32L0xx_HAL_Driver/Inc" "-IC:\\Users\\taras.shcherban\\Documents\\arduino-1.8.19-stm32\\portable\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Drivers/STM32L0xx_HAL_Driver/Src" "-IC:\\Users\\taras.shcherban\\Documents\\arduino-1.8.19-stm32\\portable\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/STM32L0xx" "-IC:\\Users\\taras.shcherban\\Documents\\arduino-1.8.19-stm32\\portable\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\\Users\\taras.shcherban\\Documents\\arduino-1.8.19-stm32\\portable\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" "-IC:\\Users\\taras.shcherban\\Documents\\arduino-1.8.19-stm32\\portable\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Middlewares/OpenAMP" "-IC:\\Users\\taras.shcherban\\Documents\\arduino-1.8.19-stm32\\portable\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Middlewares/OpenAMP/open-amp/lib/include" "-IC:\\Users\\taras.shcherban\\Documents\\arduino-1.8.19-stm32\\portable\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Middlewares/OpenAMP/libmetal/lib/include" "-IC:\\Users\\taras.shcherban\\Documents\\arduino-1.8.19-stm32\\portable\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Middlewares/OpenAMP/virtual_driver" -w -x c++ -E -CC -DSTM32L0xx -DARDUINO=10819 -DARDUINO_GENERIC_L051C8TX -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"GENERIC_L051C8TX\"" "-DVARIANT_H=\"variant_generic.h\"" -DSTM32L051xx -DHAL_UART_MODULE_ENABLED -D__CORTEX_SC=0 "-IC:\\Users\\taras.shcherban\\Documents\\arduino-1.8.19-stm32\\portable\\packages\\STMicroelectronics\\tools\\CMSIS\\5.7.0/CMSIS/Core/Include/" "-IC:\\Users\\taras.shcherban\\Documents\\arduino-1.8.19-stm32\\portable\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/" "-IC:\\Users\\taras.shcherban\\Documents\\arduino-1.8.19-stm32\\portable\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Drivers/CMSIS/Device/ST/STM32L0xx/Source/Templates/gcc/" "-IC:\\Users\\taras.shcherban\\Documents\\arduino-1.8.19-stm32\\portable\\packages\\STMicroelectronics\\tools\\CMSIS\\5.7.0/CMSIS/DSP/Include" "-IC:\\Users\\taras.shcherban\\Documents\\arduino-1.8.19-stm32\\portable\\packages\\STMicroelectronics\\tools\\CMSIS\\5.7.0/CMSIS/DSP/PrivateInclude" "-IC:\\Users\\taras.shcherban\\Documents\\arduino-1.8.19-stm32\\portable\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino" "-IC:\\Users\\taras.shcherban\\Documents\\arduino-1.8.19-stm32\\portable\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\variants\\STM32L0xx\\L051C(6-8)(T-U)" "C:\\Users\\TARAS~1.SHC\\AppData\\Local\\Temp\\arduino_build_11460\\sketch\\lowpower.ino.cpp" -o nul
Alternatives for bits/c++config.h: []
ResolveLibrary(bits/c++config.h)
-> candidates: []
In file included from c:\users\taras.shcherban\documents\arduino-1.8.19-stm32\portable\packages\stmicroelectronics\tools\xpack-arm-none-eabi-gcc\10.3.1-2.3\arm-none-eabi\include\c++\10.3.1\stdlib.h:36,
from C:\Users\taras.shcherban\Documents\arduino-1.8.19-stm32\portable\packages\STMicroelectronics\hardware\stm32\2.3.0\cores\arduino/wiring.h:24,
from C:\Users\taras.shcherban\Documents\arduino-1.8.19-stm32\portable\packages\STMicroelectronics\hardware\stm32\2.3.0\cores\arduino/Arduino.h:36,
from C:\Users\TARAS~1.SHC\AppData\Local\Temp\arduino_build_11460\sketch\lowpower.ino.cpp:1:
c:\users\taras.shcherban\documents\arduino-1.8.19-stm32\portable\packages\stmicroelectronics\tools\xpack-arm-none-eabi-gcc\10.3.1-2.3\arm-none-eabi\include\c++\10.3.1\cstdlib:41:10: fatal error: bits/c++config.h: No such file or directory
41 | #include <bits/c++config.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Error compiling for board Generic STM32L0 series.
If i move entire arduino folder to i.e. C:\dev\... or just rename arduino-1.8.19-stm32 to arduino-1.8.19 - it works ok.
Is that easy fixable? We might get into trouble if some subfolders will be added in the future - build will be broken even if we put arduino-ide directly in C:\, D:\
The text was updated successfully, but these errors were encountered:
Describe the bug
I'm unable to compile any sketch using portable Arduino IDE1 and latest STM32 core (from releases).
To Reproduce
Expected behavior
Sketch is built.
Screenshots
Desktop (please complete the following information):
Board (please complete the following information):
Additional context
Registry value
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\LongPathsEnabled
is set to 1Portable IDE location:
C:\Users\taras.shcherban\Documents\arduino-1.8.19-stm32\
Build log:
If i move entire arduino folder to i.e.
C:\dev\...
or just renamearduino-1.8.19-stm32
toarduino-1.8.19
- it works ok.Is that easy fixable? We might get into trouble if some subfolders will be added in the future - build will be broken even if we put arduino-ide directly in
C:\, D:\
The text was updated successfully, but these errors were encountered: