Every time I call the wifi_init() from wifi module I get this from output:
$HOME/esp/esp-idf/components/esp32/lib/libnet80211.a(ieee80211_api.o):(.text.wifi_init_in_caller_task+0x14): undefined reference to `misc_nvs_init'
$HOME/esp/esp-idf/components/esp32/lib/libnet80211.a(ieee80211_api.o): In function `wifi_init_in_caller_task':
(.text.wifi_init_in_caller_task+0x54): undefined reference to `misc_nvs_init'
$HOME/esp/esp-idf/components/esp32/lib/libnet80211.a(ieee80211_output.o):(.text.ieee80211_send_mgmt+0x18): undefined reference to `g_misc_nvs'
$HOME/esp/esp-idf/components/esp32/lib/libnet80211.a(ieee80211_hostap.o):(.text.hostap_input+0x0): undefined reference to `g_log_mod'
$HOME/esp/esp-idf/components/esp32/lib/libnet80211.a(ieee80211_ioctl.o):(.text.wifi_deinit_process+0x0): undefined reference to `misc_nvs_deinit'
$HOME/esp/esp-idf/components/esp32/lib/libnet80211.a(ieee80211_ioctl.o):(.text.wifi_deinit_process+0x16): undefined reference to `misc_nvs_deinit'
$HOME/esp/esp-idf/components/esp32/lib/libnet80211.a(ieee80211_ioctl.o):(.text.wifi_restore_process+0x0): undefined reference to `misc_nvs_restore'
$HOME/esp/esp-idf/components/esp32/lib/libnet80211.a(ieee80211_ioctl.o):(.text.wifi_restore_process+0x7): undefined reference to `misc_nvs_restore'
$HOME/esp/esp-idf/components/esp32/lib/libnet80211.a(ieee80211.o):(.text.wifi_mode_set+0x0): undefined reference to `g_log_level'
collect2: error: ld returned 1 exit status
make: *** [$HOME/Projects/ESP32/ESPBoy/software/build/ESPBoy.elf] Error 1
Every time I call the wifi_init() from wifi module I get this from output:
Probably some Makefile configuration is missing.