-
Notifications
You must be signed in to change notification settings - Fork 194
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
Some functions are missing in the binding file generated by esp-idf-sys #329
Comments
First of this is a esp-idf-sys issue not esp-idf-svc specific. To understand why you can't see the method you need to look how the complete chain is generated.
#ifdef ESP_IDF_COMP_SPI_FLASH_ENABLED
#include "esp_spi_flash.h"
#include "esp_partition.h"
#endif
|
(I've checked for esp32, not for esp32s3, but I don't think there is any difference between esp32 and esp32s3 w.r.t. flash functions.) The TL;DR is:
So... are you actually sure that you don't see that function? Feel free to reopen if there's an additional detail I'm missing. |
This function was not generated in esp32s3 |
you guys first need to tell what specific function you are talking about( what esp-idf version and where it comes from in the original C code), because there is a chance that there are multiple function with the same name here around. Also take note about this info regarding esp-idf 5+:
|
OK, I'll try to check for esp32s3 on my machine shortly (with both ESP IDF 4.X and 5.X). What ESP IDF specifically are you using? |
OK, so these functions are missing in the bindings from ESP IDF 5 onward. It is more about the fact that since ESP IDF 5 there is a new component, Anyway, I've pushed esp-rs/esp-idf-sys@2785e38 which should fix this. If the CI passes, please use |
Thanks |
Esp32s3 does not have many methods in the binding file 'bindings. rs' generated by' esp-idf-sys', but it does exist in the API doc. Why is this?
For example, esp_flash_get_size function, How can I configure to generate bindings for these functions?
The text was updated successfully, but these errors were encountered: