Skip to content

Commit

Permalink
Update the ESP-IDF tooling version to fix crashes (#25)
Browse files Browse the repository at this point in the history
Update the ESP-IDF tooling to master or v5.4 when released to fix issues for Embedded Swift. Random numbers do not work on 5.1.2 - 5.3.1, the fix is on master, but we don't have a 5.4 release yet. There are other fixes as well.
  • Loading branch information
PaulSolt authored Oct 14, 2024
1 parent 13a3576 commit b4d5d41
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ RUN apt-get update \
# Install CMake >= 3.29
RUN pip install --upgrade cmake

# Download ESP-IDF
# Download the ESP-IDF SDK (`master` or `v5.4` when released)
RUN mkdir -p ~/esp \
&& cd ~/esp \
&& git clone \
--branch v5.2.1 \
--branch master \
--depth 1 \
--shallow-submodules \
--recursive https://github.com/espressif/esp-idf.git \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ $ brew install cmake ninja dfu-util
# Create an ESP SDK directory
$ mkdir -p ~/esp

# Download the ESP-IDF SDK
# Download the ESP-IDF SDK (`master` or `v5.4` when released)
$ cd ~/esp
$ git clone \
--branch v5.2.1 \
--branch master \
--depth 1 \
--shallow-submodules \
--recursive https://github.com/espressif/esp-idf.git \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ $ brew install cmake ninja dfu-util
# Create an ESP SDK directory
$ mkdir -p ~/esp

# Download the ESP-IDF SDK
# Download the ESP-IDF SDK (`master` or `v5.4` when released)
$ cd ~/esp
$ git clone \
--branch v5.2.1 \
--branch master \
--depth 1 \
--shallow-submodules \
--recursive https://github.com/espressif/esp-idf.git \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ $ brew install cmake ninja dfu-util
# Create an ESP SDK directory
$ mkdir -p ~/esp

# Download the ESP-IDF SDK
# Download the ESP-IDF SDK (`master` or `v5.4` when released)
$ cd ~/esp
$ git clone \
--branch v5.2.1 \
--branch master \
--depth 1 \
--shallow-submodules \
--recursive https://github.com/espressif/esp-idf.git \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ $ brew install cmake ninja dfu-util
# Create an ESP SDK directory
$ mkdir -p ~/esp

# Download the ESP-IDF SDK
# Download the ESP-IDF SDK (`master` or `v5.4` when released)
$ cd ~/esp
$ git clone \
--branch v5.2.1 \
--branch master \
--depth 1 \
--shallow-submodules \
--recursive https://github.com/espressif/esp-idf.git \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
@ContentAndMedia {
Install the tools and SDKs needed to build an ESP32-C6 Matter accessory.

The steps here should be enough to get started quickly, but for additional detailed instructions see the official [ESP-IDF Setup](https://docs.espressif.com/projects/esp-idf/en/v5.2.1/esp32/get-started/linux-macos-setup.html) and [ESP-Matter Setup](https://docs.espressif.com/projects/esp-matter/en/latest/esp32/developing.html#esp-matter-setup) documentation.
The steps here should be enough to get started quickly, but for additional detailed instructions see the official [ESP-IDF Setup](https://docs.espressif.com/projects/esp-idf/en/v5.3.1/esp32/get-started/linux-macos-setup.html) and [ESP-Matter Setup](https://docs.espressif.com/projects/esp-matter/en/latest/esp32/developing.html#esp-matter-setup) documentation.
}

@Steps {
Expand All @@ -108,7 +108,7 @@
}

@Step {
Clone the ESP-IDF repository version 5.2.1 from GitHub.
Clone the ESP-IDF `master` branch (5.4 when released) from GitHub.

Note this SDK is quite large (~500 MB for a shallow clone) and may take significant time to download depending on your internet connection.

Expand Down

0 comments on commit b4d5d41

Please sign in to comment.