esp-idf-svc icon indicating copy to clipboard operation
esp-idf-svc copied to clipboard

ESP-IDF 5.2

Open owenthewizard opened this issue 1 year ago • 7 comments
trafficstars

ESP-IDF 5.2 adds a new field to the SPI ethernet configurations:

Added option to use SPI Ethernet modules in poll mode without interrupt. #12682 (34ec96e)

So far I have simply added the field and it passes cargo check, but there might be some further changes required?

owenthewizard avatar Apr 18 '24 21:04 owenthewizard

CI fails though?

ivmarkov avatar Apr 23 '24 06:04 ivmarkov

CI fails though?

It seems to me this is because esp-idf-hal needs to be updated as well.

owenthewizard avatar Apr 24 '24 19:04 owenthewizard

CI fails though?

It seems to me this is because esp-idf-hal needs to be updated as well.

No. The problem is in eth.rs and seems to come from your changes.

ivmarkov avatar Apr 25 '24 05:04 ivmarkov

CI fails though?

It seems to me this is because esp-idf-hal needs to be updated as well.

No. The problem is in eth.rs and seems to come from your changes.

I can't test the RISC-V targets:

error[E0463]: can't find crate for `core`
  |
  = note: the `riscv32imc-esp-espidf` target may not be installed
  = help: consider downloading the target with `rustup target add riscv32imc-esp-espidf`

owenthewizard avatar Apr 25 '24 16:04 owenthewizard

= help: consider downloading the target with rustup target add riscv32imc-esp-espidf

Did you try what the compiler suggested?

ivmarkov avatar Apr 25 '24 17:04 ivmarkov

rustup target add riscv32imc-esp-espidf

Of course...

error: toolchain 'esp' does not support components error: toolchain 'nightly-x86_64-unknown-linux-gnu' does not support target 'riscv32imc-esp-espidf'

owenthewizard avatar Apr 28 '24 12:04 owenthewizard

I think you are NOT really compiling with cargo build -Zbuild-std ..., as you should

Also can you do:

$ rustc --print target-list | grep espidf

It should print something like:

riscv32imac-esp-espidf
riscv32imafc-esp-espidf
riscv32imc-esp-espidf

ivmarkov avatar Apr 28 '24 12:04 ivmarkov

This is now addressed in master.

ivmarkov avatar Jun 09 '24 17:06 ivmarkov