Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rebase #1

Merged
merged 540 commits into from
Mar 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
540 commits
Select commit Hold shift + click to select a range
cd38669
panic when events_error is set in twim without errorsrc
dragonnn Jan 8, 2025
cd70c19
Merge pull request #3745 from dragonnn/nrf_twim
Dirbaio Jan 8, 2025
fb1368d
Fix unsupported trace! call for EndpointAddress
Volkalex28 Jan 9, 2025
9d94d68
Create embassy-nrf 0.3.1
lulf Jan 9, 2025
91f1b0b
Merge pull request #3749 from embassy-rs/embassy-nrf-bugfix
Dirbaio Jan 9, 2025
92326f1
Merge pull request #3748 from Volkalex28/fix_usb
Dirbaio Jan 9, 2025
593d997
Release embassy-stm32 v0.2.0
Dirbaio Jan 10, 2025
5a04b9f
Merge pull request #3751 from embassy-rs/embassy-stm32-release-v0.2
Dirbaio Jan 10, 2025
793eb72
Update stm32-metapac, actually release embassy-stm32 v0.2.0
Dirbaio Jan 10, 2025
4fbe1be
Merge pull request #3752 from embassy-rs/embassy-stm32-release-v0.2
Dirbaio Jan 10, 2025
6003582
docs: add intro to embassy by therustybits
lulf Jan 10, 2025
fc7e94a
Merge pull request #3753 from embassy-rs/add-intro-video
Dirbaio Jan 10, 2025
9cd2deb
Fix typo
eldruin Jan 11, 2025
e8ec586
Merge pull request #3755 from eldruin/fix-typo
Dirbaio Jan 11, 2025
31b50e6
Fix year in changelog
lukipuki Jan 12, 2025
a991cd6
Merge pull request #3761 from lukipuki/fix-year
Dirbaio Jan 12, 2025
31e0794
Simplify some std examples.
Dirbaio Jan 12, 2025
2ce56e9
Release embassy-net-ppp v0.2.
Dirbaio Jan 12, 2025
dd4f576
Merge pull request #3762 from embassy-rs/net-ppp-release
Dirbaio Jan 12, 2025
13b205e
rp: Fix time driver hang
robot-rover Jan 13, 2025
930af8e
run rustfmt
robot-rover Jan 13, 2025
1c9fa80
stm32: impl Display for time::Hertz
dimpolo Jan 13, 2025
4b0e203
Add Clone to Pull
wackazong Jan 13, 2025
05df319
Release embassy-usb v0.4.0, embassy-usb-logger v0.4.0.
Dirbaio Jan 14, 2025
028de6d
Merge pull request #3771 from embassy-rs/release-usb
Dirbaio Jan 15, 2025
933e888
RP235x: support new FIFO options, set IE, OD on PIO pins.
pferreir Sep 11, 2024
4d9b279
Merge pull request #3369 from pferreir/add-rxf-putget
Dirbaio Jan 15, 2025
2fab8d0
Update doc projects deps, don't use patch.crates-io
Dirbaio Jan 15, 2025
27fb1f4
Merge pull request #3772 from embassy-rs/update-doc-projects
Dirbaio Jan 15, 2025
c06862e
feat: add dynamic dispatch variants of pipe
lulf Jan 15, 2025
1e6b807
Merge pull request #3775 from embassy-rs/dyn-dispatch-pipe
lulf Jan 15, 2025
ed63f80
chore: bump embassy-sync version
lulf Jan 15, 2025
169f9c2
Merge pull request #3776 from embassy-rs/bump-embassy-sync
Dirbaio Jan 15, 2025
617f6e7
fix: enable RP2350 watchdog tick generator
wowkster Jan 15, 2025
a40e169
doc: embassy-time doc
HaoboGu Jan 16, 2025
9a159a8
Full RCC support for STM32F107
algesten Jan 16, 2025
5d26bca
stm32/rcc: add HSISYS support for g0
markus-k Jan 17, 2025
b40d30f
tests/stm32: fix test for g0 hsi sys_div
markus-k Jan 17, 2025
083f584
examples/stm32: fix g0 hftimer example with hsi sys_div
markus-k Jan 17, 2025
08ef834
fix wrong negation of fdcan set_transmit_pause function parameter
Andreychik32 Jan 17, 2025
c390767
Merge pull request #3781 from markus-k/stm32g0-hsisysdiv
Dirbaio Jan 17, 2025
9f451c7
added remove_if to priority channel
Gibbz Nov 11, 2024
c65b6db
remove from sender
Gibbz Dec 14, 2024
42817c4
Fix issue with enabled split-pxy feature
mahu-wm Jan 20, 2025
8052ef0
Add __pender error to the FAQ
bugadani Jan 21, 2025
13e17a5
Merge pull request #3790 from bugadani/faq
Dirbaio Jan 21, 2025
5bba87e
Merge pull request #3782 from Andreychik32/main
Dirbaio Jan 21, 2025
3de0a21
stm32: test split pins in CI.
Dirbaio Jan 21, 2025
eda5167
Merge pull request #3704 from CNLHC/pwm_support_gp32
Dirbaio Jan 21, 2025
23cb930
Merge pull request #3791 from embassy-rs/fix-split-pins
Dirbaio Jan 21, 2025
cf05aa5
Merge pull request #3778 from HaoboGu/doc/embassy-time-queue
Dirbaio Jan 21, 2025
1d8ef6f
Merge pull request #3777 from adom-inc/rp2350-watchdog-fix
Dirbaio Jan 21, 2025
010d462
Merge pull request #3765 from dimpolo/hertz-display
Dirbaio Jan 21, 2025
da8612e
stm32: Change unreachable panic to explicit error message when access…
adamgreig Jan 22, 2025
195b1a5
Merge pull request #3792 from adamgreig/stm32-clkmux-unreachable
Dirbaio Jan 22, 2025
5885369
Option to detect Ethernet PHY address automatically
nikvoid Jan 22, 2025
2d7e0b6
use `Delay` from `embassy-time` to wait for PHY response
nikvoid Jan 22, 2025
83ccbf4
remove cortex-m delay
nikvoid Jan 22, 2025
dff8be9
run rustfmt
nikvoid Jan 22, 2025
269dec9
add stream impl
stargazing-dino Jan 22, 2025
afe6b9a
split PHY constructor to `new` and `new_auto`
nikvoid Jan 23, 2025
c72d9ec
Review fixes
algesten Jan 24, 2025
3ba94c0
Fix init order of set_prediv1src
algesten Jan 24, 2025
4743501
Move PLL2/3 config to before PLL
algesten Jan 24, 2025
4e3d066
Merge pull request #3779 from algesten/fix/f107-rcc
Dirbaio Jan 24, 2025
da0f6db
derive defmt::Format on pub struct/enum of stm32::rtc
Georges760 Jan 24, 2025
51d87c6
Merge pull request #3802 from Georges760/stm32-more-defmt
Dirbaio Jan 24, 2025
2fe299c
don't infinite loop if udp::send methods receive a buffer too large t…
Easyoakland Jan 25, 2025
e2ddba9
embassy-sync: fix clear() to wake senders
ibuki2003 Jan 26, 2025
f2128a2
Update Cargo.toml
jamesmunns Jan 26, 2025
72020fc
Reset complete count global variable on Dma configure
noracarmig Jan 26, 2025
ef78441
Merge pull request #3808 from embassy-rs/jamesmunns-patch-1
Dirbaio Jan 26, 2025
7db4677
Merge pull request #3807 from ibuki2003/sync-channel-clear-wakeup
Dirbaio Jan 26, 2025
fcacbae
Allow chips from L5 (sai_v3_2pdm) and H7 (sai_v3_4pdm) families to us…
noracarmig Jan 26, 2025
d9026f0
fix: STM32H5 UCPD reception
elagil Jan 26, 2025
3e55146
remove checks for reserved I2c addresses
Freax13 Jan 26, 2025
845da2c
Merge pull request #3810 from Freax13/enhancement/invalid-i2c-rp
Dirbaio Jan 26, 2025
3064318
Merge pull request #3811 from elagil/fix_stm32h5_ucpd
Dirbaio Jan 26, 2025
7e0c70b
Merge pull request #3812 from noracarmig/sai_v3_dma
Dirbaio Jan 26, 2025
ff52bde
stm32: change all examples and tests to use GenericSMI::new_auto().
Dirbaio Jan 26, 2025
c8d29a1
Merge pull request #3795 from nikvoid/stm32-phy-addr-detection
Dirbaio Jan 26, 2025
b124585
stm32/eth: rename PHY->Phy, GenericSMI -> GenericPhy. Remove unneeded…
Dirbaio Jan 26, 2025
ecc1aab
Merge pull request #3813 from embassy-rs/stm32-eth-simplify-smi
Dirbaio Jan 26, 2025
c0d14a1
- use `with`
Easyoakland Jan 26, 2025
7ec0b30
Merge pull request #3804 from Easyoakland/fix-udp-send
Dirbaio Jan 26, 2025
cbbc1f1
update comments to match code
Easyoakland Jan 26, 2025
89e25c7
don't mention Poll::Ready for async fns as it's implied
Easyoakland Jan 26, 2025
f6532e8
Merge pull request #3814 from Easyoakland/fix-udp-send
Dirbaio Jan 27, 2025
640612a
nrf52833: configure internal LDO
klownfish Jan 28, 2025
9d353d2
Correct ADC channels for RP2350XB
flippette Jan 29, 2025
6ca31d7
Merge pull request #3823 from flippette/main
Dirbaio Jan 29, 2025
1df510e
RIP nrf52833-dk
Dirbaio Jan 29, 2025
1b44034
Merge pull request #3824 from embassy-rs/rip
Dirbaio Jan 29, 2025
7d66f1c
Fix issue #3828
lsartory Feb 1, 2025
89b5795
Fix typo in getting started docs
Graicc Feb 1, 2025
a2791ae
Merge pull request #3832 from Graicc/patch-1
Dirbaio Feb 2, 2025
ae5ad91
Merge pull request #3829 from lsartory/fix_3828
Dirbaio Feb 2, 2025
ec5f283
Add cancel safety notes to Ticker
embediver Feb 2, 2025
6992576
Merge pull request #3833 from embediver/main
Dirbaio Feb 2, 2025
ce04cf8
set PLLI2S M and SRC for f4 chips which support it
vinsynth Feb 2, 2025
6ec72c0
set PLLI2SM and plli2s_src f423
vinsynth Feb 2, 2025
81e2d12
Merge pull request #3836 from vinsynth/main
Dirbaio Feb 3, 2025
8c5e346
Merge pull request #3837 from klownfish/nrf-reg0
Dirbaio Feb 3, 2025
37b180c
Allow inlining on time driver boundary
bugadani Feb 3, 2025
113383b
Merge pull request #3840 from bugadani/inline
Dirbaio Feb 3, 2025
d363401
embassy-usb: fix `core::intrinsics` deprecate warning in nightly.
vDorst Feb 3, 2025
f03dca3
Merge pull request #3841 from vDorst/fix-core-intrinsics-deprecated
Dirbaio Feb 3, 2025
c167157
improve SpawnError::Busy message
jamessizeland Feb 3, 2025
2c8a550
Merge pull request #3842 from jamessizeland/improve-spawn-busy-error
Dirbaio Feb 3, 2025
1888287
SpiDevice cancel safety: always set CS pin to high on drop
showier-drastic Feb 4, 2025
b5a6353
update examples/stm32f4/.../i2s_dma.rs
vinsynth Feb 4, 2025
b0e3a64
document clock settings in examples/stm32f4/.../i2s_dma.rs
vinsynth Feb 4, 2025
b7fbf6d
Add saturating_add and saturating_sub to Instant
wackazong Feb 4, 2025
865266a
Take self instead of &mut self
wackazong Feb 4, 2025
e0eefbb
Merge pull request #3846 from wackazong/patch-4
lulf Feb 4, 2025
d3059bb
Merge pull request #3845 from vinsynth/main
Dirbaio Feb 4, 2025
0f04878
Add must_use to MutexGuard
wackazong Feb 4, 2025
a2014c9
Merge pull request #3848 from wackazong/patch-5
jamesmunns Feb 4, 2025
26c6ab7
Update main.rs
vic1707 Feb 4, 2025
f663f3b
Merge pull request #3850 from vic1707/patch-1
Dirbaio Feb 4, 2025
fdb9795
Merge pull request #3763 from robot-rover/fix_rp2040_time_driver
Dirbaio Feb 4, 2025
bb2d9ec
rp: Workaround "SIO spinlock stuck bug", reset PROC1 at boot.
Dirbaio Feb 4, 2025
9da04cc
rp: make atomics work properly between cores in rp235x.
Dirbaio Feb 4, 2025
556cc57
Merge pull request #3851 from embassy-rs/rp23-atomics-fix
Dirbaio Feb 5, 2025
401aa72
Replace STM32WBA52CGUxT by STM32WBA55CGUx because the WBA55 Nucleo bo…
MaximeB5 Feb 5, 2025
0fe2888
Merge pull request #3852 from MaximeB5/patch-1
Dirbaio Feb 5, 2025
66c5fe0
examples/rp: remove unneeded sio spinlock stuck bug workarounds.
Dirbaio Feb 5, 2025
5c00d4b
Merge pull request #3853 from embassy-rs/rp-remove-workaround
Dirbaio Feb 5, 2025
4e69e5b
rp: add changelog for embassy-rp v0.3.1.
Dirbaio Feb 5, 2025
9acbfc9
Add PIO functions.
swork Feb 7, 2025
dc2ce92
Add proper error handling if CS is not dropped
showier-drastic Feb 7, 2025
f2a6014
Merge pull request #3844 from showier-drastic/main
Dirbaio Feb 7, 2025
3b74732
Rename readers with get_, per CBJamo review. Tweak use_program docstr…
swork Feb 7, 2025
3b734a7
Merge pull request #3857 from swork/swork-add-pio-functions
Dirbaio Feb 7, 2025
38799c6
fix: UCPD drop logic
elagil Feb 7, 2025
bb6e6fe
Document std/wasm in embassy-time
bugadani Feb 8, 2025
b9508bf
Update documentation
Flamenco Feb 8, 2025
080942c
Merge pull request #3860 from bugadani/docs
Dirbaio Feb 8, 2025
bcebe4c
Merge pull request #3861 from Flamenco/patch-1
Dirbaio Feb 8, 2025
e5d0d40
Update Cargo.toml : replace STM32WBA52CGU by STM32WBA55CG
MaximeB5 Feb 10, 2025
c291e92
Merge pull request #3866 from MaximeB5/main
Dirbaio Feb 10, 2025
f09277b
Merge pull request #3858 from elagil/ucpd_logic_fix
Dirbaio Feb 10, 2025
74c42fd
Fix typos in docs
owenbrooks Feb 11, 2025
4b809af
fix: #3760 - typo in docs
kkrolczyk Feb 10, 2025
e173db1
doc: add docu strings for dfu
kkrolczyk Feb 10, 2025
01b7ff8
fix: layer-by-layer examples
kkrolczyk Feb 10, 2025
76fb3a5
Merge pull request #3869 from owenbrooks/docs_typos
Dirbaio Feb 11, 2025
05bbb99
Merge pull request #3870 from kkrolczyk/kk/mostly-docu-changes-and-ex…
Dirbaio Feb 11, 2025
787606b
Expose the watchdog reset reason
Abestanis Feb 12, 2025
712143b
Merge pull request #3877 from Abestanis/feature/watchdog_reason
Dirbaio Feb 12, 2025
1c1aea6
stm32: i2c-v2: Add error handling
showier-drastic Feb 12, 2025
f54ba5a
docs: fix esp wording and mention trouble
lulf Feb 13, 2025
74c1fd6
embassy-net: add ICMP sockets and a ping utility
Skkeye Feb 9, 2025
38b5f8b
examples/rp: add examples using ICMP sockets and the ping utility
Skkeye Feb 9, 2025
bdb1b81
fix: nightly fmt
Skkeye Feb 9, 2025
6d7a5f9
feat: configurable rate_limit for the ping utility
Skkeye Feb 10, 2025
7d2ffa7
fix: forgot fmt
Skkeye Feb 10, 2025
7b35265
feat: Feature match udp sockets
Skkeye Feb 10, 2025
9b178fa
fix: update example
Skkeye Feb 10, 2025
610804f
stm32: read microsecond from RTC
nikvoid Feb 13, 2025
29d0532
chore: prepare embassy-net release
lulf Feb 14, 2025
2098500
fix: embassy-net icmp feature docs
Skkeye Feb 14, 2025
3926a0b
Merge pull request #3885 from Skkeye/main
Dirbaio Feb 14, 2025
b30ee63
tests/rp: Update cyw43 test to new firmware, new wifi network name.
Dirbaio Feb 14, 2025
0ce6da9
Merge pull request #3886 from embassy-rs/cyw43-update
Dirbaio Feb 14, 2025
7f4cce5
fix: Fix for async I2C v2 driver sequential read/write reads. Fixes #…
Fredrik-Reinholdsen Feb 15, 2025
cb4fb66
Use probe-rs as default runner for rp23 examples
9names Feb 16, 2025
4cc5ab9
Add rp235x imagedef features (based on rp2040 boot2 features)
9names Feb 16, 2025
6b17064
Remove ImageDef from rp23 examples
9names Feb 16, 2025
9495ec8
Don't try to run doc-example for imagedef-none
9names Feb 16, 2025
a785bd0
Merge pull request #3889 from 9names/rp23-runner-probers
Dirbaio Feb 16, 2025
d01a299
Merge pull request #3890 from 9names/imagedef-feature
Dirbaio Feb 16, 2025
0453f7d
Merge pull request #3888 from Fredrik-Reinholdsen/main
Dirbaio Feb 16, 2025
897d42e
Merge pull request #3880 from nikvoid/stm32-rtc-subsecond
Dirbaio Feb 16, 2025
5d6877c
otg: Allow exact out buffer size
mkj Feb 17, 2025
fbdd2e7
Merge pull request #3892 from mkj/pr/otg-outbuf
Dirbaio Feb 17, 2025
6f795d9
Update control.rs
Flamenco Feb 17, 2025
f6b480e
Merge pull request #3894 from Flamenco/patch-1
Dirbaio Feb 17, 2025
5050b2f
Update to Rust 1.84
Dirbaio Feb 17, 2025
ac6e8d0
Merge pull request #3895 from embassy-rs/rust-update-184
Dirbaio Feb 17, 2025
489abb1
Update Rust nightly.
Dirbaio Feb 17, 2025
89b5efc
Update cargo-batch.
Dirbaio Feb 17, 2025
1fa874e
Merge pull request #3896 from embassy-rs/update-nightly-234
Dirbaio Feb 17, 2025
1780f84
Merge pull request #3878 from showier-drastic/i2c-v2-add-nack
Dirbaio Feb 17, 2025
9e78543
Inital rp23 ci tests
CBJamo Feb 18, 2025
52f6482
rustfmt fixup
CBJamo Feb 18, 2025
f1e6b70
rustfmt again
CBJamo Feb 18, 2025
e3edd67
rp/pio: move instructions to methods of the SM.
Dirbaio Feb 9, 2025
dcf0868
rp: remove typo'd `feature` that was doing nothing.
Dirbaio Feb 9, 2025
52dfefb
rp/pio: update pio-rs crate, reexport it so users don't get version m…
Dirbaio Feb 9, 2025
f3b98a8
Merge pull request #3865 from embassy-rs/pio2
Dirbaio Feb 18, 2025
28e2789
Forgot to actually skip the adc test.
CBJamo Feb 19, 2025
fcee67a
Merge pull request #3901 from CBJamo/rp23_testing
Dirbaio Feb 19, 2025
a1e7584
Merge pull request #3797 from stargazing-dino/add-channel-stream
Dirbaio Feb 19, 2025
7a2f038
doc: Fix "the the"
rxwb Feb 19, 2025
2e7a2b6
Merge pull request #3903 from rxwb/fix-the-the
Dirbaio Feb 19, 2025
1b4f788
nrf5340: configure LFCLK
0e4ef622 Feb 22, 2025
def1cf5
remove redundant cfg
0e4ef622 Feb 22, 2025
c3c67db
add JetBrains editor artifacts to `.gitignore`
U007D Feb 23, 2025
3932835
rename `rp23` (?) folder to `rp235x`; fix `ci.sh` to use `rp235x` folder
U007D Feb 23, 2025
2d0e0f5
add `rp235x` blinky_wifi.rs` to support RPi Pico 2 W
U007D Feb 23, 2025
9d92d03
rename `Pimoroni Pico Plus 2` example to group alphabetically with ot…
U007D Feb 23, 2025
29af39c
Merge pull request #3913 from U007D/rpi-pico-2-w
Dirbaio Feb 23, 2025
6b04942
Merge pull request #3911 from 0e4ef622/nrf5340-lfclk
Dirbaio Feb 23, 2025
76756ee
fix: BufferedUartRx embedded_hal_nb::serial::Read impl
Feb 24, 2025
c52f567
Apply cargo format
Feb 24, 2025
519bd86
fix: Check buffer full before pop_done()
Feb 24, 2025
00ef474
Merge pull request #3915 from embedded-rust-iml/fix/BufferedUartRx-nb…
Dirbaio Feb 24, 2025
27709df
Implement `core::error::Error` for STM32 Serial Devices
gmarino2048 Feb 26, 2025
17301c0
Merge pull request #3925 from gmarino2048/gmarino/core-error
Dirbaio Feb 26, 2025
3b37c79
only clear idle flag
meowcakes Feb 28, 2025
065071b
add separate tx waker
meowcakes Feb 28, 2025
2cc21d4
feature flag
meowcakes Feb 28, 2025
32f6f15
add missing module
meowcakes Feb 28, 2025
5512e3a
fix
meowcakes Feb 28, 2025
db44679
fix
meowcakes Feb 28, 2025
4c01f03
stm32: do not use private constructor
hvraven Feb 28, 2025
2494121
Added access to the byte swap flag for RP2*** chips for the PIO state…
Mar 1, 2025
26c689d
nrf5340: add regh_voltage config
0e4ef622 Mar 1, 2025
4f6762e
rp: Add unreleased changes to changelog
9names Mar 2, 2025
ec30e3e
nrf5340: add internal capacitor config
0e4ef622 Mar 2, 2025
207dbcc
Merge pull request #3938 from 9names/rp_unreleased_changelog
Dirbaio Mar 2, 2025
75c1ca2
Merge pull request #3937 from 0e4ef622/nrf53-vreghvout
Dirbaio Mar 2, 2025
7650948
Merge pull request #3939 from 0e4ef622/nrf53-int-cap
Dirbaio Mar 2, 2025
0edd45e
Merge pull request #3931 from hvraven/stm32-sai-fix
lulf Mar 3, 2025
8b3460f
Update README.md to include a reference to mpfs-hal
AlexCharlton Mar 3, 2025
f22649e
Added function to channel_impl to allow full configuration of the pin
Matt-Allen-Bose Mar 6, 2025
6af79f0
Merge pull request #3935 from edenbarby/main
lulf Mar 6, 2025
d378dca
Merge pull request #3930 from meowcakes/fix_uart
lulf Mar 6, 2025
1646dc3
Added gpio version specific code
Matt-Allen-Bose Mar 6, 2025
91d8175
Fixed documentation
Matt-Allen-Bose Mar 6, 2025
3525771
Add mpfs-hal references to docs
AlexCharlton Mar 6, 2025
7c49f48
Merge pull request #3943 from AlexCharlton/patch-1
lulf Mar 6, 2025
5e3cfc7
Merge branch 'embassy-rs:main' into stm32-pwm-pin-config
Matt-Allen-Bose Mar 7, 2025
2ceb3a7
Add Instant::try_from_* constructor functions
Abestanis Mar 7, 2025
f2e1430
rp/pio: Use crates.io version of pio in embassy-rp
9names Mar 8, 2025
e1b24a8
rp: Bump embassy-rp version number for release
9names Mar 8, 2025
4303771
rp: Update embassy-rp version in examples and tests
9names Mar 9, 2025
3729139
rp: Update changelog for embassy-rp 0.4.0 release
9names Mar 9, 2025
b00daaf
rp/pio: Update cyw43-pio to use new version of embassy-rp
9names Mar 9, 2025
f046fa2
rp: Update embassy-boot-rp to use embassy-rp 0.4.0
9names Mar 9, 2025
8f41a4d
boot/rp: Bump version number
9names Mar 9, 2025
424d207
Reference count senders and receivers so that we don't close down early.
Mar 9, 2025
5a37daf
preserve user attributes
robamu Mar 10, 2025
a704c41
Merge pull request #3958 from us-irs/preserve-user-attrs-on-main
Dirbaio Mar 10, 2025
8697580
Add try_from constructors to Duration
Abestanis Mar 10, 2025
05c6640
Merge pull request #3955 from 9names/embassy-rp-0.4.0
lulf Mar 11, 2025
0cf9511
Merge pull request #3956 from cschuhen/stm_can_count_instances_fix_3610
Dirbaio Mar 11, 2025
5af720d
Merge pull request #3953 from Abestanis/freature/instant_try_constructor
lulf Mar 11, 2025
38f2613
Merge pull request #3950 from Matt-Allen-Bose/stm32-pwm-pin-config
Dirbaio Mar 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/ci/build-xtensa.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export CARGO_TARGET_DIR=/ci/cache/target
export CARGO_NET_GIT_FETCH_WITH_CLI=true

cargo install espup
/ci/cache/cargo/bin/espup install
/ci/cache/cargo/bin/espup install --toolchain-version 1.84.0.0

# Restore lockfiles
if [ -f /ci/cache/lockfiles.tar ]; then
Expand Down
2 changes: 1 addition & 1 deletion .github/ci/doc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ docserver-builder -i ./embassy-stm32-wpan -o webroot/crates/embassy-stm32-wpan/g

docserver-builder -i ./embassy-time -o webroot/crates/embassy-time/git.zup
docserver-builder -i ./embassy-time-driver -o webroot/crates/embassy-time-driver/git.zup
docserver-builder -i ./embassy-time-queue-driver -o webroot/crates/embassy-time-queue-driver/git.zup
docserver-builder -i ./embassy-time-queue-utils -o webroot/crates/embassy-time-queue-utils/git.zup

docserver-builder -i ./embassy-usb -o webroot/crates/embassy-usb/git.zup
docserver-builder -i ./embassy-usb-dfu -o webroot/crates/embassy-usb-dfu/git.zup
Expand Down
2 changes: 1 addition & 1 deletion .github/ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ cargo test --manifest-path ./embassy-futures/Cargo.toml
cargo test --manifest-path ./embassy-sync/Cargo.toml
cargo test --manifest-path ./embassy-embedded-hal/Cargo.toml
cargo test --manifest-path ./embassy-hal-internal/Cargo.toml
cargo test --manifest-path ./embassy-time/Cargo.toml --features generic-queue,mock-driver
cargo test --manifest-path ./embassy-time/Cargo.toml --features mock-driver,embassy-time-queue-utils/generic-queue-8
cargo test --manifest-path ./embassy-time-driver/Cargo.toml

cargo test --manifest-path ./embassy-boot/Cargo.toml
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ out/
.zed
.neoconf.json
*.vim
**/.idea
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ Rust's <a href="https://rust-lang.github.io/async-book/">async/await</a> allows

- **Hardware Abstraction Layers** - HALs implement safe, idiomatic Rust APIs to use the hardware capabilities, so raw register manipulation is not needed. The Embassy project maintains HALs for select hardware, but you can still use HALs from other projects with Embassy.
- <a href="https://docs.embassy.dev/embassy-stm32/">embassy-stm32</a>, for all STM32 microcontroller families.
- <a href="https://docs.embassy.dev/embassy-nrf/">embassy-nrf</a>, for the Nordic Semiconductor nRF52, nRF53, nRF91 series.
- <a href="https://docs.embassy.dev/embassy-rp/">embassy-rp</a>, for the Raspberry Pi RP2040 microcontroller.
- <a href="https://docs.embassy.dev/embassy-nrf/">embassy-nrf</a>, for the Nordic Semiconductor nRF52, nRF53, nRF54 and nRF91 series.
- <a href="https://docs.embassy.dev/embassy-rp/">embassy-rp</a>, for the Raspberry Pi RP2040 and RP23xx microcontrollers.
- <a href="https://github.com/esp-rs">esp-rs</a>, for the Espressif Systems ESP32 series of chips.
- Embassy HAL support for Espressif chips is being developed in the [esp-rs/esp-hal](https://github.com/esp-rs/esp-hal) repository.
- Async WiFi, Bluetooth and ESP-NOW is being developed in the [esp-rs/esp-wifi](https://github.com/esp-rs/esp-wifi) repository.
- Embassy HAL support for Espressif chips, as well as Async WiFi, Bluetooth and ESP-NOW, is being developed in the [esp-rs/esp-hal](https://github.com/esp-rs/esp-hal) repository.
- <a href="https://github.com/ch32-rs/ch32-hal">ch32-hal</a>, for the WCH 32-bit RISC-V(CH32V) series of chips.
- <a href="https://github.com/AlexCharlton/mpfs-hal">mpfs-hal</a>, for the Microchip PolarFire SoC.

- **Time that Just Works** -
No more messing with hardware timers. <a href="https://docs.embassy.dev/embassy-time">embassy_time</a> provides Instant, Duration and Timer types that are globally available and never overflow.
Expand All @@ -32,9 +32,10 @@ Easily build devices with years of battery life. The async executor automaticall
- **Networking** -
The <a href="https://docs.embassy.dev/embassy-net/">embassy-net</a> network stack implements extensive networking functionality, including Ethernet, IP, TCP, UDP, ICMP and DHCP. Async drastically simplifies managing timeouts and serving multiple connections concurrently.

- **Bluetooth** -
The <a href="https://github.com/embassy-rs/nrf-softdevice">nrf-softdevice</a> crate provides Bluetooth Low Energy 4.x and 5.x support for nRF52 microcontrollers.
The <a href="https://github.com/embassy-rs/embassy/tree/main/embassy-stm32-wpan">embassy-stm32-wpan</a> crate provides Bluetooth Low Energy 5.x support for stm32wb microcontrollers.
- **Bluetooth**
- The <a href="https://github.com/embassy-rs/trouble">trouble</a> crate provides a Bluetooth Low Energy 4.x and 5.x Host that runs on any microcontroller implementing the <a href="https://github.com/embassy-rs/bt-hci">bt-hci</a> traits (currently `nRF52`, `rp2040`, `rp23xx` and `esp32` and `serial` controllers are supported).
- The <a href="https://github.com/embassy-rs/nrf-softdevice">nrf-softdevice</a> crate provides Bluetooth Low Energy 4.x and 5.x support for nRF52 microcontrollers.
- The <a href="https://github.com/embassy-rs/embassy/tree/main/embassy-stm32-wpan">embassy-stm32-wpan</a> crate provides Bluetooth Low Energy 5.x support for stm32wb microcontrollers.

- **LoRa** - The <a href="https://github.com/lora-rs/lora-rs">lora-rs</a> project provides an async LoRa and LoRaWAN stack that works well on Embassy.

Expand Down
11 changes: 2 additions & 9 deletions ci-nightly.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,13 @@ cargo batch \
--- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features nightly,log \
--- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features nightly,defmt \
--- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv6m-none-eabi --features nightly,defmt \
--- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv6m-none-eabi --features nightly,defmt,arch-cortex-m,executor-thread,executor-interrupt,integrated-timers \
--- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv6m-none-eabi --features nightly,defmt,arch-cortex-m,executor-thread,executor-interrupt \
--- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features nightly,arch-cortex-m \
--- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features nightly,arch-cortex-m,integrated-timers \
--- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features nightly,arch-cortex-m,executor-thread \
--- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features nightly,arch-cortex-m,executor-thread,integrated-timers \
--- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features nightly,arch-cortex-m,executor-interrupt \
--- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features nightly,arch-cortex-m,executor-interrupt,integrated-timers \
--- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features nightly,arch-cortex-m,executor-thread,executor-interrupt \
--- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features nightly,arch-cortex-m,executor-thread,executor-interrupt,integrated-timers \
--- build --release --manifest-path embassy-executor/Cargo.toml --target riscv32imac-unknown-none-elf --features nightly,arch-riscv32 \
--- build --release --manifest-path embassy-executor/Cargo.toml --target riscv32imac-unknown-none-elf --features nightly,arch-riscv32,integrated-timers \
--- build --release --manifest-path embassy-executor/Cargo.toml --target riscv32imac-unknown-none-elf --features nightly,arch-riscv32,executor-thread \
--- build --release --manifest-path embassy-executor/Cargo.toml --target riscv32imac-unknown-none-elf --features nightly,arch-riscv32,executor-thread,integrated-timers \
--- build --release --manifest-path examples/nrf52840-rtic/Cargo.toml --target thumbv7em-none-eabi --out-dir out/examples/nrf52840-rtic \
--- build --release --manifest-path examples/nrf52840-rtic/Cargo.toml --target thumbv7em-none-eabi --artifact-dir out/examples/nrf52840-rtic \

cargo build --release --manifest-path embassy-executor/Cargo.toml --target avr-unknown-gnu-atmega328 -Z build-std=core,alloc --features nightly,arch-avr,avr-device/atmega328p
cargo build --release --manifest-path embassy-executor/Cargo.toml --target avr-unknown-gnu-atmega328 -Z build-std=core,alloc --features nightly,arch-avr,integrated-timers,avr-device/atmega328p
15 changes: 7 additions & 8 deletions ci-xtensa.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,16 @@ cargo batch \
--- build --release --manifest-path embassy-executor/Cargo.toml --target xtensa-esp32-none-elf --features log \
--- build --release --manifest-path embassy-executor/Cargo.toml --target xtensa-esp32-none-elf --features defmt \
--- build --release --manifest-path embassy-executor/Cargo.toml --target xtensa-esp32s2-none-elf --features defmt \
--- build --release --manifest-path embassy-executor/Cargo.toml --target xtensa-esp32-none-elf --features defmt,arch-spin,executor-thread,integrated-timers \
--- build --release --manifest-path embassy-executor/Cargo.toml --target xtensa-esp32s2-none-elf --features defmt,arch-spin,executor-thread,integrated-timers \
--- build --release --manifest-path embassy-executor/Cargo.toml --target xtensa-esp32s3-none-elf --features defmt,arch-spin,executor-thread,integrated-timers \
--- build --release --manifest-path embassy-executor/Cargo.toml --target xtensa-esp32-none-elf --features defmt,arch-spin,executor-thread \
--- build --release --manifest-path embassy-executor/Cargo.toml --target xtensa-esp32s2-none-elf --features defmt,arch-spin,executor-thread \
--- build --release --manifest-path embassy-executor/Cargo.toml --target xtensa-esp32s3-none-elf --features defmt,arch-spin,executor-thread \
--- build --release --manifest-path embassy-executor/Cargo.toml --target xtensa-esp32-none-elf --features arch-spin \
--- build --release --manifest-path embassy-executor/Cargo.toml --target xtensa-esp32-none-elf --features arch-spin,integrated-timers \
--- build --release --manifest-path embassy-executor/Cargo.toml --target xtensa-esp32-none-elf --features arch-spin,rtos-trace \
--- build --release --manifest-path embassy-executor/Cargo.toml --target xtensa-esp32-none-elf --features arch-spin,integrated-timers,rtos-trace \
--- build --release --manifest-path embassy-executor/Cargo.toml --target xtensa-esp32-none-elf --features arch-spin,executor-thread \
--- build --release --manifest-path embassy-executor/Cargo.toml --target xtensa-esp32-none-elf --features arch-spin,executor-thread,integrated-timers \
--- build --release --manifest-path embassy-sync/Cargo.toml --target xtensa-esp32s2-none-elf --features defmt \
--- build --release --manifest-path embassy-time/Cargo.toml --target xtensa-esp32s2-none-elf --features defmt,defmt-timestamp-uptime,generic-queue-8,mock-driver \
--- build --release --manifest-path embassy-time/Cargo.toml --target xtensa-esp32s2-none-elf --features defmt,defmt-timestamp-uptime,mock-driver \
--- build --release --manifest-path embassy-time-queue-utils/Cargo.toml --target xtensa-esp32s2-none-elf \
--- build --release --manifest-path embassy-time-queue-utils/Cargo.toml --target xtensa-esp32s2-none-elf --features generic-queue-8 \
--- build --release --manifest-path embassy-net/Cargo.toml --target xtensa-esp32-none-elf --features defmt,tcp,udp,dns,proto-ipv4,medium-ethernet,packet-trace \
--- build --release --manifest-path embassy-net/Cargo.toml --target xtensa-esp32-none-elf --features defmt,tcp,udp,dns,proto-ipv4,multicast,medium-ethernet \
--- build --release --manifest-path embassy-net/Cargo.toml --target xtensa-esp32-none-elf --features defmt,tcp,udp,dns,dhcpv4,medium-ethernet \
Expand All @@ -36,4 +35,4 @@ cargo batch \
--- build --release --manifest-path embassy-net/Cargo.toml --target xtensa-esp32-none-elf --features defmt,tcp,udp,dns,proto-ipv4,proto-ipv6,medium-ethernet \
--- build --release --manifest-path embassy-net/Cargo.toml --target xtensa-esp32-none-elf --features defmt,tcp,udp,dns,proto-ipv4,proto-ipv6,medium-ip \
--- build --release --manifest-path embassy-net/Cargo.toml --target xtensa-esp32-none-elf --features defmt,tcp,udp,dns,proto-ipv4,proto-ipv6,medium-ip,medium-ethernet \
--- build --release --manifest-path embassy-net/Cargo.toml --target xtensa-esp32-none-elf --features defmt,tcp,udp,dns,proto-ipv4,proto-ipv6,medium-ip,medium-ethernet,medium-ieee802154 \
--- build --release --manifest-path embassy-net/Cargo.toml --target xtensa-esp32-none-elf --features defmt,tcp,udp,dns,proto-ipv4,proto-ipv6,medium-ip,medium-ethernet,medium-ieee802154 \
Loading