|
1 | 1 | # Memfault Firmware SDK Changelog
|
2 | 2 |
|
| 3 | +## 1.3.3 - Oct 10, 2023 |
| 4 | + |
| 5 | +### :chart_with_upwards_trend: Improvements |
| 6 | + |
| 7 | +- Zephyr: |
| 8 | + |
| 9 | + - Add a new Kconfig flag, `CONFIG_MEMFAULT_FAULT_HANDLER_RETURN`, which will |
| 10 | + call the normal `z_fatal_error` handler at the end of Memfault fault |
| 11 | + processing instead of rebooting the system. This is useful when user code |
| 12 | + needs to run within `k_sys_fatal_error_handler()` just prior to system |
| 13 | + shutdown. Thanks to @JordanYates for the patch! Fixes |
| 14 | + [#59](https://github.com/memfault/memfault-firmware-sdk/issues/59). |
| 15 | + |
| 16 | + - Add a timeout to the initial `send()` socket operation in |
| 17 | + `memfault_zephyr_port_http_upload_sdk_data()`, to abort the transfer if the |
| 18 | + socket is blocking for too long. That function will execute repeated |
| 19 | + `send()` calls to drain all the buffered Memfault data; this update only |
| 20 | + changes the initial call to check for a timeout, but otherwise will keep |
| 21 | + trying until the process completes, or a watchdog triggers. This is to |
| 22 | + balance the existing behavior, where a badly performing socket will still |
| 23 | + eventually push data through, but improves the case where the socket fails |
| 24 | + on the initial send (more common failure mode). |
| 25 | + |
| 26 | + - Remove a nuisance build warning generated when configured with |
| 27 | + `CONFIG_LOG_PRINTK=y && CONFIG_LOG_MODE_DEFERRED=y`. This impacts the |
| 28 | + usability of exporting base64-encoded chunks on the shell for testing |
| 29 | + (`mflt export` command), but is otherwise harmless. |
| 30 | + |
| 31 | +- ESP-IDF: |
| 32 | + |
| 33 | + - Multiple changes to the |
| 34 | + [`examples/esp32`](examples/esp32/apps/memfault_demo_app) sample project: |
| 35 | + |
| 36 | + - Disable WiFi SoftAP by setting `CONFIG_ESP_WIFI_SOFTAP_SUPPORT=n`, since |
| 37 | + it's unused in the sample app. This saves about 40kB flash. |
| 38 | + - Permit setting the Memfault Project Key at runtime, with a new cli command |
| 39 | + `project_key`. The key is saved in Non-Volatile Storage on the ESP32 |
| 40 | + board. |
| 41 | + |
| 42 | +- General: |
| 43 | + |
| 44 | + - Enable using compact logs with the IAR build tools, by adding the needed |
| 45 | + `__no_alloc` attribute to the compact log symbols, to have the IAR linker |
| 46 | + set the `NO_LOAD` attribute correctly on the compact log output section. |
| 47 | + |
| 48 | +#### :boom: Breaking Changes |
| 49 | + |
| 50 | +- ESP-IDF: |
| 51 | + |
| 52 | + - The [ESP-IDF port](ports/esp_idf/) now implements a default |
| 53 | + `memfault_get_device_info()` function, which uses the device MAC address for |
| 54 | + the Memfault Device Serial. When updating the Memfault SDK in an existing |
| 55 | + project, this implementation will cause a **linker error** due to duplicate |
| 56 | + definition. To disable the built-in definition, set |
| 57 | + `CONFIG_MEMFAULT_DEFAULT_GET_DEVICE_INFO=n`. |
| 58 | + |
3 | 59 | ## 1.3.2 - Sept 26, 2023
|
4 | 60 |
|
5 | 61 | ### :chart_with_upwards_trend: Improvements
|
6 | 62 |
|
7 | 63 | - Zephyr:
|
8 | 64 |
|
9 |
| - - use `<cmsis_core.h>` instead of `<nmi.h>`. Thanks @kmeihar for this change! |
| 65 | + - use `<cmsis_core.h>` instead of `<nmi.h>`. Thanks @kmeinhar for this change! |
10 | 66 | (see [#64](https://github.com/memfault/memfault-firmware-sdk/pull/64))
|
11 | 67 |
|
12 | 68 | - nRF Connect SDK:
|
|
21 | 77 | - Add support for Memfault Compact Logs for C++ source files (previously only
|
22 | 78 | supported in C source files). Compact logging can be enabled by setting
|
23 | 79 | `MEMFAULT_LOG_COMPACT_ENABLE=1` in `memfault_platform_config.h`. See
|
24 |
| - [the docs](https://docs.memfault.com/docs/mcu/debugging/compact-logs) for |
25 |
| - more details. |
| 80 | + [the docs](https://docs.memfault.com/docs/mcu/compact-logs/) for more |
| 81 | + details. |
26 | 82 | - Fix a missing include of `<intrinsics.h>` required by the IAR compiler
|
27 | 83 |
|
28 | 84 | ## 1.3.1 - Sept 21, 2023
|
|
0 commit comments