I am trying to compile a deployment script that I previously built for the Arduino Nano 33 BLE to find out whether it is feasible to run this on the Arduino Nano 33 IoT. After a few minor changes to the code, I am stuck with the following error:
fork/exec C:\Users\MYUSER\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++.exe: The filename or extension is too long.
Now, I am familiar with this error, as it occurred for the Arduino Nano 33 BLE as well, but this was simply fixed after downloading the platform.local.txt file and copying it under the mbed directory.
However, I only found this fix for mbed and ESP32 boards. Is there a similar fix for SAMD21-based boards like the Arduino Nano 33 IoT?
PS: I tried compiling the same code in the Arduino IDE on Linux and I got no errors, so everything else seems to work fine.