Why it is important: if you have a device that contains multiple MCUs and each MCU has a separate Memfault project, you might want to download each release for them separately.
Step-by-Step guidance:
The simplest way to achieve this is to modify the data in the following components:
- The application HTTP client config, g_mflt_http_client_config
- The device info struct return by memfault_platform_get_device_info
For each MCU target, follow these basic steps:
- Set the target MCU’s project key in g_mflt_http_client_config.api_key
- Modify the device info struct return by memfault_platform_get_device_info to match the target MCU
- Call memfault_http_get_latest_ota_payload_url or use your platform’s provided method to get the release URL
- Download the release using the URL and apply the release to the target M:
To help us respond as quickly as possible, please include answers to the following questions in your support request:
For each MCU please provide:
- RTOS and version
- Memfault SDK version
Comments
0 comments
Please sign in to leave a comment.