From e375c17df22e1fedc160d0ffdd071d8c52df62fd Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 7 Feb 2024 19:05:33 -0800 Subject: [PATCH 1/2] Readme should explain how to enable long paths in git Fixes #317 --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9bc6abb6..2830a0d2 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,15 @@ PlatformIO version of the MobiFlight firmware source. -To build: +**Warning**: Before attempting to build the repo you must enable long path +support in git otherwise you will get a build failure on the Raspberry Pi Pico +build. To enable long paths type the following in a terminal window: + +```powershell +git config --global core.longpaths true +``` + +## Building 1. Install [Visual Studio Code](https://code.visualstudio.com/Download) 2. Install the [PlatformIO extension](https://marketplace.visualstudio.com/items?itemName=platformio.platformio-ide). Visual Studio Code will automatically From 5b8c0942438a43b5e34c705f185a7403d3cd0d0c Mon Sep 17 00:00:00 2001 From: Neil Enns Date: Thu, 8 Feb 2024 13:55:50 -0800 Subject: [PATCH 2/2] Add Windows long path warning --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 2830a0d2..d06698f2 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,8 @@ build. To enable long paths type the following in a terminal window: git config --global core.longpaths true ``` +If you still receive an error then [enable long paths support in Windows](https://www.thewindowsclub.com/how-to-enable-or-disable-win32-long-paths-in-windows-11-10). + ## Building 1. Install [Visual Studio Code](https://code.visualstudio.com/Download)