happy new year!
test the system_get_rtc_time(void) in
time.c ( newlib )
https://github.com/espressif/esp-idf/bl ... ime.c#L203
Code: Select all
uint64_t system_get_rtc_time(void)
*edit spelling*
with include esp_system.h
system_get_rtc_time
Get the real time clock cycles.
uint32_t system_get_rtc_time()
Page 372
--------------------------------------------------------
Page 373
Retrieve the number of real-time clock cycles. For example, if the value returned by
system_rtc_clock_cali_proc() is 5.75µS then if the system_get_rtc_time() returns
100, then 575µS of wall clock time has passed since the clock was started.
Includes:
• esp_system.h
Code: Select all
uint32_t system_get_rtc_time(void)
https://github.com/espressif/esp-idf/bl ... p_system.h
same, there is no declare in the newlib/include/time.h
https://github.com/espressif/esp-idf/bl ... ude/time.h
do we miss / do we wrong here a part?
txs
best wishes
rudi