Purpose of the PR
This PR enables the RTC to be used to get the current unix epoch rather than just seconds. It also enables clock synchronization with the LoRaWAN application server.
Development EnvironmentLinux redwood 6.6.22-1-lts #1 SMP PREEMPT_DYNAMIC Sat, 16 Mar 2024 06:20:33 +0000 x86_64 GNU/Linux
Debugger: ST-Link V3
PlatformIO Core, version 6.1.13
Once the clock is synced the timestamps of log messages will updates to the current unix epcoh
Additional Context
In the future we will need to add a way for the clock to be synced through the WiFi interface if LoRa is not available
Also I needed to update the cubewl framework to enable the RTC interface without OTA updates which were very difficult to configure. You will need to update the framework-stm32cubewl in your platformio installation.
Name/Affiliation/Title N/A, maintainer
Purpose of the PR This PR enables the RTC to be used to get the current unix epoch rather than just seconds. It also enables clock synchronization with the LoRaWAN application server.
Development Environment
Linux redwood 6.6.22-1-lts #1 SMP PREEMPT_DYNAMIC Sat, 16 Mar 2024 06:20:33 +0000 x86_64 GNU/Linux
Debugger: ST-Link V3 PlatformIO Core, version 6.1.13Pkg List
Test Procedure
Additional Context In the future we will need to add a way for the clock to be synced through the WiFi interface if LoRa is not available
Also I needed to update the cubewl framework to enable the RTC interface without OTA updates which were very difficult to configure. You will need to update the
framework-stm32cubewl
in your platformio installation.Closes #48 Closes #57