Comments (4)
I have seen with interest your aio-concurrent.rs
example in your aio branch. You have not followed this branch. I guess you are not satisfied with this approach. Why?
BTW, an event loop with tokio-core looks like this.
loop {
// Learn what the next "event" was, blocking if none available
let event = next_event();
// Dispatch this event, following it through to completion
dispatch(event);
}
Is it possible to do something similar?
Or, can you use tokio
or tokio-core
on these devices? When would it make sense?
from f3.
@getreu I'm exploring a more "reactive" / "event driven" approach based solely on interrupts but I have nothing to show ATM.
I can't comment on tokio-core as I have not checked it in detail. My understanding is that it doesn't compile on no_std, so there's that.
from f3.
@japaric thank you for your answer. I am looking forward to learn more from your publications.
from f3.
This crate now has async support via the macros in the nb crate. WFI is still a problem. I have an imperfect solution in mind that'll cover in a blog post (but not any time soon).
from f3.
Related Issues (20)
- impl Iterator for Leds
- Building fails with: error[E0557]: feature has been removed HOT 4
- Use board as USB device
- Examples fail to build
- run example: error[E0432]: unresolved import `cortex_m_0_6::peripheral::itm` HOT 2
- remove aliased mutable borrows HOT 10
- review ABI of "extern" functions
- My board uses STlinkV2, not 2-1 HOT 4
- main function not linked to the binary HOT 7
- Board support crate naming could be more specific? HOT 3
- No lsm303dlhc module in master HOT 2
- implement the embedded-hal traits and ... HOT 17
- upgrade to RTFM v0.2 HOT 8
- OpenOCD and GDB keep failing randomly during debug sessions HOT 5
- Version 0.5.0 not release to Crates.io HOT 3
- Binary size and flashing with st-flash HOT 3
- Question: How to handle `EXTI` interrupts HOT 1
- Unable to run madgwick/viz demo HOT 4
- Link in docs is dead HOT 2
- Example failing to link with 1.30.0-nightly (2018-09-13) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from f3.