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

drivers: entropy native: Refactor to support embedded libCs #60033

Merged
merged 3 commits into from
Jul 7, 2023

Conversation

aescolar
Copy link
Member

@aescolar aescolar commented Jul 5, 2023

Refactor the host libC accesses to use the native simulator host trampolines.
In this way we support building this driver with embedded libCs.

This PR sits directly on top of #60093

daor-oti
daor-oti previously approved these changes Jul 7, 2023
carlescufi
carlescufi previously approved these changes Jul 7, 2023
Upstream SHA: be3eac6931b49291e51da5d5aa1a99ab58f81541

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
To ease writing common drivers, let's make the host trampolines
from the native simulator avaliable to all posix based boards.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
Refactor the host libC accesses to use the native simulator
host trampolines.

In this way we support building this driver with embedded libCs.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
@carlescufi carlescufi merged commit 8252e99 into zephyrproject-rtos:main Jul 7, 2023
24 checks passed
@aescolar aescolar deleted the natsim_entropy branch July 7, 2023 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Crypto / RNG area: native port Host native arch port (native_sim)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants