Open vortex314 opened 3 hours ago
Why don't you try to generate a small, clean project using the esp-idf-template
first and see if that builds?
Please follow all instructions in its README carefully.
Also, do not mix esp-hal
crates with esp-idf-*
crates (esp-println). They don't mix and match yet.
Also, please don't try to download esp idf and activate it yourself. As per the README, this is supported but NOT necessary, and unless you know really well what you are doing, this will certainly fail the build: Using activated esp-idf v5.1.4 environment at '/home/lieven/esp/esp-idf'
When trying to include esp_idf_svc in my build for esp32, I always have the issue as mentioned below. I try to include this crate as I need motor control and use the capture functionality which is not yet available in the esp_hal mcpwm no_std. So I thought using the esp-idf-sys wrappers.
I have no clue and there is no documentation available on what you need to specify for this env ESP_IDF_SYS_ROOT_CRATE variable.
Getting desperate to make this work after endless attempts to make this work. Anybody can help ?
Sources : https://github.com/vortex314/zenoh-projects/tree/main/esp32-idf-dc-motor