Skip to content

Windows Long Path Support

Dragos Miloiu edited this page Dec 6, 2024 · 1 revision

Windows Long Path Support

Support for long paths (paths that exceed 260 characters) on Windows is limited. Errors may be encountered in a variety of tools such as CMake when building a project or even Git when cloning a new repository.

Enable Long Paths

Long paths may be enabled in Windows using the following guide. For more information, please consult the official Microsoft documentation.

However, this setting may not fix all scenarios that may be encounered in the MCUXpresso for VS Code workflow.

Known limitations

ARM GCC

ARM GCC does not support long paths on Windows. In order to successfully build a project, it may be necessary to limit the project's folder structure to a shorter length. The build system usually generates directories with long names, so it would be advisable to keep the base project path as short as possible.

Clone this wiki locally