blackmagic-esp32-s2 icon indicating copy to clipboard operation
blackmagic-esp32-s2 copied to clipboard

WIP: Refactor: Update to esp-idf v.5.0.2

Open alufers opened this issue 1 year ago • 4 comments

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.

image

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 with esp_netif_ip_info_t
  • [x] Change CI
  • [x] Update docs in README.md
  • [x] Test and debug

alufers avatar May 28 '23 00:05 alufers

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!

DrZlo13 avatar May 29 '23 11:05 DrZlo13

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.

gautam-dev-maker avatar Sep 19 '23 11:09 gautam-dev-maker

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 avatar Feb 01 '24 21:02 augustozanellato

@augustozanellato yes we are planning to accept this PR. As soon as all issues with it will be fixed.

skotopes avatar Feb 01 '24 22:02 skotopes