From 893efe8dbfb1fa4eb58cefa6a5fc5b3213be5a65 Mon Sep 17 00:00:00 2001 From: Juppit Date: Fri, 15 Mar 2019 16:53:08 +0100 Subject: [PATCH 1/2] include submodules with git clone --recursive Since we have some submodules it is recomended to include them while cloning the project. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 013c6f93ac..75e91c9d58 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ Documentation: [https://arduino-esp8266.readthedocs.io/en/2.5.0/](https://arduin cd hardware mkdir esp8266com cd esp8266com -git clone https://github.com/esp8266/Arduino.git esp8266 +git clone --recursive https://github.com/esp8266/Arduino.git esp8266 ``` - Download binary tools (you need Python 2.7) ```bash From a073bbf7b754dc16d8cd003ec55c0d71e42b75f0 Mon Sep 17 00:00:00 2001 From: Juppit Date: Mon, 18 Mar 2019 16:14:56 +0100 Subject: [PATCH 2/2] Update README.md Instead of 'git clone --recursive' (which also clones submodules of submodules) this is the minimum for a submodule update. You may also need to run this update recursively ('git submodule update --init --recursive'). --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 75e91c9d58..45790a516c 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,9 @@ Documentation: [https://arduino-esp8266.readthedocs.io/en/2.5.0/](https://arduin cd hardware mkdir esp8266com cd esp8266com -git clone --recursive https://github.com/esp8266/Arduino.git esp8266 +git clone https://github.com/esp8266/Arduino.git esp8266 +cd esp8266 +git submodule update --init ``` - Download binary tools (you need Python 2.7) ```bash