This Demo App is based on the console example from ESP-IDF, which can be found here relative to the ESP-IDF SDK root folder:
examples/system/console/advanced/
This application includes an option to send Memfault data over MQTT. This option requires a few extra pieces to set up. You can either follow the steps outlined here or use your own MQTT setup.
python mqtt.py
main/app_memfault_transport_mqtt.c
:MEMFAULT_PROJECT
macro with your project's names_mqtt_config
with your setup's IP address, and MQTT client username and passwordidf.py fullclean && rm sdkconfig
idf.py set-target <esp32_platform_name>
idf.py -D SDKCONFIG_DEFAULTS="sdkconfig.defaults;sdkconfig.mqtt" build
idf.py flash
To create a project from this example, run:
idf.py create-project-from-example "memfault/memfault-firmware-sdk=1.15.0:esp32/apps/memfault_demo_app"