Skip to content

Conversation

@aaronjamt
Copy link

This is a potential fix for goToMain/libosdp#257. It does fix that issue for the Arduino platform specifically, but this may not be the best solution.

@sidcha
Copy link
Member

sidcha commented Nov 26, 2025

We can merge this change, but I would still wait to fully understand why the weak symbol resolution failed. If it's a compiler problem beyond out reach to fix, we can take this route.

Copy link
Member

@sidcha sidcha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Like I said, if we are going this route, we need to support Arduio as a proper platform in C-Utils.

return micros();
}

void get_time(uint32_t *seconds, uint32_t *micro_seconds)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The idea here is that different platforms expose a gettimeofday() and then the usec_*() methods just consume them. Can you change this code to be one of the recognised platforms above?

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

Successfully merging this pull request may close these issues.

2 participants