espressif / esp-adf

Espressif Audio Development Framework
Other
1.5k stars 670 forks source link

Pipeline Raw HTTP example does not run in latest (AUD-4927) #1087

Closed patrickkeenan closed 9 months ago

patrickkeenan commented 9 months ago

Building for lyra t, getting this output

In file included from /Users/{user}/esp/esp-adf/components/audio_board/include/board_pins_config.h:29, from /Users/{user}/esp/esp-adf/components/audio_board/lyrat_mini_v1_1/board.h:30, from /Users/{user}/esp/esp-adf/components/esp_peripherals/lib/sdcard/sdcard.c:42: /Users/{user}/esp/esp-idf/components/driver/deprecated/driver/i2s.h:27:2: warning: #warning "This set of I2S APIs has been deprecated, please include 'driver/i2s_std.h', 'driver/i2s_pdm.h' or 'driver/i2s_tdm.h' instead. if you want to keep using the old APIs and ignore this warning, you can enable 'Suppress leagcy driver deprecated warning' option under 'I2S Configuration' menu in Kconfig" [-Wcpp] 27 | #warning "This set of I2S APIs has been deprecated, \ | ^~~ /Users/{user}/esp/esp-adf/components/esp_peripherals/lib/sdcard/sdcard.c: In function 'sdcard_mount': /Users/{user}/esp/esp-adf/components/esp_peripherals/lib/sdcard/sdcard.c:93:26: error: 'ESP_SD_PIN_D1' undeclared (first use in this function); did you mean 'ESP_SD_PIN_D0'? 93 | slot_config.d1 = ESP_SD_PIN_D1; | ^~~~~ | ESP_SD_PIN_D0 /Users/{user}/esp/esp-adf/components/esp_peripherals/lib/sdcard/sdcard.c:93:26: note: each undeclared identifier is reported only once for each function it appears in /Users/{user}/esp/esp-adf/components/esp_peripherals/lib/sdcard/sdcard.c:94:26: error: 'ESP_SD_PIN_D2' undeclared (first use in this function); did you mean 'ESP_SD_PIN_D0'? 94 | slot_config.d2 = ESP_SD_PIN_D2; | ^~~~~ | ESP_SD_PIN_D0 /Users/{user}/esp/esp-adf/components/esp_peripherals/lib/sdcard/sdcard.c:96:26: error: 'ESP_SD_PIN_D4' undeclared (first use in this function); did you mean 'ESP_SD_PIN_D0'? 96 | slot_config.d4 = ESP_SD_PIN_D4; | ^~~~~ | ESP_SD_PIN_D0 /Users/{user}/esp/esp-adf/components/esp_peripherals/lib/sdcard/sdcard.c:97:26: error: 'ESP_SD_PIN_D5' undeclared (first use in this function); did you mean 'ESP_SD_PIN_D0'? 97 | slot_config.d5 = ESP_SD_PIN_D5; | ^~~~~ | ESP_SD_PIN_D0 /Users/{user}/esp/esp-adf/components/esp_peripherals/lib/sdcard/sdcard.c:98:26: error: 'ESP_SD_PIN_D6' undeclared (first use in this function); did you mean 'ESP_SD_PIN_D0'? 98 | slot_config.d6 = ESP_SD_PIN_D6; | ^~~~~ | ESP_SD_PIN_D0 /Users/{user}/esp/esp-adf/components/esp_peripherals/lib/sdcard/sdcard.c:99:26: error: 'ESP_SD_PIN_D7' undeclared (first use in this function); did you mean 'ESP_SD_PIN_D0'? 99 | slot_config.d7 = ESP_SD_PIN_D7; | ^~~~~ | ESP_SD_PIN_D0 /Users/{user}/esp/esp-adf/components/esp_peripherals/lib/sdcard/sdcard.c:100:26: error: 'ESP_SD_PIN_CD' undeclared (first use in this function); did you mean 'ESP_SD_PIN_CMD'? 100 | slot_config.cd = ESP_SD_PIN_CD; | ^~~~~ | ESP_SD_PIN_CMD /Users/{user}/esp/esp-adf/components/esp_peripherals/lib/sdcard/sdcard.c:101:26: error: 'ESP_SD_PIN_WP' undeclared (first use in this function); did you mean 'ESP_SD_PIN_D0'? 101 | slot_config.wp = ESP_SD_PIN_WP; | ^~~~~ | ESP_SD_PIN_D0 /Users/{user}/esp/esp-adf/components/esp_peripherals/lib/sdcard/sdcard.c: In function 'sdcard_unmount': /Users/{user}/esp/esp-adf/components/esp_peripherals/lib/sdcard/sdcard.c:168:5: warning: 'esp_vfs_fat_sdmmc_unmount' is deprecated: Please use esp_vfs_fat_sdcard_unmount instead [-Wdeprecated-declarations] 168 | esp_err_t ret = esp_vfs_fat_sdmmc_unmount(); | ^~~~~ In file included from /Users/{user}/esp/esp-adf/components/esp_peripherals/lib/sdcard/sdcard.c:32: /Users/{user}/esp/esp-idf/components/fatfs/vfs/esp_vfs_fat.h:197:11: note: declared here 197 | esp_err_t esp_vfs_fat_sdmmc_unmount(void) attribute((deprecated("Please use esp_vfs_fat_sdcard_unmount instead"))); | ^~~~~~~~~ [1562/1637] Building C object esp-idf/espressifnghttp/CMakeFiles/idf_espressif__nghttp.dir/nghttp2/lib/nghttp2_session.c.objninja: build stopped: subcommand failed. ninja failed with exit code 1, output of the command is in the /Users/{user}/esp/esp-adf/examples/recorder/pipeline_raw_http/build/log/idf_py_stderr_output_17379 and /Users/{user}/esp/esp-adf/examples/recorder/pipeline_raw_http/build/log/idf_py_stdout_output_17379