diff --git a/examples/esp32/micropython/Makefile b/examples/esp32/micropython/Makefile index 03f8212f..cfd3281d 100644 --- a/examples/esp32/micropython/Makefile +++ b/examples/esp32/micropython/Makefile @@ -15,7 +15,7 @@ build: micropython $(DOCKER) $(CMD) micropython: - $(DOCKER) git clone https://github.com/micropython/micropython.git + $(DOCKER) git clone --depth 1 -b v1.22.2 https://github.com/micropython/micropython.git clean: test -d micropython && $(DOCKER) rm -rf micropython || true diff --git a/examples/micropython/Makefile b/examples/micropython/Makefile index dc1aacc8..157448d4 100644 --- a/examples/micropython/Makefile +++ b/examples/micropython/Makefile @@ -7,7 +7,7 @@ example: micropython $(MAKE) -C micropython/ports/unix USER_C_MODULES=../../.. micropython: - git clone https://github.com/micropython/micropython.git + git clone --depth 1 -b v1.22.2 https://github.com/micropython/micropython.git clean: rm -rf micropython