Skip to content

cpu/esp32: always include libc_gettimeofday#18027

Merged
benpicco merged 1 commit intoRIOT-OS:masterfrom
fjmolinas:pr_esp32_gettimeoday
Apr 28, 2022
Merged

cpu/esp32: always include libc_gettimeofday#18027
benpicco merged 1 commit intoRIOT-OS:masterfrom
fjmolinas:pr_esp32_gettimeoday

Conversation

@fjmolinas
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

gschorcht commented Apr 28, 2022

_gettimeofday_r is a ROM function provided here:

PROVIDE ( _gettimeofday_r = 0x4000bc58 );

@benpicco
Copy link
Copy Markdown
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