From 5f7ee1b3605c55cc2e99a53c2cf9634333011fb9 Mon Sep 17 00:00:00 2001 From: Samuel Yvon Date: Mon, 23 May 2022 14:19:41 -0400 Subject: [PATCH] Add instruction for missing deps. (#1265) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: あく --- ReadMe.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ReadMe.md b/ReadMe.md index c6b73c8ba..9e34148fc 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -7,6 +7,13 @@ Welcome to [Flipper Zero](https://flipperzero.one/)'s Firmware repo! Our goal is to create nice and clean code with good documentation, to make it a pleasure for everyone to work with. +# Clone the Repository + +You should clone with +```shell +$ git clone --recursive https://github.com/flipperdevices/flipperzero-firmware.git +``` + # Update firmware [Get Latest Firmware from Update Server](https://update.flipperzero.one/) @@ -74,6 +81,8 @@ Check `dist/` for build outputs. Use **`flipper-z-{target}-full-{suffix}.dfu`** to flash your device. +If compilation fails, make sure all submodules are all initialized. Either clone with `--recursive` or use `git submodule update --init --recursive`. + # Build on Linux/macOS ## macOS Prerequisites