memfault / memfault-firmware-sdk

Memfault SDK for embedded systems. Observability, logging, crash reporting, and OTA all in one service. More information at https://docs.memfault.com.
https://memfault.com
Other
149 stars 75 forks source link

fix: zephyr: fallback to rtc alias for timestamps #69

Closed corytodd closed 4 months ago

corytodd commented 6 months ago

When using an external RTC it might not always be possible to rely on there being a node named rtc. Detect this situation and fall back to using an alias named rtc instead.

Fixes: #68

Signed-off-by: Cory Todd cory@corytodd.us

noahp commented 5 months ago

@corytodd FYI this patch was included in the 1.9.0 SDK release: https://github.com/memfault/memfault-firmware-sdk/blob/master/CHANGELOG.md#190---2024-05-10

thanks so much for supplying it, and let us know if it works for you!

corytodd commented 5 months ago

Awesome, thanks for the heads up. That looks to be working for us.