compile-sketches
compile-sketches copied to clipboard
Sketches report creation fails due to filename length limit when FQBN is very long
trafficstars
Describe the problem
When using a complex fqbn like this one:
fqbn:esp32:esp32:esp32s3:UploadSpeed=921600,USBMode=hwcdc,CDCOnBoot=default,MSCOnBoot=default,DFUOnBoot=default,UploadMode=default,CPUFreq=240,FlashMode=qio,FlashSize=16M,PartitionScheme=app3M_fat9M_16MB,DebugLevel=none,PSRAM=opi,LoopCore=1,EventsCore=0,EraseFlash=none,JTAGAdapter=default,ZigbeeMode=default
the report file name is too long and cannot be saved. Should add a parameter with the name for the report, or shorten the name. Also the "," and "=" should be replaced in the string.
To reproduce
Use fqbn provided.
Expected behavior
File saved.
'arduino/compile-sketches' version
1.1.2
Issue checklist
- [X] I searched for previous reports in the issue tracker
- [X] I verified the problem still occurs when using the latest version
- [X] My report contains all necessary details