Closed politsin closed 1 year ago
please provide logs, ets_sys.h: No such file
does not look like the real log to me.
W:/proj/esp32-idf5-ds18b20/components/onewire/onewire.c:55:10: fatal error: ets_sys.h: No such file or directory
55 | #include <ets_sys.h>
| ^~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
The issue
I got en error
In the 5v esp-idf https://github.com/espressif/esp-idf/releases/tag/v5.0-beta1 in
Other
sectinon we can see: ROM: rom//ets_sys.h are not exposed from public header files by default.Solution
1) Replace all
ets_delay_us
whithesp_rom_delay_us
inonewire.c
2) addesp_rom
as dependencyPS: не делаю пулл-реквест, потому что он скорее всего сломает совместимость с
v4
Which SDK are you using?
esp-idf
Which version of SDK are you using?
v5.0-beta1
Which build target have you used?
Component causing the issue
onewire
Anything in the logs that might be useful for us?
No response
Additional information or context
No response
Confirmation