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

Zephyr make kernel clock default + improvements #400

Merged
merged 11 commits into from
Apr 12, 2024

Conversation

erlingrj
Copy link
Collaborator

@erlingrj erlingrj commented Mar 22, 2024

We have had some issues with using the Zephyr Counter API as the timing service, it is implemented differently for different boards and did not work for a STM32 board which was reported by a user on Zulip. I had other similar reports also earlier. Therefore, I want to make the Zephyr Kernel time API the default, it gives less precise timing, but it is simple and supported by all boards with Zephyr.

The Counter API can still be used, if the board supports it, but it is not the default.

Docs: lf-lang/lf-lang.github.io#247
Lingua-franca: lf-lang/lingua-franca#2248

@erlingrj erlingrj added the enhancement Enhancement of existing feature label Mar 23, 2024
Copy link
Member

@lhstrh lhstrh left a comment

Choose a reason for hiding this comment

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

LGTM!

@lhstrh lhstrh added this pull request to the merge queue Apr 3, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Apr 3, 2024
@lhstrh
Copy link
Member

lhstrh commented Apr 3, 2024

Oh, looks like macOS is failing 😞

@lhstrh
Copy link
Member

lhstrh commented Apr 3, 2024

But I see now that main is failing, too: https://github.com/lf-lang/reactor-c/actions/runs/8512792339/job/23315116610

@erlingrj
Copy link
Collaborator Author

erlingrj commented Apr 3, 2024

Yes, this should not affect macOS as we only build and test Zephyr with a Linux host

@erlingrj
Copy link
Collaborator Author

erlingrj commented Apr 3, 2024

Dont know what to make of it. No useful output from the CI and it passed when I re-ran it..

@erlingrj erlingrj added this pull request to the merge queue Apr 3, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 3, 2024
@lhstrh lhstrh added the mac label Apr 3, 2024
@lhstrh
Copy link
Member

lhstrh commented Apr 3, 2024

FYI: I added the mac label to trigger the macOS tests that ended up failing in the merge queue.

@erlingrj
Copy link
Collaborator Author

erlingrj commented Apr 4, 2024

The macOS test failures can not come from any changes introduced here, so there is a problem already in main or with the CI. Unfortunately I dont get a log output

@erlingrj
Copy link
Collaborator Author

erlingrj commented Apr 4, 2024

Seems to be: src/federated/DistributedPhysicalActionUpstreamLong.lf which is timing out

@lhstrh
Copy link
Member

lhstrh commented Apr 4, 2024

Could you mark it as failing and create an issue?

@lhstrh lhstrh enabled auto-merge April 12, 2024 06:36
@lhstrh lhstrh added this pull request to the merge queue Apr 12, 2024
Merged via the queue into main with commit 18d272d Apr 12, 2024
30 checks passed
@erlingrj erlingrj deleted the zephyr-make-kernel-clock-default branch May 6, 2024 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement of existing feature mac zephyr
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants