Skip to content

Arduino 2.3.9 breaks CH552 support #3205

Description

@IJeffray

Describe the problem

Using CH552 setup per Adafruit QT Py https://www.adafruit.com/product/5960 this now fails to compile, producing the error "sketch_merged.cpp: The system cannot find the file specified."

To reproduce

Build CH552 projects successfully with Arduino 2.3.8
Upgrade to 2.3.9 as recommended
Build now fails with "sketch_merged.cpp: The system cannot find the file specified."

Can revert to 2.3.8 and the sketches compile successfully again, suggesting breakage is definitely with 2.3.9

Expected behavior

Sketches compile successfully

Arduino IDE version

2.3.9

Operating system

Windows

Operating system version

11 25H2

Additional context

FQBN: CH55xDuino:mcs51:ch552:usb_settings=user148,clock=16internal
Using board 'ch552' from platform in folder: C:\Users\ian\AppData\Local\Arduino15\packages\CH55xDuino\hardware\mcs51\0.0.25
Using core 'ch55xduino' from platform in folder: C:\Users\ian\AppData\Local\Arduino15\packages\CH55xDuino\hardware\mcs51\0.0.25

Detecting libraries used...
C:\Users\ian\AppData\Local\Arduino15\packages\CH55xDuino\tools\MCS51Tools\2023.10.10/win/busybox ash C:\Users\ian\AppData\Local\Arduino15\packages\CH55xDuino\tools\MCS51Tools\2023.10.10/wrapper/sdcc.sh C:\Users\ian\AppData\Local\Arduino15\packages\CH55xDuino\tools\sdcc\build.13407_4/bin/sdcc C:\Users\ian\AppData\Local\arduino\sketches\1E6B04BE94F5D23597B466E6EC012489\sketch\Blink.ino.cpp.merged nul re12 -c -Ddouble=float -DUSE_STDINT -D__PROG_TYPES_COMPAT__ --model-large --int-long-reent -E -MC -mmcs51 -DCH552 -DF_CPU=16000000L -DF_EXT_OSC=0L -DARDUINO=10607 -DARDUINO_ch55x -DARDUINO_ARCH_MCS51 -DUSER_USB_RAM=148 -IC:\Users\ian\AppData\Local\Arduino15\packages\CH55xDuino\hardware\mcs51\0.0.25\cores\ch55xduino -IC:\Users\ian\AppData\Local\Arduino15\packages\CH55xDuino\hardware\mcs51\0.0.25\variants\ch552 -IC:\Users\ian\AppData\Local\Arduino15\packages\CH55xDuino\tools\sdcc\build.13407_4/include -MMD -MF C:\Users\ian\AppData\Local\arduino\sketches\1E6B04BE94F5D23597B466E6EC012489\sketch\Blink.ino.cpp.merged.libsdetect.d
Generating function prototypes...
C:\Users\ian\AppData\Local\Arduino15\packages\CH55xDuino\tools\MCS51Tools\2023.10.10/win/busybox ash C:\Users\ian\AppData\Local\Arduino15\packages\CH55xDuino\tools\MCS51Tools\2023.10.10/wrapper/sdcc.sh C:\Users\ian\AppData\Local\Arduino15\packages\CH55xDuino\tools\sdcc\build.13407_4/bin/sdcc C:\Users\ian\AppData\Local\arduino\sketches\1E6B04BE94F5D23597B466E6EC012489\sketch\Blink.ino.cpp.merged C:\Users\ian\AppData\Local\Temp\89864618\sketch_merged.cpp re12 -c -Ddouble=float -DUSE_STDINT -D__PROG_TYPES_COMPAT__ --model-large --int-long-reent -E -MC -mmcs51 -DCH552 -DF_CPU=16000000L -DF_EXT_OSC=0L -DARDUINO=10607 -DARDUINO_ch55x -DARDUINO_ARCH_MCS51 -DUSER_USB_RAM=148 -IC:\Users\ian\AppData\Local\Arduino15\packages\CH55xDuino\hardware\mcs51\0.0.25\cores\ch55xduino -IC:\Users\ian\AppData\Local\Arduino15\packages\CH55xDuino\hardware\mcs51\0.0.25\variants\ch552 -IC:\Users\ian\AppData\Local\Arduino15\packages\CH55xDuino\tools\sdcc\build.13407_4/include
open C:\Users\ian\AppData\Local\Temp\89864618\sketch_merged.cpp: The system cannot find the file specified.

Compilation error: open C:\Users\ian\AppData\Local\Temp\89864618\sketch_merged.cpp: The system cannot find the file specified.

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

Metadata

Metadata

Assignees

Labels

topic: build-processRelated to the sketch build processtopic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions