File tree Expand file tree Collapse file tree 4 files changed +18
-4
lines changed
components/include/memfault Expand file tree Collapse file tree 4 files changed +18
-4
lines changed Original file line number Diff line number Diff line change
1
+ ### Changes between Memfault SDK 0.32.2 and SDK 0.32.1 - Aug 16, 2022
2
+
3
+ #### :chart_with_upwards_trend : Improvements
4
+
5
+ - Zephyr port: added a fix for upcoming Zephyr 3.2 compatibility, thanks
6
+ @nordicjm for the fix!
7
+
1
8
### Changes between Memfault SDK 0.32.1 and SDK 0.32.0 - Aug 8, 2022
2
9
3
10
#### :house : Internal
Original file line number Diff line number Diff line change 1
- BUILD ID: 490385
2
- GIT COMMIT: aeb8e3734
1
+ BUILD ID: 494632
2
+ GIT COMMIT: b2b683510
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ typedef struct {
19
19
uint8_t patch ;
20
20
} sMfltSdkVersion ;
21
21
22
- #define MEMFAULT_SDK_VERSION { .major = 0, .minor = 32, .patch = 1 }
22
+ #define MEMFAULT_SDK_VERSION { .major = 0, .minor = 32, .patch = 2 }
23
23
24
24
#ifdef __cplusplus
25
25
}
Original file line number Diff line number Diff line change @@ -55,9 +55,16 @@ static void prv_log_panic(struct log_backend const *const backend);
55
55
// -Wincompatible-pointer-types between versions
56
56
static void prv_log_init ();
57
57
58
+
58
59
// LOG2 was added in Zephyr 2.6:
59
60
// https://github.com/zephyrproject-rtos/zephyr/commit/f1bb20f6b43b8b241e45f3f132f0e7bbfc65401b
60
- #if MEMFAULT_ZEPHYR_VERSION_GT (2 , 5 )
61
+ // LOG2 was moved to LOG in Zephyr 3.2
62
+ // https://github.com/zephyrproject-rtos/zephyr/issues/46500
63
+ #if MEMFAULT_ZEPHYR_VERSION_GT (3 , 1 )
64
+ static void prv_log_process (const struct log_backend * const backend , union log_msg_generic * msg ) {
65
+ log_output_msg_process (& s_log_output_mflt , & msg -> log , g_flags );
66
+ }
67
+ #elif MEMFAULT_ZEPHYR_VERSION_GT (2 , 5 )
61
68
// Additional processing for log2 output
62
69
static void prv_log_process (const struct log_backend * const backend , union log_msg2_generic * msg ) {
63
70
log_output_msg2_process (& s_log_output_mflt , & msg -> log , g_flags );
You can’t perform that action at this time.
0 commit comments