samples fail to build

nimbusgb
Posts: 9
Joined: Wed Dec 20, 2017 6:18 am

samples fail to build

Postby nimbusgb » Wed Apr 01, 2020 8:18 pm

Bulding play-mp3 and the VAD sample both fail in the same spot

Code: Select all

Toolchain path: /opt/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: crosstool-ng-1.22.0-80-g6c4433a5
Compiler version: 5.2.0
Python requirements from C:/msys64/home/Ian/esp/esp-idf/requirements.txt are satisfied.
CC build/main/example_vad_main.o
Z:/Development/esp/esp-adf/examples/speech_recognition/vad/main/example_vad_main.c: In function 'app_main':
Z:/Development/esp/esp-adf/examples/speech_recognition/vad/main/example_vad_main.c:47:5: error: unknown field 'tx_desc_auto_clear' specified in initializer
     i2s_stream_cfg_t i2s_cfg = I2S_STREAM_CFG_DEFAULT();
     ^
make[1]: *** [/home/Ian/esp/esp-idf/make/component_wrapper.mk:286: example_vad_main.o] Error 1
make: *** [C:/msys64/home/Ian/esp/esp-idf/make/project.mk:505: component-main-build] Error 2
Any ideas folks?

davidbbs
Posts: 4
Joined: Wed Jan 01, 2020 12:56 am

Re: samples fail to build

Postby davidbbs » Thu Apr 02, 2020 8:40 pm

Which version of esp-idf are you using?

nimbusgb
Posts: 9
Joined: Wed Dec 20, 2017 6:18 am

Re: samples fail to build

Postby nimbusgb » Fri Apr 03, 2020 7:25 pm

I'm using the version that installs with the ADF API.

I've given up trying to build this lot in windows it just doesn't work. Must have spent 3 very frustrating days on it. In Eclipse out of eclipse reinstalls etc etc. always some bug and msys32 takes minutes to compile even blink.

Fired up a linux vm under virtualbox and almost straight away i compiled a couple of the samples.

And now I have another problem.

the VAD example loads but apparently sees no MIC input.

Who is online

Users browsing this forum: No registered users and 12 guests