Dario Nieuwenhuis
e4b8c77942
bus: expand docs for AtomicDevice a bit.
2024-04-23 22:03:46 +02:00
Dario Nieuwenhuis
7dbaf6d479
bus: make AtomicDevice use a per-bus "busy" flag, not per-device.
...
Needed for soundness.
2024-04-23 22:03:46 +02:00
Ryan Summers
e00ffa01c2
Adding AtomicDevice for I2C bus sharing
2024-04-23 21:57:35 +02:00
Dario Nieuwenhuis
88f63d412f
Merge pull request #589 from jannic/license-links
...
Add license file to the top-level directory.
2024-04-16 20:46:37 +00:00
Jan Niehusmann
fdc6f3e71d
Add license file to the top-level directory.
...
These files are referenced from README.md, so they should be present.
The same files are already available in the individual crates, so
another possibility would be linking to one of the subdirectories.
I think it's preferable to have them at the top-level for better
visibility.
Fixes #588
2024-04-16 20:43:09 +00:00
Dario Nieuwenhuis
d47a7dc9d2
Merge pull request #590 from jannic/fix-ci
...
Fix CI errors caused by changes in rust beta
2024-04-16 20:40:23 +00:00
Jan Niehusmann
22a04ceeb2
Use stable toolchain for tests
2024-04-16 20:36:38 +00:00
Jan Niehusmann
8f0e5493e7
Use rust 1.75 in msrv-1-75 CI job
2024-04-16 20:33:32 +00:00
Dario Nieuwenhuis
5e21d566e2
Merge pull request #575 from qwandor/stderror
...
embedded-hal-bus: Implement `Display` and `std::error::Error` for `DeviceError` if possible.
2024-02-04 20:57:06 +00:00
Andrew Walbran
aebcf0f785
Implement Display and std::error::Error for DeviceError if possible.
2024-02-04 20:44:47 +00:00
Dario Nieuwenhuis
04b4f1897a
Merge pull request #568 from reitermarkus/reexport-digital
...
Re-export `digital` error types in `embedded-hal-async`.
2024-01-19 10:42:09 +00:00
Markus Reiter
db179e98fa
Merge i2c re-exports.
2024-01-17 02:02:57 +01:00
Markus Reiter
a5ad7bf4f1
Re-export digital error types in embedded-hal-async.
2024-01-17 02:00:18 +01:00
Diego Barrios Romero
d90b59b0f4
Merge pull request #563 from Dirbaio/docs-fixes
...
Misc doc fixes.
2024-01-10 07:58:26 +00:00
Diego Barrios Romero
ebc756e2e4
Fix typo
2024-01-10 08:56:14 +01:00
Dario Nieuwenhuis
983a60bc8e
Link to announcement blog post and migration guide in changelogs.
2024-01-09 23:50:13 +01:00
Dario Nieuwenhuis
676ccd8a5d
migration: autoderef workaround still works with just *self.
2024-01-09 23:49:56 +01:00
Scott Mabin
f8c79fee1d
Merge pull request #555 from Dirbaio/migration-giude
...
Release v1.0.0
embedded-hal-bus-v0.1.0
embedded-hal-v1.0.0
embedded-hal-async-v1.0.0
embedded-hal-nb-v1.0.0
2024-01-09 21:31:12 +00:00
Dario Nieuwenhuis
11c8b9e23f
Release embedded-hal{,-async,-nb} v1.0.0, embedded-hal-bus v0.1.0
2024-01-09 22:12:03 +01:00
Dario Nieuwenhuis
5f89197a3e
docs/migration: document gpio change to &mut self.
2024-01-09 22:12:00 +01:00
Dario Nieuwenhuis
bf488dfb20
docs: update readmes for v1.0
2024-01-09 21:35:40 +01:00
Dario Nieuwenhuis
b7ee113478
docs/migration: add advice to impl both versions, add e-h-compat
2024-01-09 21:35:40 +01:00
Dario Nieuwenhuis
871f473dcf
Move migration guide to docs dir.
2024-01-09 21:35:40 +01:00
Scott Mabin
0dec059f31
Merge pull request #562 from jr-oss/fix_spi_transfer_doc
...
Commit b6764ecd replaced closures by operations. Update documentation…
2023-12-30 20:06:49 +00:00
Ralf
74ca5ae008
Commit b6764ecd replaced closures by operations. Update documentation accordingly.
2023-12-30 20:05:43 +01:00
Dario Nieuwenhuis
208f028b25
Merge pull request #561 from GrantM11235/patch-1
...
Migration guide typo
2023-12-29 10:03:10 +00:00
GrantM11235
83620fed38
Migration guide typo
2023-12-28 23:09:33 -06:00
Scott Mabin
42715f38a5
Merge pull request #560 from jannic/doc-fix
...
Fix rustdoc link in doc comment of set_duty_cycle
2023-12-27 19:50:19 +00:00
Jan Niehusmann
e1472112b2
Fix rustdoc link in doc comment of set_duty_cycle
2023-12-27 19:45:00 +00:00
Diego Barrios Romero
4ea74354ca
Merge pull request #559 from Dirbaio/spi-doucment-cs-delays
...
spi: document `Operation::DelayNs` is not for CS delays.
2023-12-27 15:39:16 +00:00
Dario Nieuwenhuis
ff1f4695be
spi: document Operation::DelayNs is not for CS delays.
2023-12-27 15:06:45 +01:00
Diego Barrios Romero
94a7844c4e
Merge pull request #558 from Dirbaio/spi-nodelay-warn
...
bus/spi: add semver risk warning to `new_no_delay`.
2023-12-27 14:05:08 +00:00
Diego Barrios Romero
5f5570d514
Merge pull request #557 from Dirbaio/i2c-no-flush
...
i2c: disallow returning before transfer is finished.
2023-12-27 14:03:58 +00:00
Dario Nieuwenhuis
101c6f9225
bus/spi: add semver risk warning to new_no_delay.
...
Fixes #552 .
2023-12-27 14:53:50 +01:00
Dario Nieuwenhuis
c9b953a48e
i2c: disallow returning before transfer is finished.
...
Fixes #455 .
2023-12-27 14:52:52 +01:00
Diego Barrios Romero
13e151c529
Merge pull request #556 from rust-embedded/migrating-typos
...
Fix a couple of typos in migration guide
2023-12-27 07:56:41 +00:00
Adam Greig
009ccf8cb3
Fix a couple of typos in migration guide
2023-12-27 04:22:52 +00:00
Scott Mabin
af781047ce
Merge pull request #554 from Dirbaio/migration-giude
...
Add migration guide for 0.2 to 1.0.
2023-12-26 15:05:23 +00:00
Dario Nieuwenhuis
c5a1df0f3d
README fixes.
2023-12-25 00:34:50 +01:00
Dario Nieuwenhuis
c090f4dfa3
Expand migration guide, update for the latest changes.
2023-12-25 00:34:23 +01:00
Diego Barrios Romero
1a0d60caad
Add overview and removed traits section + Update to current state
2023-12-24 22:46:52 +01:00
Diego Barrios Romero
da438d4920
Update guide to current state
2023-12-24 22:46:52 +01:00
Diego Barrios Romero
a255e90975
Add more content
2023-12-24 22:46:52 +01:00
Diego Barrios Romero
533af846aa
Update MIGRATING-0.2-1.0.md
...
Co-authored-by: Ryan <ryankurte@users.noreply.github.com>
2023-12-24 22:46:52 +01:00
Diego Barrios Romero
d065eb572f
Add initial version of migration guide
2023-12-24 22:46:52 +01:00
Dario Nieuwenhuis
6c09acb787
Merge pull request #550 from Dirbaio/gpio-no-toggleable
...
gpio: remove `ToggleableOutputPin`, move `toggle()` to `StatefulOutputPin`.
2023-12-20 12:03:02 +00:00
Dario Nieuwenhuis
c5c076a9a0
gpio: remove ToggleableOutputPin, move toggle() to StatefulOutputPin.
2023-12-19 20:55:57 +01:00
Scott Mabin
b327f43ba6
Merge pull request #548 from Dirbaio/release-rc3
...
Release v1.0.0-rc.3
embedded-hal-bus-v0.1.0-rc.3
embedded-hal-v1.0.0-rc.3
embedded-hal-async-v1.0.0-rc.3
embedded-hal-nb-v1.0.0-rc.3
2023-12-14 13:32:34 +00:00
Dario Nieuwenhuis
38f6070118
Release v1.0.0-rc.3
2023-12-14 14:29:52 +01:00
Diego Barrios Romero
7479ba960c
Merge pull request #547 from Dirbaio/gpio-mut
...
gpio: require `&mut self` in `InputPin` and `StatefulOutputPin`.
2023-12-14 12:25:49 +00:00