anton smeenk
8399d96e24
Removed global static channel_out and moved to interrupt state. TODO: make feature switch for slave specific stuff
2023-11-10 18:00:59 +01:00
anton smeenk
5a9e052983
Merge remote-tracking branch 'origin/master' into feature-i2c-slave
2023-11-05 09:31:22 +01:00
anton smeenk
601d769e71
2c slave based on transactions and a channel
2023-11-03 13:36:53 +01:00
Dario Nieuwenhuis
1f51367eb9
Upgrade static-cell to v2.0
2023-11-02 21:52:07 +01:00
Dario Nieuwenhuis
dd6a29adb2
Release embassy-executor v0.3.1
2023-11-01 00:17:44 +01:00
Dániel Buga
d941882066
Prepare embassy-net 0.2.1 and embassy-sync 0.4.0
2023-10-31 09:33:27 +01:00
anton smeenk
9474f1576a
Fixing master read: first byte was flushed. Fixing set i2c_address_1.
2023-10-29 09:45:06 +01:00
anton smeenk
a03407d08c
Searching for solution for vals::Omask not found. Is found locally, but not on build server
2023-10-28 08:58:08 +02:00
anton smeenk
26e37c673d
Added public interfaces for vals::Dir and vals::Oamsk, so they can be used outside the crate
2023-10-28 08:25:41 +02:00
anton smeenk
0fe0bc60fe
Merge remote-tracking branch 'origin/master' into feature-i2c-slave
...
# Conflicts:
# examples/stm32g0/Cargo.toml
2023-10-27 14:58:43 +02:00
anton smeenk
ce066e92e7
Arbitration lost test is working. Still some test failing
2023-10-27 14:54:06 +02:00
anton smeenk
70a64e8dcb
I2c slave is working now. Todo: enable and test master write-read transaction
2023-10-25 21:25:38 +02:00
anton smeenk
b1afd5141c
Busy debugging the i2c slave
2023-10-21 12:11:32 +02:00
anton smeenk
007855423e
Slave: write Starts working work in progress
2023-10-20 22:12:37 +02:00
Dario Nieuwenhuis
213b4c9dca
time: add links
key, release v0.1.5.
2023-10-16 20:11:35 +02:00
anton smeenk
9424379268
Added i2c_master test case in examples
2023-10-15 10:54:57 +02:00
Adam Greig
0621e957a0
time: Update examples, tests, and other code to use new Timer::after_x convenience methods
2023-10-15 01:30:12 +01:00
Dániel Buga
02d2c06b23
Release embassy-time 0.1.4
2023-10-12 18:14:33 +02:00
Ulf Lilleengen
1b20ba27b1
feat: bump embassy-sync version to 0.3.0
...
Update changelog in preparation for release
2023-09-14 18:26:00 +02:00
Jesse Braham
1f63bf4153
Release embassy-time v0.1.3
2023-08-28 08:00:18 -07:00
Dániel Buga
a2c718f61c
Bump executor crate version to 0.3.0
2023-08-23 20:34:37 +02:00
dev-guruprasath
0ddabf0423
changed ADDR variable to addr
2023-07-31 15:37:01 +05:30
dev-guruprasath
b4d0f24bf9
changed ADDR variable to addr
2023-07-31 15:36:25 +05:30
dev-guruprasath
5a2f61a031
added working example for flash
2023-07-31 15:29:26 +05:30
dev-guruprasath
5b4c099afc
added working example for flash
2023-07-31 15:06:15 +05:30
dev-guruprasath
c3357f884a
added working example for flash
2023-07-31 14:45:23 +05:30
bofh
d2127f6b82
Fix stm32 SPI examples
2023-07-30 18:58:40 +02:00
Piotr Esden-Tempski
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
Adam Greig
fbe30b2453
Add notes about setting chip name correctly for examples.
2023-07-22 21:58:29 +01:00
Dario Nieuwenhuis
d137286981
Release embassy-time v0.1.2
2023-07-06 01:29:44 +02:00
Dario Nieuwenhuis
f7ec579c18
Update probe-rs-cli -> probe-rs
2023-06-29 02:39:28 +02:00
Dario Nieuwenhuis
98c821ac39
Remove embassy-cortex-m crate, move stuff to embassy-hal-common.
2023-06-09 16:44:20 +02:00
Ulf Lilleengen
42a8f1671d
Bump versions preparing for -macros and -executor release
2023-04-27 11:54:22 +02:00
Dario Nieuwenhuis
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
bors[bot]
216b120f15
Merge #1379
...
1379: enable inline-asm feature for cortex-m in examples r=Dirbaio a=pennae
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.
Co-authored-by: pennae <github@quasiparticle.net>
2023-04-18 19:25:49 +00:00
pennae
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
anton smeenk
3260f6b2af
stm32/spi: add new_txonly_nosck constructor, for neopixels, with an example in the stm32g0 directory.
2023-04-18 20:59:25 +02:00
Dario Nieuwenhuis
577f060d24
Release embassy-sync v0.2.0
2023-04-13 23:40:49 +02:00
Dario Nieuwenhuis
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
Dario Nieuwenhuis
1dcb0ea1f5
Bump defmt-rtt to 0.4
2022-11-29 21:15:24 +01:00
chrysn
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
Dario Nieuwenhuis
5327b9c289
time: add more tick rates, use 1mhz as default.
2022-09-02 00:59:34 +02:00
Dario Nieuwenhuis
21072bee48
split embassy-util
into embassy-futures
, embassy-sync
.
2022-08-22 22:18:13 +02:00
Dario Nieuwenhuis
5daa173ce4
Split embassy-time from embassy-executor.
2022-08-18 01:22:30 +02:00
Dario Nieuwenhuis
fc6e1e06b3
Remove HAL initialization from #[embassy::main] macro.
2022-08-17 22:16:46 +02:00
Dario Nieuwenhuis
67edea4168
Update to critical-section 1.0, atomic-polyfill 1.0
2022-08-17 19:01:56 +02:00
Dario Nieuwenhuis
a0f1b0ee01
Split embassy crate into embassy-executor, embassy-util.
2022-07-29 23:40:36 +02:00
Dario Nieuwenhuis
6852e05c59
Merge pull request #822 from embassy-rs/remove-authors
...
Remove the authors field from Cargo.tomls
2022-06-18 17:33:29 +02:00
Dario Nieuwenhuis
3fd4ee34ec
Merge pull request #821 from embassy-rs/defmt-trace
...
Add env DEFMT_LOG=trace to all examples.
2022-06-18 02:24:25 +02:00
Dario Nieuwenhuis
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