It is not working with esp-idf
edwinclement08 opened this issue · comments
Device: ESP32-WROOM-32
Steps:
Run get_idf
in the directory
Run make all
to build the app
Compilation crashes after a while with this
CC build/esp_wifi/src/wifi_init.o $IDF_PATH/esp/esp-idf/components/esp_wifi/src/wifi_init.c:32:2: error: #error "WiFi configuration check: WARNING, WIFI_RX_BA_WIN should not be larger than WIFI_DYNAMIC_RX_BUFFER_NUM!" #error "WiFi configuration check: WARNING, WIFI_RX_BA_WIN should not be larger than WIFI_DYNAMIC_RX_BUFFER_NUM!" ^~~~~ make[1]: *** [$IDF_PATH/esp/esp-idf/make/component_wrapper.mk:292: src/wifi_init.o] Error 1 make: *** [$IDF_PATH/esp/esp-idf/make/project.mk:642: component-esp_wifi-build] Error 2
A working sample is nopnop2002/esp-idf-ssd1306@00c756c
No changes for code were necessary. Just run get_idf
and then run the following snippet to build, flash and monitor it.
idf.py build && idf.py -p /dev/ttyUSB0 -b 921600 flash && idf.py -p /dev/ttyUSB0 monitor
Substitute the appropriate values in.