The actual call is:
Code: Select all
struct timeval tv;
printf("cs_time: A\n");
if (gettimeofday(&tv, NULL /* tz */) != 0) return 0;
printf("cs_time: B\n");
Ohh ... pause here ...
I hunted deeper into the source and found:
https://github.com/espressif/esp-idf/bl ... alls.c#L91
It appears "gettimeofday" is not implemented and just aborts(). That's a little naughty. I see a comment mentioning it as a "todo". Might it be possible to issue a ESP_LOG message saying something like "<functionName>: Not yet implemented, aborting!".