Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CaseSession fails on ESP32 platform because GetClock_RealTimeMS returns CHIP_ERROR_REAL_TIME_NOT_SYNCED #13490

Closed
wqx6 opened this issue Jan 12, 2022 · 0 comments

Comments

@wqx6
Copy link
Contributor

wqx6 commented Jan 12, 2022

Problem

After #13462 merged, CaseSession fails on ESP32 platform because GetClock_RealTimeMS returns CHIP_ERROR_REAL_TIME_NOT_SYNCED

And why are both FreeRTOS/SystemTimeSupport.cpp and ESP32/SystemTimeSupport.cpp used on ESP32 platform? It seems ESP32 calls the GetClock_RealTimeMS from FreeRTOS platform instead of itself.
Maybe all the platforms using FreeRTOS System Time Support will have the problem now.

Proposed Solution

  • Remove FreeRTOS/SystemTimeSupport.cpp from the source files list of ESP32 platform
  • Fix the error of GetClock_RealTimeMS function in ESP32/SystemTimeSupport.cpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant