Just wanted to share my experience setting up the DIY version last night and an issue I ran into on an m3 mac.
Problem
The multi-flash utility is running, but it’s stuck at “5% - Building firmware.” This means it’s hitting the same toolchain download/SSL error as before. The multi-flash script cannot bypass the underlying PlatformIO toolchain download problem.
Solution (for m1/m2/m3 mac)
Since you’re on an Apple Silicon Mac, the SSL/toolchain download issue is a known problem for PlatformIO and Espressif toolchains on ARM64. The best and most reliable workaround is to use the Terminal under Rosetta, which emulates Intel (x86_64) and allows PlatformIO to use the correct toolchain binaries and SSL libraries.
Step-by-Step: Use Rosetta Terminal for PlatformIO
1. Open Terminal with Rosetta
- Go to Finder → Applications → Utilities.
- Right-click on Terminal.app → Get Info.
- Check the box: Open using Rosetta.
- Close the Get Info window.
- Open a new Terminal window (this one will run under Rosetta).
2. (Optional but Recommended) Create a Fresh Python Virtual Environment
cd ~/repos/DeskHog
python3 -m venv venv-rosetta
source venv-rosetta/bin/activate
3. Install PlatformIO in the Rosetta Terminal
4. Clean Up Previous Build Attempts
5. Try Building Again
Why This Works
Rosetta allows you to run x86_64 binaries and libraries, which are more widely supported by PlatformIO and Espressif.
Just wanted to share my experience setting up the DIY version last night and an issue I ran into on an m3 mac.
Problem
The multi-flash utility is running, but it’s stuck at “5% - Building firmware.” This means it’s hitting the same toolchain download/SSL error as before. The multi-flash script cannot bypass the underlying PlatformIO toolchain download problem.
Solution (for m1/m2/m3 mac)
Since you’re on an Apple Silicon Mac, the SSL/toolchain download issue is a known problem for PlatformIO and Espressif toolchains on ARM64. The best and most reliable workaround is to use the Terminal under Rosetta, which emulates Intel (x86_64) and allows PlatformIO to use the correct toolchain binaries and SSL libraries.
Step-by-Step: Use Rosetta Terminal for PlatformIO
1. Open Terminal with Rosetta
2. (Optional but Recommended) Create a Fresh Python Virtual Environment
3. Install PlatformIO in the Rosetta Terminal
4. Clean Up Previous Build Attempts
5. Try Building Again
Why This Works
Rosetta allows you to run x86_64 binaries and libraries, which are more widely supported by PlatformIO and Espressif.