Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates steps required to build in Raspberry Pi (Debian 12) #396

Open
andrei-gavrila opened this issue Jan 8, 2024 · 0 comments
Open

Updates steps required to build in Raspberry Pi (Debian 12) #396

andrei-gavrila opened this issue Jan 8, 2024 · 0 comments

Comments

@andrei-gavrila
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant