Not so much a bug, but a note for anyone running into the “The filename or extension is too long” error with newer versions of Arduino on Windows.
It looks like Arduino has made some changes to the way the mbed boards are supported. The “mbed” directory is no longer used (old mbed libraries are marked as “deprecated” in the Boards Manager). The directory “mbed_nano” is used instead for things like the Arduino Nano 33 BLE Sense.
I just tried the following on Windows 10 and Arduino 1.8.13:
- Go to Tools > Board > Board Manager. Search for “nano 33 ble.” Remove all packages that support that board (you will likely notice one that says “deprecated”)
- Install the latest “Arduino Mbed OS Nano Boards” package. For me, this was version 2.1.0.
- Save platform.local.txt (found here: https://docs.edgeimpulse.com/docs/running-your-impulse-arduino) in C:\Users<USERNAME>\AppData\Local\Arduino15\packages\arduino\hardware\mbed_nano\2.1.0 (the version might be different, depending on the version installed in the Board Manager).
This allowed me to compile the Edge Impulse examples.