Unknown file or directory

NickVerlooy93
Posts: 7
Joined: Wed Jul 10, 2019 7:05 am

Unknown file or directory

Postby NickVerlooy93 » Wed Jul 10, 2019 12:56 pm

I've installed esp-idf with success and played around with some examples like hello-world and blink.
This seems to work fine.

Now I'm trying to perform the play_mp3 example in esp-adf.
This isn't working and I noticed the following:

/bin/sh: regel 0: cd: C:Usersnick.verlooyespesp-adf: No such file or directory
Toolchain path: /opt/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: esp32-2019r1
Compiler version: 8.2.0
Python requirements from C:/Users/nick.verlooy/esp/esp-idf/requirements.txt are satisfied.

I see the 'no such file or directory' popping up and I have no idea how to fix this. I've set the ADF_PATH correctly.
Does someone know where and how I can solve this? Hope this makes the play_mp3 example work properly.

NickVerlooy93
Posts: 7
Joined: Wed Jul 10, 2019 7:05 am

Re: Unknown file or directory

Postby NickVerlooy93 » Thu Jul 11, 2019 8:07 am

Deleting some 'shell' word in the /esp-adf/project.mk file makes the error go away.

Thus, I changed:
ADF_VER := $(shell cd ${ADF_PATH} && git describe --always --tags --dirty)

into:
ADF_VER := $(cd ${ADF_PATH} && git describe --always --tags --dirty)

Not sure if the error is now solved since I get other warnings / errors right now and the play_music app still does not work.
This is what I get after doing the 'make flash -j' command:

Code: Select all

$ make flash -j
Toolchain path: /opt/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: esp32-2019r1
Compiler version: 8.2.0
Python requirements from C:/Users/nick.verlooy/esp/esp-idf/requirements.txt are satisfied.
Project is not inside a git repository, will not use 'git describe' to determine PROJECT_VER.
App "play_mp3" version: 1
CC build/adf_utils/json_utils.o
CC build/adf_utils/cloud_services/aws_sig_v4_signing.o
CC build/app_trace/heap_trace_tohost.o
CC build/adf_utils/cloud_services/baidu_access_token.o
CC build/app_trace/app_trace.o
CC build/app_trace/host_file_io.o
CC build/audio_board/lyrat_v4_3/board_pins_config.o
CXX build/asio/asio/asio/src/asio.o
CC build/audio_board/lyrat_v4_3/board.o
CC build/audio_hal/audio_hal.o
CC build/audio_pipeline/audio_element.o
Project is not inside a git repository, will not use 'git describe' to determine PROJECT_VER.
CC build/audio_pipeline/audio_pipeline.o
CC build/audio_hal/driver/es8388/es8388.o
CC build/audio_sal/audio_mem.o
CC build/audio_pipeline/ringbuf.o
CC build/app_trace/app_trace_util.o
CC build/audio_stream/http_stream.o
CC build/audio_sal/audio_url.o
CC build/app_trace/gcov/gcov_rtio.o
CC build/audio_stream/spiffs_stream.o
CC build/bluetooth_service/bluetooth_service.o
CC build/audio_stream/raw_stream.o
CC build/bluetooth_service/bt_keycontrol.o
CC build/audio_hal/driver/es8388/headphone_detect.o
CC build/bootloader_support/src/bootloader_random.o
CC build/audio_hal/driver/es8374/es8374.o
CC build/audio_pipeline/audio_event_iface.o
CC build/bootloader_support/src/flash_encrypt.o
CC build/audio_hal/driver/es8311/es8311.o
Python requirements from C:/Users/nick.verlooy/esp/esp-idf/requirements.txt are satisfied.
CC build/console/commands.o
CC build/audio_stream/i2s_stream.o
CC build/audio_stream/fatfs_stream.o
CXX build/cxx/cxx_exception_stubs.o
CC build/coap/libcoap/src/async.o
CC build/bootloader_support/src/esp_image_format.o
CC build/display_service/display_service.o
CC build/coap/libcoap/src/address.o
CXX build/cxx/cxx_guards.o
CC build/bootloader_support/src/flash_partitions.o
CC build/audio_hal/driver/es7243/es7243.o
CC build/display_service/led_indicator/led_indicator.o
CC build/coap/libcoap/src/block.o
CC build/audio_hal/driver/zl38063/zl38063.o
CC build/display_service/led_bar/led_bar_is31x.o
CC build/dueros_service/esp_audio_device_info.o
CC build/bootloader_support/src/bootloader_clock.o
CC build/driver/rtc_module.o
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/esp_peripherals/include/periph_led.h:28,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/display_service/led_indicator/led_indicator.c:25:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
CC build/bootloader_support/src/bootloader_common.o
CC build/audio_hal/driver/zl38063/api_lib/vprocTwolf_access.o
CC build/dueros_service/dueros_service.o
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_event_iface.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/esp_peripherals/include/esp_peripherals.h:29,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board.h:31,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board.c:26:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/esp_peripherals/include/periph_sdcard.h:28,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board.c:29:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/esp_peripherals/include/periph_touch.h:28,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board.c:31:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/esp_peripherals/include/periph_button.h:28,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board.c:32:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
CC build/driver/sdmmc_host.o
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/audio_element.c:34:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_event_iface.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/audio_element.c:36:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_element.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/audio_element.c:38:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
App "play_mp3" version: 1
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_event_iface.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/esp_peripherals/include/esp_peripherals.h:29,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board.h:31,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_hal/driver/es8388/headphone_detect.c:35:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
CC build/audio_hal/driver/zl38063/api_lib/vproc_common.o
CC build/audio_hal/driver/zl38063/example_apps/tw_ldfwcfg.o
CC build/bootloader_support/src/bootloader_utility.o
CC build/audio_hal/driver/zl38063/example_apps/tw_ldfw.o
C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/audio_element.c: In function 'audio_element_process_state_running':
C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/audio_element.c:324:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
                 audio_element_cmd_send(el, AEL_MSG_CMD_ERROR);
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/audio_element.c:325:13: note: here
             default:
             ^~~~~~~
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_event_iface.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/esp_peripherals/include/esp_peripherals.h:29,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/esp_peripherals/include/periph_led.h:32,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/display_service/led_indicator/led_indicator.c:25:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
CC build/driver/spi_slave.o
CC build/driver/i2c.o
CC build/esp-tls/esp_tls.o
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_event_iface.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/esp_peripherals/include/esp_peripherals.h:29,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board.h:31,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_hal/driver/es7243/es7243.c:28:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_element.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/audio_pipeline.c:32:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_event_iface.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_element.h:32,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/audio_pipeline.c:32:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/audio_pipeline.c:34:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_pipeline.h:28,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/audio_pipeline.c:35:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_element.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_stream/include/spiffs_stream.h:29,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_stream/spiffs_stream.c:35:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_event_iface.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_element.h:32,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_stream/include/spiffs_stream.h:29,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_stream/spiffs_stream.c:35:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
CC build/efuse/src/esp_efuse_fields.o
CC build/driver/can.o
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_element.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_stream/include/fatfs_stream.h:29,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_stream/fatfs_stream.c:35:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_event_iface.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_element.h:32,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_stream/include/fatfs_stream.h:29,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_stream/fatfs_stream.c:35:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
CC build/esp-adf-libs/esp_codec/audio_sonic.o
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_event_iface.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/esp_peripherals/include/esp_peripherals.h:29,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board.h:31,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_hal/driver/zl38063/zl38063.c:32:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
CC build/esp-adf-libs/esp_codec/wav_decoder.o
CC build/coap/libcoap/src/coap_event.o
CC build/efuse/esp32/esp_efuse_table.o
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_event_iface.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/esp_peripherals/include/esp_peripherals.h:29,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board.h:31,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c:28:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
CC build/esp-adf-libs/esp_codec/downmix.o
CC build/esp-adf-libs/esp_codec/wav_encoder.o
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board.h:29,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c:28:
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c: In function 'get_input_set_id':
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_def.h:33:35: error: 'TOUCH_PAD_NUM9' undeclared (first use in this function)
 #define BUTTON_SET_ID             TOUCH_PAD_NUM9
                                   ^~~~~~~~~~~~~~
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c:164:12: note: in expansion of macro 'BUTTON_SET_ID'
     return BUTTON_SET_ID;
            ^~~~~~~~~~~~~
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_def.h:33:35: note: each undeclared identifier is reported only once for each function it appears in
 #define BUTTON_SET_ID             TOUCH_PAD_NUM9
                                   ^~~~~~~~~~~~~~
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c:164:12: note: in expansion of macro 'BUTTON_SET_ID'
     return BUTTON_SET_ID;
            ^~~~~~~~~~~~~
CC build/bootloader_support/src/flash_qio_mode.o
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c: In function 'get_input_play_id':
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_def.h:34:35: error: 'TOUCH_PAD_NUM8' undeclared (first use in this function)
 #define BUTTON_PLAY_ID            TOUCH_PAD_NUM8
                                   ^~~~~~~~~~~~~~
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c:169:12: note: in expansion of macro 'BUTTON_PLAY_ID'
     return BUTTON_PLAY_ID;
            ^~~~~~~~~~~~~~
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c: In function 'get_input_volup_id':
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_def.h:35:35: error: 'TOUCH_PAD_NUM7' undeclared (first use in this function)
 #define BUTTON_VOLUP_ID           TOUCH_PAD_NUM7
                                   ^~~~~~~~~~~~~~
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c:174:12: note: in expansion of macro 'BUTTON_VOLUP_ID'
     return BUTTON_VOLUP_ID;
            ^~~~~~~~~~~~~~~
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_element.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_stream/include/raw_stream.h:29,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_stream/raw_stream.c:35:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_event_iface.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_element.h:32,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_stream/include/raw_stream.h:29,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_stream/raw_stream.c:35:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
CC build/app_update/esp_ota_ops.o
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c: In function 'get_input_voldown_id':
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_def.h:36:35: error: 'TOUCH_PAD_NUM4' undeclared (first use in this function)
 #define BUTTON_VOLDOWN_ID         TOUCH_PAD_NUM4
                                   ^~~~~~~~~~~~~~
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c:179:12: note: in expansion of macro 'BUTTON_VOLDOWN_ID'
     return BUTTON_VOLDOWN_ID;
            ^~~~~~~~~~~~~~~~~
CC build/audio_hal/driver/zl38063/example_apps/tw_spi_access.o
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c: In function 'get_input_set_id':
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c:165:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c: In function 'get_input_play_id':
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c:170:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c: In function 'get_input_volup_id':
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c:175:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c: In function 'get_input_voldown_id':
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c:180:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
CC build/esp_actions/wifi_action.o
cc1.exe: some warnings being treated as errors
CC build/bootloader_support/src/idf/bootloader_sha.o
CC build/coap/libcoap/src/coap_hashkey.o
CC build/driver/mcpwm.o
make[1]: *** [/c/Users/nick.verlooy/esp/esp-idf/make/component_wrapper.mk:293: lyrat_v4_3/board_pins_config.o] Fout 1
make[1]: *** Wachten op onvoltooide taken...
CC build/esp32/int_wdt.o
CC build/efuse/src/esp_efuse_utility.o
CC build/esp-adf-libs/esp_codec/filter_resample.o
CC build/app_update/esp_app_desc.o
CC build/esp32/system_api.o
CC build/esp_actions/recorder_action.o
CC build/esp32/esp_himem.o
CC build/audio_hal/driver/zl38063/example_apps/tw_ldcfg.o
CC build/audio_hal/driver/zl38063/example_apps/tw_hal_verify.o
CC build/driver/sdmmc_transaction.o
CC build/bootloader_support/src/bootloader_flash.o
CC build/esp_adc_cal/esp_adc_cal.o
CC build/driver/pcnt.o
CC build/esp_actions/dueros_action.o
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_element.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_stream/i2s_stream.c:40:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_event_iface.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/esp_peripherals/include/esp_peripherals.h:29,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/display_service/led_bar/include/led_bar_is31x.h:29,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/display_service/led_bar/led_bar_is31x.c:28:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_event_iface.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_element.h:32,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_stream/i2s_stream.c:40:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
CC build/esp32/brownout.o
CC build/esp_actions/player_action.o
CC build/esp32/dport_access.o
CC build/esp_actions/display_action.o
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_element.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/esp-adf-libs/esp_codec/downmix.c:8:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_event_iface.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_element.h:32,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/esp-adf-libs/esp_codec/downmix.c:8:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
CC build/efuse/src/esp_efuse_api.o
C:/Users/nick.verlooy/esp/esp-adf/components/esp-adf-libs/esp_codec/downmix.c: In function 'downmix_process':
C:/Users/nick.verlooy/esp/esp-adf/components/esp-adf-libs/esp_codec/downmix.c:206:17: error: 'memset' specified size between 2147483648 and 4294967295 exceeds maximum object size 2147483647 [-Werror=stringop-overflow=]
                 memset(downmix->inbuf0, 0, bytes_one);
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [C:\Users\nick.verlooy\esp\esp-idf/make/project.mk:584: component-audio_board-build] Fout 2
make: *** Wachten op onvoltooide taken...
CC build/driver/rmt.o
CC build/esp32/hw_random.o
CC build/bootloader_support/src/idf/secure_boot_signatures.o
cc1.exe: some warnings being treated as errors
CC build/esp-adf-libs/esp_codec/audio_alc.o
CC build/esp-adf-libs/esp_codec/equalizer.o
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_event_iface.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/esp_peripherals/include/esp_peripherals.h:29,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board.h:31,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/dueros_service/dueros_service.c:40:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_element.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/esp-adf-libs/esp_audio/include/esp_audio.h:8,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/dueros_service/dueros_service.c:45:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_event_iface.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/esp_peripherals/include/esp_peripherals.h:29,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board.h:31,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_hal/driver/zl38063/api_lib/vproc_common.c:19:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
AR build/bluetooth_service/libbluetooth_service.a
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_element.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/esp-adf-libs/esp_codec/wav_encoder.c:12:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_event_iface.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_element.h:32,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/esp-adf-libs/esp_codec/wav_encoder.c:12:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_element.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/esp-adf-libs/esp_codec/audio_sonic.c:8:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_event_iface.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_element.h:32,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/esp-adf-libs/esp_codec/audio_sonic.c:8:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
make[1]: *** [/c/Users/nick.verlooy/esp/esp-idf/make/component_wrapper.mk:292: esp_codec/downmix.o] Fout 1
make[1]: *** Wachten op onvoltooide taken...
AR build/console/libconsole.a
CC build/driver/timer.o
CC build/coap/libcoap/src/coap_session.o
AR build/audio_sal/libaudio_sal.a
CC build/coap/libcoap/src/coap_time.o
CC build/esp32/reset_reason.o
CC build/esp_common/src/esp_timer.o
CC build/esp_common/src/stack_check.o
C:/Users/nick.verlooy/esp/esp-adf/components/audio_hal/driver/zl38063/example_apps/tw_hal_verify.c: In function 'test_zl38063':
C:/Users/nick.verlooy/esp/esp-adf/components/audio_hal/driver/zl38063/example_apps/tw_hal_verify.c:168:5: error: 'memset' used with length equal to number of elements without multiplication by element size [-Werror=memset-elt-size]
     memset(val, 0, MAX_WORDS_FOR_MULTIWORD_ACCESS_TEST);
     ^~~~~~
C:/Users/nick.verlooy/esp/esp-adf/components/audio_hal/driver/zl38063/example_apps/tw_hal_verify.c:169:5: error: 'memset' used with length equal to number of elements without multiplication by element size [-Werror=memset-elt-size]
     memset(tempbuf, 0, MAX_WORDS_FOR_MULTIWORD_ACCESS_TEST);
     ^~~~~~
C:/Users/nick.verlooy/esp/esp-adf/components/audio_hal/driver/zl38063/example_apps/tw_spi_access.c: In function 'zl38063_comm':
C:/Users/nick.verlooy/esp/esp-adf/components/audio_hal/driver/zl38063/example_apps/tw_spi_access.c:253:9: error: 'memset' used with length equal to number of elements without multiplication by element size [-Werror=memset-elt-size]
         memset(val, 0, 128);
         ^~~~~~
CC build/esp32/pm_esp32.o
cc1.exe: some warnings being treated as errors
CC build/esp_common/src/esp_err_to_name.o
make[1]: *** [/c/Users/nick.verlooy/esp/esp-idf/make/component_wrapper.mk:292: driver/zl38063/example_apps/tw_hal_verify.o] Fout 1
make[1]: *** Wachten op onvoltooide taken...
CC build/esp32/intr_alloc.o
AR build/app_trace/libapp_trace.a
cc1.exe: some warnings being treated as errors
CC build/coap/libcoap/src/coap_debug.o
make[1]: *** [/c/Users/nick.verlooy/esp/esp-idf/make/component_wrapper.mk:292: driver/zl38063/example_apps/tw_spi_access.o] Fout 1
CC build/driver/gpio.o
CC build/esp_common/src/pm_locks.o
AR build/adf_utils/libadf_utils.a
CC build/esp_common/src/ipc.o
CC build/esp_common/src/ets_timer_legacy.o
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_element.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/esp-adf-libs/esp_codec/equalizer.c:8:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
CC build/driver/sdspi_host.o
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_event_iface.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_element.h:32,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/esp-adf-libs/esp_codec/equalizer.c:8:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
CC build/coap/libcoap/src/encode.o
CC build/driver/uart.o
CC build/coap/libcoap/src/mem.o
CC build/esp32/cache_err_int.o
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_element.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/esp-adf-libs/esp_codec/filter_resample.c:8:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_event_iface.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_element.h:32,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/esp-adf-libs/esp_codec/filter_resample.c:8:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
CC build/coap/libcoap/src/net.o
C:/Users/nick.verlooy/esp/esp-adf/components/esp-adf-libs/esp_codec/filter_resample.c: In function 'rsp_filter_open':
C:/Users/nick.verlooy/esp/esp-adf/components/esp-adf-libs/esp_codec/filter_resample.c:90:30: warning: initialization of 'unsigned char' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
     unsigned char p_in[1] = {NULL};
                              ^~~~
C:/Users/nick.verlooy/esp/esp-adf/components/esp-adf-libs/esp_codec/filter_resample.c:90:30: note: (near initialization for 'p_in[0]')
C:/Users/nick.verlooy/esp/esp-adf/components/esp-adf-libs/esp_codec/filter_resample.c:91:31: warning: initialization of 'unsigned char' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
     unsigned char p_out[1] = {NULL};
                               ^~~~
C:/Users/nick.verlooy/esp/esp-adf/components/esp-adf-libs/esp_codec/filter_resample.c:91:31: note: (near initialization for 'p_out[0]')
CC build/esp_common/src/freertos_hooks.o
AR build/dueros_service/libdueros_service.a
CC build/esp32/spiram.o
CC build/esp_common/src/dbg_stubs.o
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_element.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/esp-adf-libs/esp_codec/wav_decoder.c:12:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_event_iface.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_element.h:32,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/esp-adf-libs/esp_codec/wav_decoder.c:12:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_element.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/esp-adf-libs/esp_codec/audio_alc.c:9:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_event_iface.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_element.h:32,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/esp-adf-libs/esp_codec/audio_alc.c:9:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_element.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_stream/include/http_stream.h:29,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_stream/http_stream.c:36:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_event_iface.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_element.h:32,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_stream/include/http_stream.h:29,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_stream/http_stream.c:36:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_element.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/esp-adf-libs/esp_audio/include/esp_audio.h:8,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/esp_actions/player_action.c:27:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_event_iface.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_element.h:32,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/esp-adf-libs/esp_audio/include/esp_audio.h:8,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/esp_actions/player_action.c:27:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
AR build/app_update/libapp_update.a
CC build/coap/libcoap/src/option.o
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_event_iface.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/audio_event_iface.c:33:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
CC build/coap/libcoap/src/pdu.o
CC build/coap/libcoap/src/resource.o
AR build/esp_adc_cal/libesp_adc_cal.a
CC build/driver/ledc.o
CC build/driver/periph_ctrl.o
CC build/esp32/clk.o
AR build/esp-tls/libesp-tls.a
CC build/coap/libcoap/src/str.o
make: *** [C:\Users\nick.verlooy\esp\esp-idf/make/project.mk:584: component-esp-adf-libs-build] Fout 2
CC build/esp32/spiram_psram.o
AR build/cxx/libcxx.a
CC build/esp32/esp_timer_esp32.o
CC build/coap/libcoap/src/subscribe.o
AR build/esp_actions/libesp_actions.a
CC build/esp32/pm_trace.o
CC build/driver/i2s.o
CC build/coap/libcoap/src/uri.o
CC build/coap/libcoap/src/coap_notls.o
CC build/driver/sdio_slave.o
AR build/audio_stream/libaudio_stream.a
AR build/audio_pipeline/libaudio_pipeline.a
CC build/esp32/crosscore_int.o
CC build/esp32/cache_sram_mmu.o
CC build/driver/sdspi_transaction.o
CC build/driver/sigmadelta.o
CC build/esp32/cpu_start.o
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_event_iface.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/esp_peripherals/include/esp_peripherals.h:29,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board.h:31,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_hal/driver/es8311/es8311.c:27:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
CC build/driver/spi_master.o
CC build/esp32/sleep_modes.o
AR build/bootloader_support/libbootloader_support.a
CC build/coap/port/coap_io.o
CC build/esp32/task_wdt.o
CC build/driver/spi_common.o
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_event_iface.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/esp_peripherals/include/esp_peripherals.h:29,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board.h:31,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/display_service/display_service.c:34:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
CC build/esp32/esp_adapter.o
AR build/efuse/libefuse.a
make: *** [C:\Users\nick.verlooy\esp\esp-idf/make/project.mk:584: component-audio_hal-build] Fout 2
CC build/esp32/panic.o
AS build/esp32/dport_panic_highint_hdl.o
AR build/display_service/libdisplay_service.a
AR build/esp_common/libesp_common.a
AR build/asio/libasio.a
AR build/coap/libcoap.a
AR build/driver/libdriver.a
AR build/esp32/libesp32.a
CC build/bootloader/bootloader_support/src/bootloader_random.o
CC build/bootloader/log/log.o
CC build/bootloader/bootloader_support/src/flash_encrypt.o
CC build/bootloader/spi_flash/spi_flash_rom_patch.o
CC build/bootloader/bootloader_support/src/esp_image_format.o
CC build/bootloader/main/bootloader_start.o
CC build/bootloader/soc/esp32/emac_hal.o
CC build/bootloader/efuse/esp32/esp_efuse_table.o
CC build/bootloader/soc/esp32/rtc_clk.o
CC build/bootloader/bootloader_support/src/flash_partitions.o
CC build/bootloader/efuse/src/esp_efuse_fields.o
CC build/bootloader/soc/esp32/rtc_time.o
CC build/bootloader/bootloader_support/src/bootloader_clock.o
CC build/bootloader/efuse/src/esp_efuse_utility.o
CC build/bootloader/bootloader_support/src/bootloader_common.o
CC build/bootloader/soc/esp32/rtc_sleep.o
CC build/bootloader/bootloader_support/src/bootloader_utility.o
CC build/bootloader/soc/esp32/rtc_clk_init.o
CC build/bootloader/soc/esp32/rtc_init.o
CC build/bootloader/bootloader_support/src/bootloader_init.o
CC build/bootloader/efuse/src/esp_efuse_api.o
CC build/bootloader/bootloader_support/src/flash_qio_mode.o
CC build/bootloader/soc/esp32/cpu_util.o
CC build/bootloader/soc/src/soc_include_legacy_warn.o
CC build/bootloader/bootloader_support/src/bootloader_flash.o
CC build/bootloader/soc/src/memory_layout_utils.o
CC build/bootloader/soc/src/hal/spi_hal.o
CC build/bootloader/soc/src/hal/spi_hal_iram.o
AR build/bootloader/log/liblog.a
CC build/bootloader/soc/src/hal/spi_flash_hal.o
AR build/bootloader/main/libmain.a
AR build/bootloader/spi_flash/libspi_flash.a
CC build/bootloader/bootloader_support/src/esp32/flash_encrypt.o
CC build/bootloader/bootloader_support/src/esp32/bootloader_sha.o
CC build/bootloader/bootloader_support/src/esp32/secure_boot.o
CC build/bootloader/soc/src/hal/spi_flash_hal_iram.o
AR build/bootloader/efuse/libefuse.a
CC build/bootloader/bootloader_support/src/esp32/secure_boot_signatures.o
CC build/bootloader/soc/src/hal/spi_slave_hal.o
CC build/bootloader/soc/src/hal/spi_slave_hal_iram.o
AR build/bootloader/bootloader_support/libbootloader_support.a
AR build/bootloader/soc/libsoc.a
LD build/bootloader/bootloader.elf
esptool.py v2.7-dev
Last edited by NickVerlooy93 on Thu Jul 11, 2019 9:31 am, edited 1 time in total.

ESP_Sprite
Posts: 9730
Joined: Thu Nov 26, 2015 4:08 am

Re: Unknown file or directory

Postby ESP_Sprite » Thu Jul 11, 2019 8:37 am

Hoi Nick,

I think it's a problem with backslash/slash usage. You said you set your paths correctly: did you use Windows-style backslashes there instead of Unix-style forward slashes? If so, you may want to remedy this. Also, deleting the shell statements is not a good idea: while it makes the error go away, it's also breaking the intended functionality.

NickVerlooy93
Posts: 7
Joined: Wed Jul 10, 2019 7:05 am

Re: Unknown file or directory

Postby NickVerlooy93 » Thu Jul 11, 2019 9:05 am

Thanks for your reply. This was indeed a problem.
I changed all backward into forward slashes.
Still wondering why this didn't cause any problems in the 'hello_world' and 'blink' examples from the ESP_IDF.
I've also put back the shell words. Changing things inside the 'source code' is indeed not a good idea. Newbie mistake I guess.

Still, I'm not succeeding in the 'play_mp3' example. I get the following output with the 'make' command:
(All errors seem to be inside the esp/esp_adf folder)

Code: Select all

$ make all
Toolchain path: /opt/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: esp32-2019r1
Compiler version: 8.2.0
Python requirements from C:/Users/nick.verlooy/esp/esp-idf/requirements.txt are satisfied.

Project is not inside a git repository, will not use 'git describe' to determine PROJECT_VER.
App "play_mp3" version: 1
CC build/audio_board/lyrat_v4_3/board_pins_config.o
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_pipeline/include/audio_event_iface.h:30,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/esp_peripherals/include/esp_peripherals.h:29,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board.h:31,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c:28:
C:/Users/nick.verlooy/esp/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
In file included from C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board.h:29,
                 from C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c:28:
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c: In function 'get_input_set_id':
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_def.h:33:35: error: 'TOUCH_PAD_NUM9' undeclared (first use in this function)
 #define BUTTON_SET_ID             TOUCH_PAD_NUM9
                                   ^~~~~~~~~~~~~~
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c:164:12: note: in expansion of macro 'BUTTON_SET_ID'
     return BUTTON_SET_ID;
            ^~~~~~~~~~~~~
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_def.h:33:35: note: each undeclared identifier is reported only once for each function it appears in
 #define BUTTON_SET_ID             TOUCH_PAD_NUM9
                                   ^~~~~~~~~~~~~~
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c:164:12: note: in expansion of macro 'BUTTON_SET_ID'
     return BUTTON_SET_ID;
            ^~~~~~~~~~~~~
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c: In function 'get_input_play_id':
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_def.h:34:35: error: 'TOUCH_PAD_NUM8' undeclared (first use in this function)
 #define BUTTON_PLAY_ID            TOUCH_PAD_NUM8
                                   ^~~~~~~~~~~~~~
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c:169:12: note: in expansion of macro 'BUTTON_PLAY_ID'
     return BUTTON_PLAY_ID;
            ^~~~~~~~~~~~~~
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c: In function 'get_input_volup_id':
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_def.h:35:35: error: 'TOUCH_PAD_NUM7' undeclared (first use in this function)
 #define BUTTON_VOLUP_ID           TOUCH_PAD_NUM7
                                   ^~~~~~~~~~~~~~
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c:174:12: note: in expansion of macro 'BUTTON_VOLUP_ID'
     return BUTTON_VOLUP_ID;
            ^~~~~~~~~~~~~~~
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c: In function 'get_input_voldown_id':
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_def.h:36:35: error: 'TOUCH_PAD_NUM4' undeclared (first use in this function)
 #define BUTTON_VOLDOWN_ID         TOUCH_PAD_NUM4
                                   ^~~~~~~~~~~~~~
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c:179:12: note: in expansion of macro 'BUTTON_VOLDOWN_ID'
     return BUTTON_VOLDOWN_ID;
            ^~~~~~~~~~~~~~~~~
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c: In function 'get_input_set_id':
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c:165:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c: In function 'get_input_play_id':
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c:170:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c: In function 'get_input_volup_id':
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c:175:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c: In function 'get_input_voldown_id':
C:/Users/nick.verlooy/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c:180:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
cc1.exe: some warnings being treated as errors
make[1]: *** [/c/Users/nick.verlooy/esp/esp-idf/make/component_wrapper.mk:292: lyrat_v4_3/board_pins_config.o] Fout 1
make: *** [C:/Users/nick.verlooy/esp/esp-idf/make/project.mk:584: component-audio_board-build] Fout 2

NickVerlooy93
Posts: 7
Joined: Wed Jul 10, 2019 7:05 am

Re: Unknown file or directory

Postby NickVerlooy93 » Thu Jul 11, 2019 2:35 pm

I solved the problem doing the following:

1. Set the IDF_PATH to the ESP-IDF directory inside the ESP-ADF directory

2. Install older version of the toolchain:
https://docs.espressif.com/projects/esp ... setup.html

3. Get older version of ESP-IDF:
git clone -b v3.2.2 --recursive https://github.com/espressif/esp-idf.git

Who is online

Users browsing this forum: No registered users and 33 guests