We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
git describe --tags
xtensa-esp32-elf-gcc --version
When I try to use the example code from https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/provisioning/wifi_provisioning.html, I get:
error: implicit declaration of function 'ESP_ERR_CHECK'; did you mean 'ESP_ERROR_CHECK'? [-Werror=implicit-function-declaration]
I am new to ESP32 development, but as far as I can tell, ESP_ERR_CHECK is indeed supposed to be ESP_ERROR_CHECK.
ESP_ERR_CHECK
ESP_ERROR_CHECK
The example code should compile without errors.
The example code cannot be compiled.
Copy and paste any of the examples that contain ESP_ERR_CHECK from https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/provisioning/wifi_provisioning.html into an ESP-IDF project.
#include <wifi_provisioning/manager.h> #include <wifi_provisioning/scheme_ble.h> void app_main(void) { wifi_prov_mgr_config_t config = { .scheme = wifi_prov_scheme_ble, .scheme_event_handler = WIFI_PROV_SCHEME_BLE_EVENT_HANDLER_FREE_BTDM }; ESP_ERR_CHECK( wifi_prov_mgr_init(config) ); }
The text was updated successfully, but these errors were encountered:
22964d2
No branches or pull requests
Environment
git describe --tags
to find it): v4.2.1xtensa-esp32-elf-gcc --version
to find it): xtensa-esp32-elf-gcc (crosstool-NG esp-2020r3) 8.4.0Problem Description
When I try to use the example code from https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/provisioning/wifi_provisioning.html, I get:
I am new to ESP32 development, but as far as I can tell,
ESP_ERR_CHECK
is indeed supposed to beESP_ERROR_CHECK
.Expected Behavior
The example code should compile without errors.
Actual Behavior
The example code cannot be compiled.
Steps to reproduce
Copy and paste any of the examples that contain
ESP_ERR_CHECK
from https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/provisioning/wifi_provisioning.html into an ESP-IDF project.Code to reproduce this issue
The text was updated successfully, but these errors were encountered: