Skip to content

Core cache directory name for esp8266 is too long on Windows. #7902

Closed
@storzinc

Description

@storzinc

On Windows maximum file name length is 255 characters, but in the buld log I see this line:

Archiving built core (caching) in: C:\Users\storzinc\AppData\Local\Temp\arduino_cache_875001\core\core_esp8266_esp8266_generic_CpuFrequency_80,VTable_flash,ResetMethod_ck,CrystalFreq_26,FlashFreq_40,FlashMode_qio,FlashSize_512K0,led_2,LwIPVariant_v2mss536,Debug_Disabled,DebugLevel_None____,FlashErase_none,UploadSpeed_256000_1ee66ed3f9bdc333f8cbfdd139bc1dd8.a

Arduino here is trying to create a directory with 262 characters long name, as a result no cache is created and compiller is doing full rebuild every time.

Tried this on Arduino 1.8.5, Arduino 1.9-BUILD-78 and the hourly build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: WontfixArduino has decided that it will not resolve the reported issue or implement the requested feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions