proveskit / pico-sdk-flight-software

This is a separate repo for software developed using the Pico SDK.
Apache License 2.0
0 stars 0 forks source link

File Name Too Long Error in PicoSDK #1

Open Mikefly123 opened 1 month ago

Mikefly123 commented 1 month ago

image

blakejameson commented 3 weeks ago

After reading up on the error, it seems that this is a problem that can occur on Windows machines due to an old Windows API that limited filenames to 260 characters.

A solution to this error should be for the user to enter 'git config core.longpaths true' in their repo to treat the issue for this project. If wanting to apply this solution to all the user's repos, the option 'git config --system core.longpaths true' or 'git config --global core.longpaths true' could be used. The 'global' option would apply the change to all the repos for the current user while the 'system' option would result in the change for all users of the system.

Some sources that talk about the Windows filename length error: Stack Overflow 1 Stack Overflow 2 Atlassian Link Another random GitHub Issue I found