Skip to content

embassy sample app in QEMU#382

Draft
robamu wants to merge 1 commit into
mainfrom
embassy-sample-app-qemu
Draft

embassy sample app in QEMU#382
robamu wants to merge 1 commit into
mainfrom
embassy-sample-app-qemu

Conversation

@robamu
Copy link
Copy Markdown
Contributor

@robamu robamu commented May 8, 2026

No description provided.

@jonathanpallant
Copy link
Copy Markdown
Member

This is a lot of boilerplate to get embassy time running on whatever Arm timer peripheral ships on this QEMU machine, and I think it should go into the embassy project's repo. I added a Generic Timer example last weekend but that could go into an embassy-time-arm-generic-timer. This could go into an embassy-time-arm-pl123 or whatever the peripheral is called.

Then we could host some embassy examples here and they would be nice and small and easy to explain.

The reason I propose kicking the timer stuff out but keeping the UART stuff in is that the UART is a useful training example of writing a peripheral driver. The embassy-time code here is very embassy specific and liable to change as embassy changes. Plus it's useful to other people in a way our educational UART driver is not.

@robamu
Copy link
Copy Markdown
Contributor Author

robamu commented May 11, 2026

That also sounds good. I hope they accept this. the question is whether we supply the basic timer low-level code as part of that to embassy as well. might be simpler than doing another crate for that.

@robamu
Copy link
Copy Markdown
Contributor Author

robamu commented May 15, 2026

Embassy PR: embassy-rs/embassy#6114

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