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

cpu/esp32: always include libc_gettimeofday #18027

Merged
merged 1 commit into from
Apr 28, 2022

Conversation

fjmolinas
Copy link
Contributor

Contribution description

Tries to fix the issue described in RIOT-OS/Release-Specs#247 (comment), I'm not sure why this does not fail more loudly, is there a weak implementation being used instead? Does the same thing need to be done for esp8266?

Testing procedure

I sadly don't have the hardware to test maybe @benpicco could? I would want to do as in https://github.com/RIOT-OS/Release-Specs/blob/faafe7bcbaf13751b9b07cf5490a7bead13faa27/08-interop/README.md#task-13---icmpv6-echo-between-esp-and-named-internet-host-through-linux-with-6lowpan/

Issues/PRs references

#RIOT-OS/Release-Specs#247

@fjmolinas fjmolinas added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Apr 28, 2022
@github-actions github-actions bot added Area: cpu Area: CPU/MCU ports Area: Kconfig Area: Kconfig integration Platform: ESP Platform: This PR/issue effects ESP-based platforms labels Apr 28, 2022
@fjmolinas fjmolinas added the Process: needs backport Integration Process: The PR is required to be backported to a release or feature branch label Apr 28, 2022
@fjmolinas fjmolinas requested a review from benpicco April 28, 2022 06:47
@fjmolinas fjmolinas force-pushed the pr_esp32_gettimeoday branch from af06abd to a4bbb74 Compare April 28, 2022 07:51
Copy link
Contributor

@benpicco benpicco left a comment

Choose a reason for hiding this comment

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

This fixes the issue on esp32.
It doesn't appear to be required for esp8266 - that works without it.

@fjmolinas
Copy link
Contributor Author

This fixes the issue on esp32. It doesn't appear to be required for esp8266 - that works without it.

Thanks for testing and figuring out the issue!

@gschorcht
Copy link
Contributor

gschorcht commented Apr 28, 2022

_gettimeofday_r is a ROM function provided here:

PROVIDE ( _gettimeofday_r = 0x4000bc58 );

@benpicco
Copy link
Contributor

hm maybe that address is no longer correct?

@benpicco benpicco merged commit 039a3cf into RIOT-OS:master Apr 28, 2022
@fjmolinas fjmolinas deleted the pr_esp32_gettimeoday branch June 9, 2022 08:55
@chrysn chrysn added this to the Release 2022.07 milestone Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: cpu Area: CPU/MCU ports Area: Kconfig Area: Kconfig integration CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Platform: ESP Platform: This PR/issue effects ESP-based platforms Process: needs backport Integration Process: The PR is required to be backported to a release or feature branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants