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

Support for eth01-evo board / chip ESP32-C3 #66

Open
Tobi4 opened this issue Jan 19, 2024 · 1 comment
Open

Support for eth01-evo board / chip ESP32-C3 #66

Tobi4 opened this issue Jan 19, 2024 · 1 comment

Comments

@Tobi4
Copy link

Tobi4 commented Jan 19, 2024

Is there any possiblity to flash the eth01-evo board, chip ESP32-C3 with the solution?

I'm running into the issue that the flash process aborts with the error message

A fatal error occurred: This chip is ESP32-C3 not ESP32. Wrong --chip argument?
CMake Error at run_serial_tool.cmake:56 (message):
  /opt/esp-idf-tools/python_env/idf4.4_py3.9_env/bin/python
  /opt/esp-idf/components/esptool_py/esptool/esptool.py --chip esp32 failed

I also tried to create a new build running the command upfront idf.py set-target esp32c3, but this does not change the target chip when trying to flash.

Any help would be useful. Thanks in advance.

@SpComb
Copy link
Member

SpComb commented Jan 19, 2024

Unfortunately this project only supports the ESP8266 and ESP32 (base) targets.

The esp-idf target is set in the sdk/esp-idf/Dockerfile Docker image, and it should be possible to change the ESP_IDF_TARGETS and build an SDK image for the esp32c3 target.

However, a lot of the lower-level components, and i2s_out in particular, use the i2s_ll.h or i2s_struct.h interfaces, which are target-specific, and the implementation would need to be explicitly ported to the esp32c3 SOC.

This is probably possible, but the ESP32 (base) SoC is the only one that has an actual Ethernet MAC with a RMII interface. I'm personally a little skeptical of the SPI-based Ethernet MAC/PHYs used in boards like the https://github.com/AI6YP/eth01-evo, but I can be convinced otherwise - but I'm doubtful if I would ever make the effort to port it by myself.

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

2 participants