Freshly installed Ubuntu 22.04.3 LTS (most benign thing I could think of)
idf.py build indicates the following and other messages:
[3/13] Building CXX object esp-idf/main/CMakeFi...on-sdk-platform/sensors/ei_analogsensor.cpp.obj
In file included from /home/gavin67890/esp/firmware-espressif-esp32/edge-impulse/ingestion-sdk-platform/sensors/ei_analogsensor.cpp:31:
/home/gavin67890/esp/firmware-espressif-esp32/edge-impulse/ingestion-sdk-platform/sensors/ei_analogsensor.h:51:1: warning: missing initializer for member 'ei_device_fusion_sensor_t::axis_flag_used' [-Wmissing-field-initializers]
};
^
[4/13] Building CXX object esp-idf/main/CMakeFiles/__idf_main.dir/main.cpp.obj
In file included from /home/gavin67890/esp/firmware-espressif-esp32/main/main.cpp:35:
/home/gavin67890/esp/firmware-espressif-esp32/edge-impulse/ingestion-sdk-platform/sensors/ei_analogsensor.h:51:1: warning: missing initializer for member 'ei_device_fusion_sensor_t::axis_flag_used' [-Wmissing-field-initializers]
};
^
[5/13] Building CXX object esp-idf/main/CMakeFi...pressif_esp32/ei_device_espressif_esp32.cpp.obj
In file included from /home/gavin67890/esp/firmware-espressif-esp32/edge-impulse/ingestion-sdk-platform/espressif_esp32/ei_device_espressif_esp32.h:28,
from /home/gavin67890/esp/firmware-espressif-esp32/edge-impulse/ingestion-sdk-platform/espressif_esp32/ei_device_espressif_esp32.cpp:24:
/home/gavin67890/esp/firmware-espressif-esp32/firmware-sdk/ei_device_info_lib.h: In member function 'virtual bool EiDeviceInfo::save_config()':
/home/gavin67890/esp/firmware-espressif-esp32/firmware-sdk/ei_device_info_lib.h:126:16: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 128 equals destination size [-Wstringop-truncation]
strncpy(buf.wifi_ssid, wifi_ssid.c_str(), 128);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gavin67890/esp/firmware-espressif-esp32/firmware-sdk/ei_device_info_lib.h:127:16: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 128 equals destination size [-Wstringop-truncation]
strncpy(buf.wifi_password, wifi_password.c_str(), 128);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gavin67890/esp/firmware-espressif-esp32/firmware-sdk/ei_device_info_lib.h:131:16: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 128 equals destination size [-Wstringop-truncation]
strncpy(buf.sample_label, sample_label.c_str(), 128);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gavin67890/esp/firmware-espressif-esp32/firmware-sdk/ei_device_info_lib.h:132:16: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 33 equals destination size [-Wstringop-truncation]
strncpy(buf.sample_hmac_key, sample_hmac_key.c_str(), 33);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gavin67890/esp/firmware-espressif-esp32/firmware-sdk/ei_device_info_lib.h:133:16: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 128 equals destination size [-Wstringop-truncation]
strncpy(buf.upload_host, upload_host.c_str(), 128);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gavin67890/esp/firmware-espressif-esp32/firmware-sdk/ei_device_info_lib.h:134:16: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 128 equals destination size [-Wstringop-truncation]
strncpy(buf.upload_path, upload_path.c_str(), 128);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gavin67890/esp/firmware-espressif-esp32/firmware-sdk/ei_device_info_lib.h:135:16: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 128 equals destination size [-Wstringop-truncation]
strncpy(buf.upload_api_key, upload_api_key.c_str(), 128);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gavin67890/esp/firmware-espressif-esp32/firmware-sdk/ei_device_info_lib.h:136:16: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 128 equals destination size [-Wstringop-truncation]
strncpy(buf.mgmt_url, management_url.c_str(), 128);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Although it does finish build. However, on attempt to flash:
A fatal error occurred: No serial data received.
CMake Error at run_serial_tool.cmake:56 (message):
/home/gavin67890/.espressif/python_env/idf4.4_py3.10_env/bin/python
/home/gavin67890/esp/esp-idf/components/esptool_py/esptool/esptool.py
--chip esp32 failed
FAILED: CMakeFiles/flash /home/gavin67890/esp/firmware-espressif-esp32/build/CMakeFiles/flash
cd /home/gavin67890/esp/esp-idf/components/esptool_py && /usr/bin/cmake -D IDF_PATH="/home/gavin67890/esp/esp-idf" -D SERIAL_TOOL="/home/gavin67890/.espressif/python_env/idf4.4_py3.10_env/bin/python /home/gavin67890/esp/esp-idf/components/esptool_py/esptool/esptool.py --chip esp32" -D SERIAL_TOOL_ARGS="--before=default_reset --after=hard_reset write_flash @flash_args" -D WORKING_DIRECTORY="/home/gavin67890/esp/firmware-espressif-esp32/build" -P /home/gavin67890/esp/esp-idf/components/esptool_py/run_serial_tool.cmake
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
Timer Camera X (used #define of …_M5STACK_PSRAM) is the device, which connects fine and flashes fine with Burner software.