-
Notifications
You must be signed in to change notification settings - Fork 99
Compilation error: 'esp_netif_next_unsafe' was not declared in this scope #34
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
Comments
Hello, 'esp_netif_next_unsafe' problem (with some boards) has been solved here: #31. So please, just replace 'esp_netif_next_unsafe' with 'esp_netif_next' function. 'i2s_set_adc_mode' problem occurs because your board does not have an appropriate I2S interface. Oscilloscope will still run on this board if you comment out the '#define USE_I2S_INTERFACE' line in Esp32_servers_config.h. Single channel analog sampling will not be that fast and accurate though. |
Is the fix foir #31 going into the main code? (Thank you for letting me know.) |
esp_netif_next will be used in the next release. According to ESP-IDF Programming Guide (https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-reference/network/esp_netif.html) esp_netif_next is deprecated and Espressif suggests using a faser function esp_netif_next_unsafe. But there are some boards where esp_netif_next_unsafe is not supported. I haven't come across a board where esp_netif_next would not be supported though. |
I'm sorry I wasn't checking the issues for a while. I think it may not be relevant any more. EPS32's functions have changed, but not for all board versions. Most of them upgraded from esp_netif_next to esp_netif_next_unsafe, but not all of them. So if the code does not compile with esp_netif_next_unsafe just change the call back to esp_netif_next. It should work. |
Greetings, I got the compilation error when trying to compile the Esp32_oscilloscope code for a Heltec Wifi Kit 32 V3.
(This is an ESP32S3 board, without any PSRAM)
The code successfully builds and installs on the following:
Using Arduino IDE v2 (arduino-ide_2.3.3_Linux_64bit.AppImage) on Ubuntu 24.04
The text was updated successfully, but these errors were encountered: