1f51367eb9
Upgrade static-cell to v2.0
2023-11-02 21:52:07 +01:00
dd6a29adb2
Release embassy-executor v0.3.1
2023-11-01 00:17:44 +01:00
d941882066
Prepare embassy-net 0.2.1 and embassy-sync 0.4.0
2023-10-31 09:33:27 +01:00
213b4c9dca
time: add links
key, release v0.1.5.
2023-10-16 20:11:35 +02:00
0621e957a0
time: Update examples, tests, and other code to use new Timer::after_x convenience methods
2023-10-15 01:30:12 +01:00
02d2c06b23
Release embassy-time 0.1.4
2023-10-12 18:14:33 +02:00
5d8817d109
stm32/usart: return error instead of panicking on bad baudrate.
2023-09-26 00:19:27 +02:00
1b20ba27b1
feat: bump embassy-sync version to 0.3.0
...
Update changelog in preparation for release
2023-09-14 18:26:00 +02:00
1f63bf4153
Release embassy-time v0.1.3
2023-08-28 08:00:18 -07:00
a2c718f61c
Bump executor crate version to 0.3.0
2023-08-23 20:34:37 +02:00
c39671266e
Deprecate *recv* in favor of *receive*
2023-08-22 16:58:31 +02:00
d8f02e151b
Set frequency in stm32 SPI examples
2023-07-31 00:02:50 +02:00
4f791799a9
Fix formatting
2023-07-30 19:12:49 +02:00
d2127f6b82
Fix stm32 SPI examples
2023-07-30 18:58:40 +02:00
858ddf6777
Added debug=2 in release profile to all examples.
...
This makes rtt output work right when using `cargo run` in release mode.
Debug was already enabled for release builds in some of the examples but
not all.
2023-07-26 18:32:40 -07:00
fbe30b2453
Add notes about setting chip name correctly for examples.
2023-07-22 21:58:29 +01:00
d137286981
Release embassy-time v0.1.2
2023-07-06 01:29:44 +02:00
f7ec579c18
Update probe-rs-cli -> probe-rs
2023-06-29 02:39:28 +02:00
6653f262d7
examples: use nicer InterrupExt to set irq priority in multprio.
2023-06-09 16:46:57 +02:00
98c821ac39
Remove embassy-cortex-m crate, move stuff to embassy-hal-common.
2023-06-09 16:44:20 +02:00
1d8321b821
Use make_static! from static-cell v1.1
2023-06-01 01:42:34 +02:00
8938d928f8
Fix examples
2023-05-25 22:36:56 +02:00
860b519f99
Let Flash<Async/Blocking> be a thing
2023-05-25 21:40:54 +02:00
7371eefa86
Align with new bind_interrupt
2023-05-25 20:07:42 +02:00
525e065474
Align examples
2023-05-25 20:07:42 +02:00
7477785bbb
Align examples
2023-05-25 20:07:41 +02:00
316be179af
stm32: move to bind_interrupts
...
disable lora functionality for now
2023-05-24 17:29:56 -05:00
42a8f1671d
Bump versions preparing for -macros and -executor release
2023-04-27 11:54:22 +02:00
054ca17f66
Switch from probe-run to probe-rs-cli.
...
- probe-run screwed up the last release 2 weeks ago and it's still not fixed (issue 391). Doesn't look well maintained.
- Even when it's not broken, it lags behind probe-rs-cli in new chips support because it's slow in updating probe-rs.
2023-04-26 17:00:51 +02:00
8a9136e4e4
enable inline-asm feature for cortex-m in examples
...
inline assembly is supported since rust 1.59, we're way past that.
enabling this makes the compiled code more compact, and on rp2040
even decreses memory usage by not needing thunks in sram.
2023-04-18 21:07:36 +02:00
577f060d24
Release embassy-sync v0.2.0
2023-04-13 23:40:49 +02:00
2a49e11cb0
Align flash examples
2023-04-05 10:55:31 +02:00
d3c4e4a20a
executor: add Pender, rework Cargo features.
...
This introduces a `Pender` struct with enum cases for thread-mode, interrupt-mode and
custom callback executors. This avoids calls through function pointers when using only
the thread or interrupt executors. Faster, and friendlier to `cargo-call-stack`.
`embassy-executor` now has `arch-xxx` Cargo features to select the arch and to enable
the builtin executors (thread and interrupt).
2023-04-03 03:09:11 +02:00
4dfa32b1e0
cortex-m/executor: don't use the owned interrupts system.
...
Preparation for #1224 .
2023-02-28 23:07:20 +01:00
3af991ab63
usb: unify ControlHandler+DeviceStateHandler, route all control requests to all handlers.
...
- Allows classes to handle vendor requests.
- Allows classes to use a single handler for multiple interfaces.
- Allows classes to access the other events (previously only `reset` was available).
2023-02-08 00:17:08 +01:00
1dcb0ea1f5
Bump defmt-rtt to 0.4
2022-11-29 21:15:24 +01:00
9cac649fcf
stm32: Add support for read_until_idle on UART
2022-10-26 19:06:18 +02:00
6718ca3a94
all Cargo.toml: Add license to all crate Cargo.toml files
...
Closes: https://github.com/embassy-rs/embassy/issues/1002
2022-10-07 12:41:56 +02:00
a7fdeac560
Remove flash lock/unlock public API from stm32 flash, and perform the unlocking and locking automatically on erase and write operations
2022-09-30 06:00:46 +02:00
f27a47a37b
usb: move classes into the embassy-usb
crate.
2022-09-26 13:00:21 +02:00
10d1ad2343
Replace futures::future::join -> embassy_futures::join::join.
2022-09-22 16:48:35 +02:00
5327b9c289
time: add more tick rates, use 1mhz as default.
2022-09-02 00:59:34 +02:00
5677b13a86
sync: flatten module structure.
2022-08-22 22:18:13 +02:00
21072bee48
split embassy-util
into embassy-futures
, embassy-sync
.
2022-08-22 22:18:13 +02:00
478f472784
Remove Forever, switch to static_cell.
2022-08-22 16:11:40 +02:00
5daa173ce4
Split embassy-time from embassy-executor.
2022-08-18 01:22:30 +02:00
2e85eaf7d5
examples Remove the fn config()
idiom.
...
It was only useful for doing #[embassy_executor::main(config = "config()")]`. Now that
it's gone, it makes more sense to build the config in main directly.
2022-08-17 22:25:58 +02:00
fc6e1e06b3
Remove HAL initialization from #[embassy::main] macro.
2022-08-17 22:16:46 +02:00
67edea4168
Update to critical-section 1.0, atomic-polyfill 1.0
2022-08-17 19:01:56 +02:00
a0f1b0ee01
Split embassy crate into embassy-executor, embassy-util.
2022-07-29 23:40:36 +02:00