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

[ETH01-EVO POE] compilation problem with DM9051 Ethernet component #8

Open
Sleeper85 opened this issue Nov 8, 2024 Discussed in #2 · 6 comments
Open

[ETH01-EVO POE] compilation problem with DM9051 Ethernet component #8

Sleeper85 opened this issue Nov 8, 2024 Discussed in #2 · 6 comments
Assignees

Comments

@Sleeper85
Copy link
Owner

Discussed in #2

Originally posted by Imanol82 November 2, 2024
Hello!

I'm making a new version of the yambms to put inside the box I printed in 3D.
I have already soldered all the wires and when I start to compile the yambms.yaml that I have running to install it on this new board I get this error.
What am I doing wrong?

Captura de pantalla 2024-11-02 124758

Thank you very much!!

@Sleeper85
Copy link
Owner Author

@Sleeper85 Sleeper85 self-assigned this Nov 8, 2024
@Sleeper85
Copy link
Owner Author

@Imanol82

Replace the old source with this code.

external_components:
  - source: 
      type: git
      url: https://github.com/esphome/esphome
      ref: d5bdf2575c151abfad39b6c24c3856395a7d0901
    components:
      - ethernet

@Imanol82
Copy link

Imanol82 commented Nov 8, 2024

Amazing. I've updated ESPHome and the firmware. Everything is working again.

Stupid question, why appears 1.4.4B as last instead of 1.4.5?

image

Thank you my friend, you're a master!!

and I have this warning too, I don't know if it's important.

Reading CMake configuration...
Warning! Flash memory size mismatch detected. Expected 4MB, found 2MB!
Please select a proper value in your sdkconfig.defaults or via the menuconfig target!

@Sleeper85
Copy link
Owner Author

It seems like you just didn't download the latest version from Github ?

@Sleeper85
Copy link
Owner Author

Sleeper85 commented Nov 8, 2024

Warning! Flash memory size mismatch detected. Expected 4MB, found 2MB!

The default flash size for an ESP32-C3-DevKitM-1 board is 4MB but it seems your ETH01-EVO board only has 2MB of Flash?

Try this:

esp32:
  board: esp32-c3-devkitm-1
  variant: esp32c3
  flash_size: 2MB
  framework:
    type: esp-idf
    version: latest
    platform_version: 6.5.0

@Imanol82
Copy link

Imanol82 commented Nov 8, 2024

No. If I put this, I receibe this error:

Error: The program size (944880 bytes) is greater than maximum allowed (786432 bytes)
*** [checkprogsize] Explicit exit, status 1
========================= [FAILED] Took 181.36 seconds =========================

So I take out. with warning but is working...

Thank you very much!

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