31e8006738
arch:riscv32
...
- Add basic riscv32 executor
- Add 16MHZ timer support
2022-06-19 22:30:26 +01:00
1f746e0939
Remove the authors field from Cargo.tomls
...
It currently contains whoever was first to write some code for the crate,
even if many more people have contributed to it later.
The field is "sort of" deprecated, it was made optional recently:
https://rust-lang.github.io/rfcs/3052-optional-authors-field.html
Due the the reasons listed there I believe removing it is better than
setting it to generic fluff like "The Embassy contributors".
2022-06-18 02:16:40 +02:00
88e36a70bd
Update to 2021 edition. ( #820 )
2022-06-18 02:15:48 +02:00
6320e30adf
Update embedded-hal-async to 0.1.0-alpha.1
2022-05-29 22:34:08 +02:00
3251a21fb7
Switch to crates.io embedded-hal, embedded-hal-async.
...
This temporarily removes support for the async UART trait, since it's
not yet in embedded-hal-async.
2022-04-22 19:58:24 +02:00
aee19185b7
Add more docserver metadata.
2022-04-05 21:05:09 +02:00
9bad9365dc
Update rust nightly, embedded-hal 1.0, embedded-hal-async.
2022-03-11 00:38:07 +01:00
44096358a2
docs: add metadata.embassy_docs to cargo tomls.
2022-03-04 18:03:41 +01:00
4c5f5f7169
Add feature defmt-timestamp-uptime
...
Enabling it adds a timestamp of the number of seconds since startup next
to defmt log messages using `Instant::now`.
2022-02-11 18:45:23 -07:00
20e14b8edb
embassy, embassy-nrf: add nightly
Cargo feature to gate nightly-only features.
2022-02-12 01:16:31 +01:00
0719b05d63
traits: migrate Delay to embedded-hal 1.0+async, remove Rng and Flash.
2022-01-27 00:08:02 +01:00
7926957067
Use cortex-m only on cortex-m archs.
...
Without this, build fails for iOS.
2021-12-23 13:53:26 +01:00
c2da498263
Update to defmt 3.0ish.
...
Lots of gitrevs deps.
2021-11-15 11:09:08 -05:00
205a223af3
Update versions of critical-section and atomic-polyfill
2021-11-02 18:52:03 +01:00
99a94f1d50
Update version of critical-section
2021-09-13 17:05:17 +02:00
e24528051b
Add WASM support for executor
...
* Adds an executor for WASM runtimes based on wasm_bindgen.
* Add time driver based on JS time handling.
* Add example that can run in browser locally.
* Update to critical-section version that supports 'std' flag
2021-09-13 16:42:39 +02:00
b78f4695c4
embassy/channel: use heapless::Deque.
2021-09-11 02:49:16 +02:00
f2623e7e9b
Update lots of deps
2021-09-11 01:35:23 +02:00
5f04d6e6c5
Fix embassy::main macros for std target
2021-09-02 14:45:54 +02:00
c4b9c8ac87
std: fold into embassy core, add non-hacky time driver.
2021-08-25 21:06:27 +02:00
503be49417
Document embassy::time
2021-08-25 21:06:27 +02:00
6043383008
Remove version pinning workaround.
2021-08-02 20:47:30 +02:00
108cffcba0
Migrated to the waker registration functionality for Embassy specific optimisations
2021-07-15 12:31:52 +10:00
1b9d5e5071
Multi Producer Single Consumer channel
...
An MPSC inspired by Tokio and Crossbeam. The MPSC is designed to support both single and multi core processors, with only single core implemented at this time. The allocation of the channel’s buffer is inspired by the const generic parameters that Heapless provides.
2021-07-15 12:31:52 +10:00
35a76c364a
embassy/time: make optional via Cargo feature
2021-07-12 03:45:48 +02:00
51583afc1e
Add docs for BlockingTimer and rename tick features
2021-06-28 18:52:27 -03:00
54197d1663
Add BlockingTimer and features to choose tick rate
2021-06-28 18:01:40 -03:00
3b86e85770
Bump version of critical-section to 0.2.1
2021-05-13 18:17:50 +02:00
7fa0e57172
Use critical_section
crate
2021-05-11 01:15:30 +02:00
fa8dc796a7
Workaround broken cast crate
2021-04-12 13:30:21 +02:00
bb68f5d0e8
Add optimized single-word WakerRegistration, add AtomicWakerRegistration.
2021-03-17 02:53:41 +01:00
bd3deb785a
Update deps
2021-03-04 22:41:54 +01:00
18f6b8ad68
thumbv6m support with emulated atomics
2021-03-04 21:56:31 +01:00
d4f2c6cf00
Remove cargo namespaced-features
2021-03-02 21:15:12 +01:00
9626aee7db
Move traits to separate crate.
2021-03-02 00:32:23 +01:00
f779ec4928
update defmt and defmt-rtt to 0.2.0
2021-02-24 08:44:23 +01:00
7321ddb0b3
Update to cortex-m 0.7
2021-02-14 23:26:50 +01:00
4a7344cb6f
Add embassy-std crate with glue to run embassy on std.
2020-12-28 03:41:40 +01:00
692d8bb813
More efficient timer queue, integrated into Executor directly.
2020-12-26 23:44:53 +01:00
80c504cd95
Add std impl for rand
2020-12-14 00:36:29 +01:00
6f76c0ebcc
Add support for log+defmt again, but better.
2020-12-01 17:46:56 +01:00
78135a81d9
Remove anyfmt
2020-11-27 18:42:59 +01:00
5e8608c7a5
Make defmt optional with new anyfmt
crate
2020-11-01 17:17:24 +01:00
878bfd2b75
Fixes
2020-10-26 12:43:28 +01:00
cd9ecaef57
integrate static-executor, cleanup time module.
2020-10-19 21:25:54 +02:00
58bd708ccb
Fix build for std
2020-10-12 14:05:48 +02:00
4333105341
Add Executor with timer queue, Timer, Instant, Duration, Alarm.
2020-09-25 03:25:06 +02:00
05ca563e7d
Add clock::Monotonic trait.
2020-09-24 23:26:24 +02:00
9a57deef9b
First commit
2020-09-22 18:03:43 +02:00