Skip to content

Instantly share code, notes, and snippets.

@marchingband
Last active October 31, 2022 21:48
Show Gist options
  • Save marchingband/2fc560a5e70c074ba6b0aa0dd130c4b0 to your computer and use it in GitHub Desktop.
Save marchingband/2fc560a5e70c074ba6b0aa0dd130c4b0 to your computer and use it in GitHub Desktop.

I forked esp-idf on github, then in an ubuntu terminal :

git clone https://github.com/marchingband/esp-idf
git checkout release/v4.4
git apply {local-path-to-the-patch}
git add . && git commit -m"apply eMMC patch" && git push origin release/v4.4
sudo apt-get install git wget curl libssl-dev libncurses-dev flex bison gperf python python-pip python-setuptools python-serial python-click python-cryptography python-future python-pyparsing python-pyelftools cmake ninja-build ccache jq
sudo pip install --upgrade pip
git clone https://github.com/espressif/esp32-arduino-lib-builder
cd esp32-arduino-lib-builder
nano tools/install-esp-idf.sh

change line 14 to point at my fork of esp-idf

build -I release/v4.4 -t esp32s3 -c $HOME/.platformio/packages/framework-arduinoespressif32

Then I cooked and ate dinner, watched a tv show and had a shower, did some stretching, and then it was done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment