raspberrypi / pico-sdk-tools

Apache License 2.0
13 stars 5 forks source link

Windows RISC-V build can be fixed #8

Open ndabas opened 1 day ago

ndabas commented 1 day ago

I was looking at this commit and the associated Actions run.

I saw something similar in my own experiments, and it sounds completely unrelated, but the issue can be fixed by setting core.autocrlf to false in the git config. On Windows the build.ps1 file is used to clone needed repos so you could likely just add -c core.autocrlf=false to the command line there:

https://github.com/raspberrypi/pico-sdk-tools/blob/178ced38c49a08c19f979c36d7fed27cb1420b7b/build.ps1#L180

(Or set it globally beforehand, it's a throwaway CI runner.)