Skip to content

Commit b99f8c2

Browse files
author
Memfault Inc
committed
Memfault Firmware SDK 1.26.1 (Build 14472)
1 parent 36e2597 commit b99f8c2

File tree

4 files changed

+25
-6
lines changed

4 files changed

+25
-6
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,20 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to
77
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
88

9+
## [1.26.1] - 2025-06-30
10+
11+
This is a minor fix release, addressing one future compatibility issue with the
12+
Zephyr port.
13+
14+
### 🛠️ Changed
15+
16+
- Zephyr:
17+
18+
- Apply a compatibility fix for upcoming Zephyr 4.2.0, fixing the size of the
19+
`net_mgmt` callback `mgmt_event` parameter. Thanks to @rlubos for providing
20+
the fix in [#91](https://github.com/memfault/memfault-firmware-sdk/pull/91)
21+
🎉!
22+
923
## [1.26.0] - 2025-06-26
1024

1125
This is a feature release, primarily addressing future compatibility changes for

VERSION

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
BUILD ID: 14448
2-
GIT COMMIT: 6039672736
3-
VERSION: 1.26.0
1+
BUILD ID: 14472
2+
GIT COMMIT: 5c095a2bce
3+
VERSION: 1.26.1

components/include/memfault/version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ typedef struct {
2020
} sMfltSdkVersion;
2121

2222
#define MEMFAULT_SDK_VERSION \
23-
{ .major = 1, .minor = 26, .patch = 0 }
24-
#define MEMFAULT_SDK_VERSION_STR "1.26.0"
23+
{ .major = 1, .minor = 26, .patch = 1 }
24+
#define MEMFAULT_SDK_VERSION_STR "1.26.1"
2525

2626
#ifdef __cplusplus
2727
}

ports/zephyr/common/memfault_platform_metrics.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,12 @@ static void prv_record_wifi_connection_metrics(struct net_if *iface) {
206206
MEMFAULT_METRIC_SET_STRING(wifi_ap_oui, oui);
207207
}
208208

209-
static void prv_wifi_event_callback(struct net_mgmt_event_callback *cb, uint32_t mgmt_event,
209+
static void prv_wifi_event_callback(struct net_mgmt_event_callback *cb,
210+
#if MEMFAULT_ZEPHYR_VERSION_GT(4, 1)
211+
uint64_t mgmt_event,
212+
#else
213+
uint32_t mgmt_event,
214+
#endif
210215
struct net_if *iface) {
211216
switch (mgmt_event) {
212217
case NET_EVENT_WIFI_CONNECT_RESULT: {

0 commit comments

Comments
 (0)