Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1619 commits
Select commit Hold shift + click to select a range
81573b1
Merge pull request #3364 from hansihe/fix-fdcan-preemption-dequeued-f…
lulf Sep 23, 2024
05d453b
Fixed signature script in bootloader documentation
kingofpayne Sep 23, 2024
2935290
Merge pull request #3366 from kingofpayne/main
lulf Sep 23, 2024
a2c4733
Merge branch 'embassy-rs:main' into multi-signal
peterkrull Sep 23, 2024
0b8c458
Fix rp2350b pins >31 on debug builds
CBJamo Sep 23, 2024
0ede847
Merge pull request #3367 from CBJamo/rp2350_debug_pin_fix
Dirbaio Sep 23, 2024
a669611
Discontinue peek, add AnonReceiver
peterkrull Sep 23, 2024
999807f
Added SealedWatchBehavior to limit access to core functions
peterkrull Sep 23, 2024
5e1912a
Reverse generics order, remove spin_get
peterkrull Sep 24, 2024
a498bf1
Disable pad isolation on PWM A pins.
CBJamo Sep 24, 2024
b743dce
Only B pins can be inputs.
CBJamo Sep 24, 2024
af6fbb0
Merge pull request #3371 from CBJamo/rp23_pwm_b_pin
Dirbaio Sep 24, 2024
ae5b78b
feat(embassy-net): Implement `wait_recv_ready()` + `wait_send_ready()…
AnthonyGrondin Sep 23, 2024
e8da387
docs(embassy-net): Update can_send() and may_send() documentation to …
AnthonyGrondin Sep 24, 2024
712fa08
feat(embassy-net): Implement `wait_read_ready()` + `wait_write_ready(…
AnthonyGrondin Sep 24, 2024
6e2c5d0
rp23: add missing binary info in linker script
romainreignier Sep 26, 2024
8a5d145
Merge pull request #3374 from romainreignier/fix_rp23_binary_info
Dirbaio Sep 26, 2024
f19718b
Add config option for setting SIM pin
lulf Sep 26, 2024
eb91089
Merge pull request #3376 from embassy-rs/nrf91-sim-pin
lulf Sep 26, 2024
3792b14
fix: change duplicate reference to `FirmwareUpdaterConfig::from_linke…
dnbln Sep 27, 2024
a7d1abf
Merge pull request #3378 from dnbln/patch-1
lulf Sep 27, 2024
e6ce810
Merge pull request #2568 from peterkrull/multi-signal
lulf Oct 1, 2024
bc01808
Remove binary_info blocks from most examples. (#3385)
CBJamo Oct 1, 2024
ce701c3
Fixed overflow on `pio_stepper.rs`
paul-fornage Oct 2, 2024
6e0b082
Merge pull request #3387 from paulwrath1223/main
kalkyl Oct 2, 2024
b73b3f2
rp: Run RP235x at 150 MHz instead of 125
shilga Oct 5, 2024
d643d50
Add Watch to embassy-sync README
1-rafael-1 Oct 5, 2024
7c3562c
Merge pull request #3392 from 1-rafael-1/embassy-sync-README-mention-…
kalkyl Oct 5, 2024
b59143a
Merge pull request #3391 from shilga/features/rp235x_clock
Dirbaio Oct 5, 2024
383ad72
embassy-sync: add clear, len, is_empty and is_full functions to zeroc…
sourcebox Oct 5, 2024
67836f9
docs: fix Sender/Receiver typo
chmanie Oct 5, 2024
8f27349
Merge pull request #3394 from AtoVproject/fix/embassy-sync-sender-typo
kalkyl Oct 6, 2024
f3ed0c6
embassy-sync: fix len calculation for zerocopy_channel
sourcebox Oct 6, 2024
12e6add
embassy-sync: renamed field len to capacity on zerocopy_channel state
sourcebox Oct 6, 2024
631fec8
Merge pull request #3393 from sourcebox/sync-additions
Dirbaio Oct 6, 2024
f6155cf
Update smoltcp, embedded-nal-async to use the `core::net` IP addr types.
Dirbaio Oct 6, 2024
9e6e09a
executor/spin: introduce an architecture agnostic executor
Dummyc0m Oct 7, 2024
e7e245e
feat: embassy-lpc55 hal with gpio and pint driver
eva-cosma Jun 5, 2024
a74bae3
Merge pull request #3343 from george-cosma/hal-with-pac
lulf Oct 7, 2024
aa2f6ae
Merge pull request #3395 from vapor-keeb/main
Dirbaio Oct 7, 2024
baef775
Add capacity, free_capacity, clear, len, is_empty and is_full functio…
sourcebox Oct 7, 2024
e3fd33d
Minor changelog fix
sourcebox Oct 7, 2024
7920ba8
Merge pull request #3400 from sourcebox/sync-additions
Dirbaio Oct 7, 2024
0774813
embassy-sync: fixed link to priority_channel in README
sourcebox Oct 7, 2024
2704ac3
Add capacity, free_capacity, clear, len, is_empty and is_full functio…
sourcebox Oct 7, 2024
42815e9
Merge pull request #3401 from sourcebox/sync-additions
Dirbaio Oct 7, 2024
bf60b23
embassy-sync: fixed some clippy warnings
sourcebox Oct 7, 2024
4110cb4
embassy-sync: added Watch primitive to changelog
sourcebox Oct 7, 2024
592bb5a
embassy-sync: made changelog formatting more consistent
sourcebox Oct 7, 2024
df0fc04
fix: stm32l0 low-power EXTI IRQ handler wiped pending bits before the…
Sep 11, 2024
456c226
Merge pull request #3404 from farmblox/fix-stm32-exti-low-power
Dirbaio Oct 8, 2024
57c1fbf
Move pio programs into embassy-rp
CBJamo Oct 9, 2024
fc978c2
Fix rp23 i2s example, boot_sel isn't supported yet.
CBJamo Oct 9, 2024
c7f7728
cargo +nightly fmt
CBJamo Oct 9, 2024
e47c031
fmt examples too
CBJamo Oct 9, 2024
22fe493
Better docs and adding of release for PioPwm
BjornTheProgrammer Oct 9, 2024
041eef5
Merge pull request #1 from BjornTheProgrammer/pio_programs
CBJamo Oct 9, 2024
1b32b7b
fmt
CBJamo Oct 9, 2024
70bd158
Make the docs be docs
CBJamo Oct 9, 2024
3870411
stm32/i2c: disable pullup instead of pulldown
Sh3Rm4n Oct 10, 2024
e7dfc2b
Merge pull request #3410 from Sh3Rm4n/fix/i2c-pull
Dirbaio Oct 10, 2024
9555259
Merge pull request #3402 from sourcebox/sync-additions
lulf Oct 10, 2024
350a15a
make bluetooth module public
jbuijgers Oct 11, 2024
0bf9982
stm32: add RX Pull configuration option to USART
bkueng Oct 12, 2024
45d4b1d
Merge pull request #3415 from bkueng/stm32_uart_rx_pull
Dirbaio Oct 13, 2024
7b09e88
Merge pull request #3397 from embassy-rs/core-ip
Dirbaio Oct 13, 2024
eea08d7
Merge pull request #3407 from CBJamo/pio_programs
Dirbaio Oct 13, 2024
cdcd9de
Enable FPU for RP235X Core1
Totto8492 Sep 27, 2024
2f6273b
Merge pull request #3299 from badrbouslikhin/main
Dirbaio Oct 13, 2024
0222faa
Add octospim support for octospi (#3102)
HaoboGu Oct 13, 2024
a4636d8
rp/multicore: enable fpu on second core only if building for -eabihf …
Dirbaio Oct 13, 2024
4eb820a
Merge pull request #3377 from Totto8492/enable-fpu
Dirbaio Oct 13, 2024
ee669ee
Update nighlty, fix warnings.
Dirbaio Oct 13, 2024
9a45d77
rustfmt for new nightly.
Dirbaio Oct 13, 2024
c84495e
Merge pull request #3416 from embassy-rs/update-nightly-324
Dirbaio Oct 13, 2024
6862ac5
Stm32: implement async flush for UART
qwerty19106 Sep 16, 2024
ad5f7bf
tests: remove deprecated -Cinline-threshold.
Dirbaio Oct 14, 2024
014583a
tests/stm32: add uart async and blocking flush test.
Dirbaio Oct 14, 2024
4f08d5b
Merge pull request #3379 from qwerty19106/stm32_async_flush
Dirbaio Oct 14, 2024
2b10caa
stm32: initial support for alternative ringbuffer implementation
liarokapisv Sep 15, 2024
f4ec0cb
simplify and rename ringbuffer methods, make len available
liarokapisv Sep 22, 2024
85fb890
add auto-clear functionality to ringbuffer
liarokapisv Sep 22, 2024
8271225
make len method take mut self and remove sync index calls
liarokapisv Sep 23, 2024
9c7b296
overrun at invalid diffs, rename clear to reset, simplify dma_sync me…
liarokapisv Sep 23, 2024
c991ddb
use request_pause instead of request_stop at adc shutdown
liarokapisv Sep 24, 2024
f0d2ebd
stm32: fix ringbugger overrun errors due to bad dma wrap-around behavior
liarokapisv Oct 1, 2024
2ec05da
simplify if/else handling on ringbuffer
liarokapisv Oct 2, 2024
d280b23
fix adc/ringbuffered_v2.rs
liarokapisv Oct 3, 2024
4f810e4
enable ci usart tests
liarokapisv Oct 3, 2024
28d0353
stm32: Automatically clear on WritableRingBuffer start
liarokapisv Oct 7, 2024
e350ca8
STM32 QSPI typo (#3418)
diondokter Oct 15, 2024
bcfbaaa
Merge pull request #3336 from liarokapisv/stm32-alternative-ringbuffe…
lulf Oct 16, 2024
8af5248
add RTR flag if it is remote frame
TuEmb Oct 16, 2024
fe99469
Merge pull request #3421 from TuEmb/main
Dirbaio Oct 16, 2024
9f1b6b4
Revise I2S interface to ring-buffered.
liarokapisv May 20, 2024
0225c2a
Merge pull request #3023 from liarokapisv/i2s-ring-buffered
lulf Oct 17, 2024
9cf75d7
stm32/flash: add support for l5
chrenderle Oct 17, 2024
dcdc063
Update to rust 1.82.
Dirbaio Oct 17, 2024
3d0c557
Merge pull request #3424 from embassy-rs/update-rust2
Dirbaio Oct 17, 2024
1f58e0e
executor: fix unsoundness due to `impl Trait`, improve macro error ha…
Dirbaio Oct 18, 2024
a580437
Merge pull request #3423 from chrenderle/l5-flash
Dirbaio Oct 18, 2024
8dde7b6
Merge pull request #3414 from jbuijgers/rp-bt-type-exposure
lulf Oct 18, 2024
f21b191
embassy-futures: add select 5 and 6
chrenderle Oct 19, 2024
c9358e1
Merge pull request #3430 from chrenderle/more-select
lulf Oct 20, 2024
7fc09f8
embassy_rp: implement pwm traits from embedded_hal
1-rafael-1 Oct 20, 2024
8baf88f
rustfmt
1-rafael-1 Oct 20, 2024
f0de049
executor-macros: improve error messages.
Dirbaio Oct 20, 2024
8f98268
executor: add compile-fail / ui tests.
Dirbaio Oct 20, 2024
f92b27d
Merge pull request #3434 from embassy-rs/macro-fixes
Dirbaio Oct 20, 2024
1a24b4f
Release embassy-executor v0.6.1, embassy-executor-macros v0.6.1
Dirbaio Oct 20, 2024
ecac24a
stm32: Fix build for chips with octospim but not octospi2.
Dirbaio Oct 20, 2024
a561a76
Merge pull request #3436 from embassy-rs/release-executor-v061
Dirbaio Oct 20, 2024
34eeaa0
Merge pull request #3435 from embassy-rs/octospim-fix
Dirbaio Oct 20, 2024
b4ee17f
net: Add flush for UDP and Raw sockets.
ProfFan Oct 20, 2024
4a1d189
Merge pull request #3437 from embassy-rs/net-flush-udp-raw
Dirbaio Oct 21, 2024
1d395fc
stm32/flash: add stm32f2, stm32h5 flash driver
Luctins Sep 3, 2024
d8ae586
Merge pull request #3305 from Luctins/stm32h5-flash-driver
Dirbaio Oct 21, 2024
e8ba969
Merge pull request #3368 from AnthonyGrondin/main
Dirbaio Oct 21, 2024
379a593
Merge pull request #3358 from mammothbane/main
Dirbaio Oct 21, 2024
693bd8c
re-export SetDutyCycle for user convenience
1-rafael-1 Oct 21, 2024
f32b0fb
change existing pwm example to reflect both existing ways to use pwm …
1-rafael-1 Oct 21, 2024
d7db8fb
rustfmt
1-rafael-1 Oct 21, 2024
d92fb00
rustfmt
1-rafael-1 Oct 21, 2024
e782eab
Changelog executor v0.5.1 release.
Dirbaio Oct 21, 2024
61f55be
Use released version of reqwless for examples
lulf Oct 21, 2024
d7692b1
Merge pull request #3440 from embassy-rs/update-reqwless
lulf Oct 21, 2024
c0addc0
add uart permutations usefull for rs485
Luctins Oct 21, 2024
2c9b528
fmt
Luctins Oct 21, 2024
8dfc9ba
also add to the rp pwm example
1-rafael-1 Oct 21, 2024
14e6930
add pwm frequency to examples
1-rafael-1 Oct 21, 2024
82772e3
:memo: fix wrong comment
Luctins Oct 21, 2024
548f11d
cheaper motors need lower pwm frequency
1-rafael-1 Oct 21, 2024
c94c551
net: automatically enable defmt/ip_in_core
Dirbaio Oct 22, 2024
6da53f0
Merge pull request #3442 from embassy-rs/Dirbaio-patch-1
Dirbaio Oct 22, 2024
0c22d4c
Merge pull request #3433 from 1-rafael-1/rp-pwm-embedded-hal-traits
lulf Oct 22, 2024
398119a
Merge pull request #3441 from Luctins/chore/usart-add-rts-only-new
Dirbaio Oct 22, 2024
3279c19
feat(stm32): allow `bind_interrupts!` to accept conditional compilati…
dnbln Oct 22, 2024
66822f1
update path to cyw43 firmware in `wifi_blinky.rs` comments
U007D Oct 22, 2024
f7d372f
Merge pull request #3446 from U007D/update-firmware-path
lulf Oct 22, 2024
ccd635f
fix + allow both conditions on the irq and the handlers
dnbln Oct 22, 2024
82a438a
fix
dnbln Oct 22, 2024
5c23c78
fix
dnbln Oct 22, 2024
e9f2e63
fix
dnbln Oct 22, 2024
c797915
fix: review comments
dnbln Oct 22, 2024
8eb80c6
Merge pull request #3444 from dnbln/main
Dirbaio Oct 22, 2024
e5bc266
feat: set ospi memory mapped mode
HaoboGu Oct 23, 2024
8803128
Merge pull request #3317 from GrantM11235/simplepwmchannel
lulf Oct 23, 2024
be50b62
stm32/uart impl ReadReady for RingbufferdUart
Oct 23, 2024
528a3e4
Add support for transactions to Twim in embassy-nrf
alexmoon Aug 14, 2024
110d87b
Remove support for consecutive Read operations
alexmoon Aug 19, 2024
55805de
Refactoring and cleanup
alexmoon Aug 21, 2024
1fed8ac
Allow separate control of duty cycle for each channel in a pwm slice …
vivi202 Oct 24, 2024
2596de5
Fixed missing trait implementation for PwmOutput.
vivi202 Oct 24, 2024
31662ea
Add new() method to PwmBatch so it can be istantiated.
vivi202 Oct 24, 2024
0524632
Revert "Add new() method to PwmBatch so it can be istantiated."
vivi202 Oct 24, 2024
336ef01
Implemented owned split.
vivi202 Oct 24, 2024
354ff3b
Fix missing lifetime
vivi202 Oct 24, 2024
874dbec
Fixed mistakes.
vivi202 Oct 24, 2024
7b62d70
feat(ospi): add memory mapped mode
HaoboGu Oct 25, 2024
71fe8a7
Fixed owned split and implemented split_by_ref.
vivi202 Oct 25, 2024
7d9d2f8
Merge pull request #1 from vivi202/fixOwnedSplit
vivi202 Oct 25, 2024
9690bed
Fix documentation.
vivi202 Oct 25, 2024
45e7a7a
Update CFBLR configuration
william-spinelli Oct 25, 2024
be52224
Add LTDC example for STM32U5G9J-DK2 demo board
william-spinelli Oct 25, 2024
d1db7d9
Explain how to keep the executor awake
bugadani Oct 25, 2024
6545dfe
Update overview.adoc
ckrenslehner Oct 25, 2024
a916633
Merge pull request #3461 from Krensi/patch-1
Dirbaio Oct 25, 2024
a18ca16
Merge pull request #3460 from bugadani/keepawake
Dirbaio Oct 25, 2024
6bcd05a
Merge pull request #3454 from vivi202/embassy-rpSplitPwm
Dirbaio Oct 25, 2024
2c05ac5
Update embassy Cargo.toml section in new_project.adoc
ckrenslehner Oct 25, 2024
3d0921f
fix spelling
ckrenslehner Oct 25, 2024
b31648f
Merge pull request #3462 from Krensi/patch-2
lulf Oct 26, 2024
edac7cc
stm32/uart remove DmaUnsynced from public api
Oct 26, 2024
ca6bcb4
feat(ospi): add ospi example
HaoboGu Oct 26, 2024
04c9130
feat(example): move ospi memory mapped example for stm32h7b0 to sepa…
HaoboGu Oct 26, 2024
3b5284d
fix: fmt code
HaoboGu Oct 26, 2024
66205fd
update spi_display example for rp
Georges760 Oct 27, 2024
7733b99
update spi_display example for rp23
Georges760 Oct 27, 2024
917f1d1
This fixes 2 issues where STM32 BXCAN would hang
korken89 Oct 27, 2024
f0a2616
Merge pull request #3468 from korken89/fix-can-hang
Dirbaio Oct 27, 2024
edd3638
Add examples/stm32h7b0 to CI
Dirbaio Oct 27, 2024
1457e4d
Merge pull request #3456 from HaoboGu/feat/ospi_mm
Dirbaio Oct 27, 2024
cd9e581
Merge pull request #3257 from alexmoon/nrf-twim-transactions
Dirbaio Oct 27, 2024
ca8e885
Add tx_dma to async spi
Meigs2 Oct 27, 2024
80cb2bc
Merge pull request #3469 from Meigs2/embassy-rp-fix-spi-rx-only-dma
Dirbaio Oct 27, 2024
bfff50a
Fix format
william-spinelli Oct 28, 2024
76606b6
Update chip from stm32u585ai to stm32u5g9zj and fix pinout
william-spinelli Oct 28, 2024
10c9fbc
Merge pull request #3458 from williams-one/fix-ltdc-settings-for-stm32u5
Dirbaio Oct 29, 2024
5db6b48
Expose async functions for QSPI
diondokter Oct 29, 2024
2d899a1
Add some sanity checks
diondokter Oct 29, 2024
9fdfe5e
Fix typo
diondokter Oct 29, 2024
28b1e0a
Reexported some smoltcp types for raw socket.
Frostie314159 Oct 29, 2024
a3bbb3b
Add check for the flipside of the coin too
diondokter Oct 29, 2024
04bd2ba
Merge pull request #3475 from diondokter/qspi-async
Dirbaio Oct 30, 2024
117d091
Made import private again.
Frostie314159 Oct 30, 2024
b0c7fa0
Merge pull request #3478 from Frostie314159/raw-socket-fix
Dirbaio Oct 30, 2024
93dd210
Implement `embedded_io::Write` for `Uart<'d, T: Instance, Blocking>` …
flippette Oct 31, 2024
3225848
rp/pio: ensure PADS IE=1 which is not the default in rp235x.
Dirbaio Oct 31, 2024
f319f1b
Merge pull request #3484 from embassy-rs/rp235x-pio-ie
Dirbaio Oct 31, 2024
70214fc
feat(embassy-net): Implement `TcpReader::wait_read_ready()` + `TcpWri…
AnthonyGrondin Oct 31, 2024
acaba50
feat(embassy-net): Implement `wait_send_ready()` + `wait_recv_ready()…
AnthonyGrondin Nov 1, 2024
333d858
Added ReceiverHandler to logger
BjornTheProgrammer Nov 1, 2024
763de8a
Merge pull request #3486 from BjornTheProgrammer/main
lulf Nov 1, 2024
10a9766
Merge pull request #3485 from AnthonyGrondin/main
Dirbaio Nov 1, 2024
e93ac53
feat/stm32: disable multicast filtering on eth v2
kkrolczyk Nov 1, 2024
af694d2
chore: improve some log msgs
kkrolczyk Nov 1, 2024
9634dfd
chore: address some clippy issues
kkrolczyk Nov 1, 2024
84def16
Also implement `embedded_io::Write` for `UartTx<'d, T: Instance, Bloc…
flippette Nov 1, 2024
54dd2af
Merge pull request #3488 from kkrolczyk/small_net_fixes
Dirbaio Nov 2, 2024
fcbbef0
Merge pull request #3489 from flippette/embedded-io-rp-uart-pt2
Dirbaio Nov 2, 2024
43ff5a9
stm32/uart fix leftover DmaUnsynced public api
Nov 2, 2024
1434d2f
enhanced docs for time driver
carloskiki Nov 2, 2024
5c1f9cf
rustfmt
carloskiki Nov 2, 2024
926ae1a
low-power: add support for stm32u5
chrenderle Nov 3, 2024
c75e1e2
Merge pull request #3495 from carloskiki/patch-1
Dirbaio Nov 3, 2024
650f979
Merge pull request #3496 from chrenderle/u5-low-power
Dirbaio Nov 3, 2024
51f6b81
nrf: port to chiptool-based `nrf-pac`.
Dirbaio Oct 24, 2024
089b8a4
Merge pull request #3451 from dvdsk/read_ready
Dirbaio Nov 3, 2024
3d8e987
Merge pull request #3498 from embassy-rs/nrf-pac
Dirbaio Nov 4, 2024
aa453ca
add split_ref for stm32 uart
KennethKnudsen97 Nov 4, 2024
bffe7cf
nrf: fix docs build.
Dirbaio Nov 4, 2024
6dffb22
Update Nightly.
Dirbaio Nov 4, 2024
6fe798d
Merge pull request #3501 from embassy-rs/update-nightly-202411
Dirbaio Nov 4, 2024
fff304b
nrf/pwm: fix bad pin assignment.
Dirbaio Nov 4, 2024
f51ee98
nrf/pwm: disconnect input.
Dirbaio Nov 4, 2024
f55ebef
Merge pull request #3502 from embassy-rs/fix-pwm
Dirbaio Nov 4, 2024
03adeed
executor: allow overriding `embassy_executor` path in `task` macro
kaspar030 Nov 4, 2024
5b07507
Merge pull request #3467 from Georges760/upd-ex-spi-display
lulf Nov 5, 2024
5bc4796
Merge pull request #3503 from kaspar030/task-macro-path-override
lulf Nov 6, 2024
682504e
Fix get_state in cases where WRITE_SIZE != 1
MathiasKoch Nov 6, 2024
e4f611b
Merge pull request #3507 from MathiasKoch/fix/bootloader-async-updater
lulf Nov 6, 2024
1e850ae
Detect and allow older nightlies
bugadani Nov 6, 2024
72109a7
Split_ref with shortened lifetime. When borrowed skip drop on rx and tx
KennethKnudsen97 Nov 6, 2024
4136892
Merge pull request #3508 from bugadani/nightly
Dirbaio Nov 6, 2024
9465932
Prep executor 0.6.2
bugadani Nov 6, 2024
aeb8545
Also bump macros
bugadani Nov 6, 2024
e1501a2
Merge pull request #3510 from bugadani/exec
Dirbaio Nov 6, 2024
dbba791
Merge pull request #3500 from KennethKnudsen97/main
Dirbaio Nov 6, 2024
555231a
chore: update stm32 data source
elagil Nov 6, 2024
e69be0a
fix: STM32U5 RCC fields
elagil Nov 6, 2024
7a2f839
Merge pull request #3511 from elagil/chore_upgrade_stm32_metapac
Dirbaio Nov 6, 2024
7231032
RCC: added msik for stm32u5
chrenderle Nov 7, 2024
9032cc0
Merge pull request #3513 from chrenderle/rcc-msik
Dirbaio Nov 7, 2024
cf2424f
RCC: add lsi and lse clock frequency for STM32U5
chrenderle Nov 7, 2024
05d3623
Merge pull request #3514 from chrenderle/rcc
Dirbaio Nov 7, 2024
23b501a
add g4 flash stubs
tomasbarton-stemcell Mar 28, 2024
2ecb452
g4 programming hack
tomasbarton-stemcell Mar 28, 2024
c01336c
disable tracing messages
tomasbarton-stemcell Mar 28, 2024
8b6aeb7
align with embassy changes
tomasbarton-stemcell Mar 28, 2024
87421de
stm32 timer: add low level methods
tomasbarton-stemcell Mar 28, 2024
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
  •  
  •  
  •  
17 changes: 17 additions & 0 deletions .github/ci/book.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash
## on push branch=main

set -euxo pipefail

make -C docs

export KUBECONFIG=/ci/secrets/kubeconfig.yml
POD=$(kubectl -n embassy get po -l app=website -o jsonpath={.items[0].metadata.name})

mkdir -p build
mv docs/book build/book
tar -C build -cf book.tar book
kubectl exec $POD -- mkdir -p /usr/share/nginx/html
kubectl cp book.tar $POD:/usr/share/nginx/html/
kubectl exec $POD -- find /usr/share/nginx/html
kubectl exec $POD -- tar -C /usr/share/nginx/html -xvf /usr/share/nginx/html/book.tar
2 changes: 1 addition & 1 deletion .github/ci/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set -euo pipefail
export RUSTUP_HOME=/ci/cache/rustup
export CARGO_HOME=/ci/cache/cargo
export CARGO_TARGET_DIR=/ci/cache/target
if [ -f /ci/secrets/teleprobe-token.txt ]; then
if [ -f /ci/secrets/teleprobe-token.txt ]; then
echo Got teleprobe token!
export TELEPROBE_HOST=https://teleprobe.embassy.dev
export TELEPROBE_TOKEN=$(cat /ci/secrets/teleprobe-token.txt)
Expand Down
1 change: 1 addition & 0 deletions .github/ci/doc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ 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
docserver-builder -i ./embassy-usb-driver -o webroot/crates/embassy-usb-driver/git.zup
docserver-builder -i ./embassy-usb-logger -o webroot/crates/embassy-usb-logger/git.zup
docserver-builder -i ./embassy-usb-synopsys-otg -o webroot/crates/embassy-usb-synopsys-otg/git.zup

docserver-builder -i ./embassy-net -o webroot/crates/embassy-net/git.zup
docserver-builder -i ./embassy-net-driver -o webroot/crates/embassy-net-driver/git.zup
Expand Down
4 changes: 4 additions & 0 deletions .github/ci/test-nightly.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,9 @@ export CARGO_HOME=/ci/cache/cargo
export CARGO_TARGET_DIR=/ci/cache/target
mv rust-toolchain-nightly.toml rust-toolchain.toml

cargo test --manifest-path ./embassy-executor/Cargo.toml
cargo test --manifest-path ./embassy-executor/Cargo.toml --features nightly

MIRIFLAGS=-Zmiri-ignore-leaks cargo miri test --manifest-path ./embassy-executor/Cargo.toml
MIRIFLAGS=-Zmiri-ignore-leaks cargo miri test --manifest-path ./embassy-executor/Cargo.toml --features nightly
MIRIFLAGS=-Zmiri-ignore-leaks cargo miri test --manifest-path ./embassy-sync/Cargo.toml
15 changes: 11 additions & 4 deletions .github/ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,15 @@ export RUSTUP_HOME=/ci/cache/rustup
export CARGO_HOME=/ci/cache/cargo
export CARGO_TARGET_DIR=/ci/cache/target

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
# needed for "dumb HTTP" transport support
# used when pointing stm32-metapac to a CI-built one.
export CARGO_NET_GIT_FETCH_WITH_CLI=true

cargo test --manifest-path ./embassy-executor/Cargo.toml
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-driver/Cargo.toml

Expand All @@ -20,7 +26,8 @@ cargo test --manifest-path ./embassy-boot/Cargo.toml --features ed25519-salty

cargo test --manifest-path ./embassy-nrf/Cargo.toml --no-default-features --features nrf52840,time-driver-rtc1,gpiote

cargo test --manifest-path ./embassy-rp/Cargo.toml --no-default-features --features time-driver
cargo test --manifest-path ./embassy-rp/Cargo.toml --no-default-features --features time-driver,rp2040,_test
cargo test --manifest-path ./embassy-rp/Cargo.toml --no-default-features --features time-driver,rp235xa,_test

cargo test --manifest-path ./embassy-stm32/Cargo.toml --no-default-features --features stm32f429vg,exti,time-driver-any,exti
cargo test --manifest-path ./embassy-stm32/Cargo.toml --no-default-features --features stm32f732ze,exti,time-driver-any,exti
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ Cargo.lock
third_party
/Cargo.toml
out/
.zed
12 changes: 8 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,25 @@
"rust-analyzer.check.noDefaultFeatures": true,
"rust-analyzer.cargo.noDefaultFeatures": true,
"rust-analyzer.showUnlinkedFileNotification": false,
// uncomment the target of your chip.
// Uncomment the target of your chip.
//"rust-analyzer.cargo.target": "thumbv6m-none-eabi",
//"rust-analyzer.cargo.target": "thumbv7m-none-eabi",
"rust-analyzer.cargo.target": "thumbv7em-none-eabi",
//"rust-analyzer.cargo.target": "thumbv7em-none-eabihf",
//"rust-analyzer.cargo.target": "thumbv8m.main-none-eabihf",
"rust-analyzer.cargo.features": [
"stm32f103c8",
// Comment out these features when working on the examples. Most example crates do not have any cargo features.
"stm32f446re",
"time-driver-any",
"unstable-pac",
"exti",
"rt",
],
"rust-analyzer.linkedProjects": [
// Uncomment ONE line for the chip you want to work on.
// This makes rust-analyzer work on the example crate and all its dependencies.
"embassy-stm32/Cargo.toml",
// To work on the examples, comment the line above and all of the cargo.features lines,
// then uncomment ONE line below to select the chip you want to work on.
// This makes rust-analyzer work on the example crate and all its dependencies.
// "examples/nrf52840-rtic/Cargo.toml",
// "examples/nrf5340/Cargo.toml",
// "examples/nrf-rtos-trace/Cargo.toml",
Expand Down
Loading