diff --git a/docs/badge/firmware-development.rst b/docs/badge/firmware-development.rst
index 0cd97419440257da89c1fc859d3a0d7a6ef108ae..11334dc00c4cdd52273d09809123de827683f27f 100644
--- a/docs/badge/firmware-development.rst
+++ b/docs/badge/firmware-development.rst
@@ -42,6 +42,7 @@ On other Linux-based distributions, you will have to manually install ESP-IDF al
 
 	$ git clone --recursive https://git.flow3r.garden/flow3r/esp-idf
 	$ cd esp-idf
+    $ git checkout 5.1-flow3r
 	$ ./install.sh
 	$ source export.sh