ESP32 keyword spotting error

I’m trying to do keyword spotting on ESP32. As there is separate platform.local.txt file written for ESP32, I’ve added that file to the specified location. It worked great after adding for first few times but I’m getting error now while uploading the code to ESP32 even if the platform.local.txt is present. Please help!

Here’s the error

Arduino: 1.8.14 Hourly Build 2020/10/09 12:33 (Windows 8.1), Board: “ESP32 Dev Module, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, None”

fork/exec C:\Users\zeeshan.HOME-PC.000\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0/bin/xtensa-esp32-elf-gcc.exe: The filename or extension is too long.

Error compiling for board ESP32 Dev Module.

Hi @aviator2710,

I’d suggest updating the Arduino IDE, the platform.local.txt is not required in Arduino v1.8.15 and above.
Also note that we’ve recently release an official support for ESP32 using the esp-idf, you’ll get better performances as it leverages esp-nn instructions.

Aurelien