Open HowardHonig opened 2 years ago
For set_xpd_sar
error you should remove that empty function from app_wifi.c
.
For other errors, can you please mention the paths set here? (AUDIO_BOARD_PATH etc)?
The issue I believe is due to the difference in paths in Windows vs Linux. (Windows goes as \path\to\dir
vs linux /path/to/dir
). Try with linux style path and check?
Trying to run the idf.py flash monitor step and keep getting the following error: (using Win 10, power shell and cmd shell)
All the defined paths are correct, for example, export AWS_IOT_PATH=
So what's wrong with this thing now?
Tried PowerShell then switched to CMD shell. Getting all sorts of undefined reference: here is the output
-----------> cmd.exe /C "cd . && C:\Users\howar.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-g++.exe -mlongcalls -Wno-frame-address @CMakeFiles\aia.elf.rsp -o aia.elf && cd ." c:/users/howar/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/common/libcommon.a(app_wifi.c.obj): in function
set_xpd_sar': C:/Users/howar/Documents/Alexa/iot/exp-vaquita/esp-va-sdk/examples/common/app_wifi.c:185: multiple definition of
set_xpd_sar'; esp-idf/esp_wifi/libesp_wifi.a(wifi_init.c.obj):C:/Users/howar/Desktop/esp-idf/components/esp_wifi/src/wifi_init.c:319: first defined here c:/users/howar/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/misc/libmisc.a(va_diag_cli.c.obj):(.literal.va_diag_register_cli+0x8): undefined reference todiag_register_cli' c:/users/howar/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/misc/libmisc.a(va_diag_cli.c.obj): in function
va_diag_register_cli': C:/Users/howar/Documents/Alexa/iot/exp-vaquita/esp-va-sdk/components/misc/va_diag_cli.c:104: undefined reference todiag_register_cli' c:/users/howar/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/audio_board_dspg_avs_kit_m/libaudio_board_dspg_avs_kit_m.a(va_board.c.obj):(.literal.va_board_init+0x24): undefined reference to
media_hal_init_playback' c:/users/howar/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/audio_board_dspg_avs_kit_m/libaudio_board_dspg_avs_kit_m.a(va_board.c.obj):(.literal.va_board_init+0x30): undefined reference toled_pattern_init' c:/users/howar/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/audio_board_dspg_avs_kit_m/libaudio_board_dspg_avs_kit_m.a(va_board.c.obj):(.literal.va_board_init+0x34): undefined reference to
va_led_init' c:/users/howar/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/audio_board_dspg_avs_kit_m/libaudio_board_dspg_avs_kit_m.a(va_board.c.obj): in functionva_board_init': C:/Users/howar/Documents/Alexa/iot/exp-vaquita/esp-va-sdk/components/audio_hal/audio_board/audio_board_vaquita_dspg/audio_board_dspg_avs_kit_m/va_board.c:105: undefined reference to
media_hal_init_playback'