|
1 | 1 | # Memfault Firmware SDK Changelog
|
2 | 2 |
|
| 3 | +## [1.4.1] - 2023-10-31 |
| 4 | + |
| 5 | +#### :rocket: New Features |
| 6 | + |
| 7 | +- ESP-IDF: |
| 8 | + |
| 9 | + - Add the following built-in heap allocation metrics by default. These can be |
| 10 | + disabled with the `CONFIG_MEMFAULT_ESP_HEAP_METRICS` Kconfig flag. |
| 11 | + |
| 12 | + - `heap_free_bytes` |
| 13 | + - `heap_largest_free_block_bytes` |
| 14 | + - `heap_allocated_blocks_count` |
| 15 | + - `heap_min_free_bytes` |
| 16 | + |
| 17 | +- Zephyr: |
| 18 | + |
| 19 | + - Enable capturing [Memfault-style compact logs](https://mflt.io/compact-logs) |
| 20 | + on Zephyr systems. Note that this does not enable decoding |
| 21 | + [Zephyr "dictionary logs"](https://docs.zephyrproject.org/3.5.0/services/logging/index.html#dictionary-based-logging), |
| 22 | + but requires using the Memfault logging APIs directly (i.e. |
| 23 | + `MEMFAULT_LOG_INFO("...")` instead of `LOG_INF("...")`). |
| 24 | + |
| 25 | +- General: |
| 26 | + |
| 27 | + - Add a `coredump_size` CLI command to the Zephyr, ESP-IDF, and demo CLI |
| 28 | + implementations. This command will print the computed size of the coredump |
| 29 | + and the available storage space. Can be used to tune coredump size. |
| 30 | + |
| 31 | + - Enable providing the Memfault HTTP Client with a custom |
| 32 | + `memfault_platform_get_device_info()` callback, for when the device is |
| 33 | + uploading data for a downstream device, with different device info. |
| 34 | + |
| 35 | + - When [compact logging](https://mflt.io/compact-logs) is enabled, route all |
| 36 | + `MEMFAULT_LOG_x()` statements through the compact serializer |
| 37 | + (`MEMFAULT_COMPACT_LOG_SAVE`). Previously, logs had to explicitly use the |
| 38 | + `MEMFAULT_COMPACT_LOG_SAVE` API to store in the compact form. |
| 39 | + |
| 40 | + - Capture C stdlib `assert.h` asserts, by implementing the correct assert |
| 41 | + hooks for Newlib/Picolibc and IAR libc's. This can be disabled with the |
| 42 | + Memfault platform config `MEMFAULT_ASSERT_CSTDLIB_HOOK_ENABLED`. This should |
| 43 | + improve the Trace quality for systems that are using the C stdlib |
| 44 | + `assert(x)` functions. |
| 45 | + |
| 46 | +### :chart_with_upwards_trend: Improvements |
| 47 | + |
3 | 48 | ## [1.4.0] - 2023-10-23
|
4 | 49 |
|
5 | 50 | #### :rocket: New Features
|
|
0 commit comments