This includes fixes to bad expectations for Bash version (5 is out) for esp-open-sdk , missing dependencies for esp-open-sdk (old versions of expat were removed as vulnerable, isl has been moved somewhere else), fixes to cpp code (bool++ issue) in esp-open-sdk, python version issues (internal api was used somewhere in gdb), patches needed to make stuff work with the latest esptool.
Bonus :) The document above also details the steps needed to build on Raspberry Pi, but flash remote on an ESP8266 connected to a Macbook (using rfc2217 - remote virtual ports). This makes stuff quite easy to remote develop using VSCode from a Macbook with the ESP connected but the actual build and all toolchain is located on the Raspberry (cleaner solution for lighter Macbook Airs).
As I am using Debian 12 on the Raspberry, the issues above will be there for anyone trying to build esp-open-sdk on newer systems.
A lot of things seem to no longer be available for esp-open-sdk. I've tried to build the entire thing on a new Raspberry 5 and hit a lot of issues.
All the process is documented here: https://github.com/andrei-gavrila/notes/blob/main/ESP8266-remote-development-esp-open-sdk-esp-open-rtos-HomeKit-on-Raspberry-Pi-from-Mabcook.md
This includes fixes to bad expectations for Bash version (5 is out) for esp-open-sdk , missing dependencies for esp-open-sdk (old versions of expat were removed as vulnerable, isl has been moved somewhere else), fixes to cpp code (bool++ issue) in esp-open-sdk, python version issues (internal api was used somewhere in gdb), patches needed to make stuff work with the latest esptool.
Bonus :) The document above also details the steps needed to build on Raspberry Pi, but flash remote on an ESP8266 connected to a Macbook (using rfc2217 - remote virtual ports). This makes stuff quite easy to remote develop using VSCode from a Macbook with the ESP connected but the actual build and all toolchain is located on the Raspberry (cleaner solution for lighter Macbook Airs).
As I am using Debian 12 on the Raspberry, the issues above will be there for anyone trying to build esp-open-sdk on newer systems.