blackmagic-esp32-s2
blackmagic-esp32-s2 copied to clipboard
WIP: Refactor: Update to esp-idf v.5.0.2
Hi!
As you might know the 4.x branch of esp-idf has entered maintenance mode, so only high severity bugs are fixed. It will stop being maintained in 2024, so I've decided to update this project to esp idf v5.0.2.
Currently the project compiles under v5.0.2, connects to Wi-Fi but I'm having trouble getting it to actually debug and flash the flipper using my Wifi devboard. I will need to debug it a bit further, but any input from you guys would be appreciated.
Task list:
- [x] Add components to the
REQUIRES
argument of idf_component_register - [x] Add missing includes
- [x] Change constants and breaking API changes
- [x] Use Espressif's tiny usb
- [x] Add esp-idf component-manager (needed for MDNS and tinyusb)
- [x] Replace usage of
tcpip_adapter_ip_info_t
withesp_netif_ip_info_t
- [x] Change CI
- [x] Update docs in README.md
- [x] Test and debug
Wow, this is amazing work.
We always wanted to switch to esp-idf v5, but we did not have enough time. We will follow the progress, thanks!
This PR seems to work fine against IDF VERSION
v5.1.1.
I was able to load and flash through gdb over the wifi on my stm32 board.
I am using ESP32S3. I think a sdkconfig.defaults
file should be maintained so that this repository will be supported for all the espressif devices.
Any plans on getting this PR rebased and merged? I'd like to develop new features for the devboard firmware, specifically I was thinking about implementing and RPC<->TCP proxy using the new Expansion Module protocol, and I'd like to know which branch would be better to base my work on. Thanks in advance :)
@augustozanellato yes we are planning to accept this PR. As soon as all issues with it will be fixed.