Dario Nieuwenhuis
cc400aa178
stm32: fix f37x build.
...
originally broke in https://github.com/embassy-rs/embassy/pull/1762
2023-08-19 01:15:32 +02:00
Dario Nieuwenhuis
bb275f7e25
nrf: enable defmt for embassy-hal-internal.
2023-08-16 23:37:40 +02:00
Dario Nieuwenhuis
5d5cd23715
Update to embedded-io 0.5 ( #1752 )
2023-08-07 13:43:09 +02:00
Dario Nieuwenhuis
ef3b1f46a9
Merge pull request #1728 from pennae/rp-gpio-banks
...
rp: fix qspi gpio interrupts, make qspi gpio optional
2023-08-01 08:18:39 +00:00
pennae
dca1777a2f
rp: make QSPI gpio support optional
...
this will be mostly not useful to anyone since flash is attached to
qspi, and using flash chips that don't use the *entire* qspi interface
will severly slow down the chip. the code overhead is minimal right now,
but if we also fix interrupt support on qspi pins this will
change (adding more code to potentially hot paths, using more memory for
wakers that are never used, and preventing the qspi gpio irq from being
used in software interrupts as RTIC applications may want to do).
2023-07-31 19:13:10 +02:00
xoviat
4a9df60a7b
Merge pull request #1727 from embassy-rs/hrtim-v2
...
stm32: add hrtim v2
2023-07-31 17:04:51 +00:00
Dario Nieuwenhuis
5c2ba3b212
stm32: add hrtim v2
2023-07-31 15:42:03 +02:00
Dario Nieuwenhuis
6caf627262
Merge pull request #1704 from rubdos/ieee802154-fixes
...
Expose IEEE802.15.4 address in Driver
2023-07-31 12:30:33 +00:00
Ruben De Smet
3d68d42132
CI: ip, ethernet and ieee802.15.4 should be able to co-exist
2023-07-31 14:21:27 +02:00
xoviat
c7c701b3e3
Merge branch 'main' of https://github.com/embassy-rs/embassy into hrtim
2023-07-28 17:18:22 -05:00
Ruben De Smet
973b152375
CI: ethernet and ieee802.15.4 should be able to co-exist
2023-07-28 15:41:45 +02:00
xoviat
d42dff45de
Merge branch 'main' of https://github.com/embassy-rs/embassy into hrtim
2023-07-22 14:49:31 -05:00
Dario Nieuwenhuis
a42ac86f1b
Remove wifi envvars. They're annoying, they cause rust-analyzer errors when opening the examples.
2023-07-05 19:20:49 +02:00
xoviat
3252eaa060
stm32/hrtim: add example impl.
2023-06-30 18:21:59 -05:00
Dario Nieuwenhuis
8bbfa6827c
esp-hosted: add perf hil test.
2023-06-22 21:12:24 +02:00
Ulf Lilleengen
161d3ce05c
Add firmware updater examples to CI
...
CI was not building the a.rs application due to the requirement of b.bin
having been built first. Add a feature flag to examples so that CI can
build them including a dummy application.
Update a.rs application examples so that they compile again.
2023-06-19 23:34:07 +02:00
Dario Nieuwenhuis
8a1d3d5c84
Merge branch 'main' into v4-optional
2023-06-08 19:38:15 +02:00
Dario Nieuwenhuis
f498c689e7
Add RTIC example.
2023-06-08 18:07:49 +02:00
Ruben De Smet
ca47af6978
CI: introduce tests for dual stack v4 and v6
2023-06-06 18:21:45 +02:00
Ruben De Smet
ada7ec2289
CI: add proto-ipv4 to embassy-net test
2023-06-06 17:58:46 +02:00
Ruben De Smet
d2a6c5c608
CI: Add proto-ipv6 tests without ipv4 to CI
2023-06-06 17:58:46 +02:00
Dario Nieuwenhuis
6701606e4c
cyw43: add perf HIL test.
2023-06-06 02:50:57 +02:00
Dario Nieuwenhuis
7fcded5705
stm32/rtc: fix build failure in some L4s
2023-05-31 20:03:52 +02:00
Dario Nieuwenhuis
3f35a8876e
cyw43: adapt build to main embassy repo.
2023-05-30 23:26:29 +02:00
Dario Nieuwenhuis
020e956f1b
ci: run HIL tests in parallel.
2023-05-30 01:10:53 +02:00
Dario Nieuwenhuis
7b2a39a6fb
Switch to Bender for CI.
2023-05-29 18:15:53 +02:00
Dario Nieuwenhuis
2a589b7904
ci: replace openid connect with static secret.
...
The oidc token is only valid for 5min, builds are starting to fail because HIL tests
take more than 5 min and we only obtain it once at start.
Instead of fixing it, let's remove it. My hope for OIDC was to allow running
HIL tests on PRs from forks if the author is in a list of trusted users.
However GHA simply doesn't give the ID token to PRs from forks. 🤷
Same limitation as with static tokens. So it's useless complexity, let's kill it.
2023-05-25 03:54:49 +02:00
xoviat
b6ba1ea53a
stm32: move lora to bind_interrupts
2023-05-24 18:09:04 -05:00
xoviat
316be179af
stm32: move to bind_interrupts
...
disable lora functionality for now
2023-05-24 17:29:56 -05:00
Dario Nieuwenhuis
a521a9b5ce
stm32: test more feature combinations in ci.
2023-05-19 15:38:45 +02:00
sander
f64d1131b6
embassy-boot: update ci and examples to use the nightly flag
2023-04-20 10:22:44 +02:00
Roy Buitenhuis
bfa3cbaf30
Add embassy-net without dhcp to ci.sh
2023-04-18 21:47:28 +02:00
Roy Buitenhuis
f426c47747
Remove empty line, causing build issues.
2023-04-11 17:40:05 +02:00
Roy Buitenhuis
00258bca43
Add empty test binary for riscv
2023-04-11 16:53:04 +02:00
Dario Nieuwenhuis
f5df567619
stm32/test: add C0 hil tests.
2023-04-11 14:16:32 +02:00
Dario Nieuwenhuis
dbfd28130f
stm32/test: add h5 hil tests.
2023-04-10 15:25:11 +02:00
Dario Nieuwenhuis
611d023829
stm32: add H5 support.
2023-04-06 18:59:37 +02:00
Rasmus Melchior Jacobsen
e7129371d0
Let sector computation be shared across families
2023-03-30 08:32:36 +02:00
Dario Nieuwenhuis
0b49b588a2
stm32: use stm32-metapac from crates.io, remove stm32-data submodule.
2023-03-20 02:38:12 +01:00
Dario Nieuwenhuis
7650fea5f2
nrf/buffered_uarte: add HIL tests.
2023-03-04 15:12:49 +01:00
Dario Nieuwenhuis
3f88bf6f9b
nrf: add support for UICR configuration.
...
- APPROTECT enable/disable. Notably this fixes issues with nrf52-rev3 and nrf53 from locking itself at reset.
- Use NFC pins as GPIO.
- Use RESET pin as GPIO.
NFC and RESET pins singletons are made available only when usable as GPIO,
for compile-time checking.
2023-02-20 01:28:45 +01:00
Dario Nieuwenhuis
4e15043fc2
add stm32f413vh to CI
2023-02-13 02:40:29 +01:00
Dario Nieuwenhuis
0412d1922c
fix embedded-sdmmc integration.
...
- Rename feature to `embedded-sdmmc`.
- Move embedded-sdmmc fork repo to the embassy-rs org.
- Remove unused features in the fork
- Fix impl in embassy-stm32
- Add to CI so it doesn't break again.
2023-01-21 00:32:34 +01:00
Dario Nieuwenhuis
355761fd68
stm32: add stm32c0 examples.
2023-01-17 21:28:16 +01:00
Dario Nieuwenhuis
2a349afea7
stm32: add stm32c0 support.
2023-01-17 21:28:16 +01:00
Dominik Boehi
0a27b6cedb
Rename examples/nrf to examples/nrf52840
2023-01-09 22:30:02 +01:00
Ulf Lilleengen
2332d8cd23
feat: compile bootloader examples for nRF91
...
* Add nRF91 as target in CI builds
* Add example linker scripts for nrf91
* Make less nRF52 assumptions example config
* Add llvm-tools-preview required for cargo objcopy example
2023-01-04 13:38:43 +01:00
Dario Nieuwenhuis
72bb9b53a2
net: remove unused pool-x features
2022-12-26 03:34:05 +01:00
Ulf Lilleengen
bb89a2341c
feat: embassy-boot for rp2040
...
Add embassy-boot support for RP2040, with examples for the Raspberry Pi
Pico.
Co-authored-by: Mathias Koch <mk@blackbird.online>
2022-12-02 11:28:33 +01:00
Dario Nieuwenhuis
787e5d4907
Add -time, -sync to CI with all features.
2022-11-28 00:12:13 +01:00
Dario Nieuwenhuis
75e93cc142
rp: enable time-driver in Cargo.toml instead of ci.sh
2022-09-26 20:33:20 +02:00
Dario Nieuwenhuis
1e95c4fcff
rp: Disable intrinsics by default.
2022-09-26 19:53:22 +02:00
Mathias
f7267d493f
Feature-gate time-driver in embassy-rp
2022-09-16 12:54:26 +02:00
Dario Nieuwenhuis
5327b9c289
time: add more tick rates, use 1mhz as default.
2022-09-02 00:59:34 +02:00
Dario Nieuwenhuis
464ae67108
net: feature-gate nightly-only async traits to allow building on stable.
2022-08-30 19:43:32 +02:00
Dario Nieuwenhuis
5daa173ce4
Split embassy-time from embassy-executor.
2022-08-18 01:22:30 +02:00
Dario Nieuwenhuis
a0f1b0ee01
Split embassy crate into embassy-executor, embassy-util.
2022-07-29 23:40:36 +02:00
Jan Niehusmann
666373e2da
Include embassy-rp in ci builds
2022-07-21 20:14:45 +00:00
chemicstry
5bd2324275
Fix ci for windows (msys, git bash)
2022-07-11 02:32:30 +03:00
Dario Nieuwenhuis
ccf57cfab6
rp: add GPIO HIL test.
2022-07-09 02:14:30 +02:00
bors[bot]
c7703ba17c
Merge #831
...
831: Move bootloader main to examples r=lulf a=lulf
This should remove some confusion around embassy-boot-* being a library
vs. a binary. The binary is now an example bootloader instead.
Co-authored-by: Ulf Lilleengen <ulf.lilleengen@gmail.com>
Co-authored-by: Ulf Lilleengen <lulf@redhat.com>
2022-06-27 12:46:19 +00:00
Dario Nieuwenhuis
edb9eedb45
stm32: add f100 to CI.
2022-06-26 23:56:44 +02:00
Ulf Lilleengen
776be79f7b
Move bootloader main to examples
...
This should remove some confusion around embassy-boot-* being a library
vs. a binary. The binary is now an example bootloader instead.
2022-06-24 19:56:15 +02:00
Dario Nieuwenhuis
fdc6cfed3e
stm32: add stm32f103re to CI
2022-06-06 17:43:55 +02:00
Dario Nieuwenhuis
1089674175
fix build adding missing time-tick feature.
2022-05-31 23:53:42 +02:00
Will Glynn
962fabe5c9
examples/stm32*, tests/stm32: specify time-tick-32768hz
2022-05-31 16:14:23 -05:00
Dario Nieuwenhuis
96d0eb9476
stm32: Fix stm32f107 build.
2022-05-08 21:37:37 +02:00
Ulf Lilleengen
da61611f8f
Add bootloader to CI
2022-04-27 15:17:18 +02:00
Dario Nieuwenhuis
009bb8e4e1
stm32: add stm32u5 GPDMA, SPIv4 support, add HIL tests.
2022-04-27 01:16:14 +02:00
Dario Nieuwenhuis
8b757e1aec
Add stm32wlexx support
2022-04-08 03:43:58 +02:00
Dario Nieuwenhuis
0c07d03754
Add missing stm32wl/stm32wb chips except stm32wle
2022-04-08 03:15:27 +02:00
Dario Nieuwenhuis
50ff63ab88
Add STM32L5 support.
2022-04-08 03:11:38 +02:00
Joonas Javanainen
55a9bf98c5
Add STM32F217ZG to CI
...
F217 has the most features in the F2 family
2022-03-27 19:56:44 +03:00
Joonas Javanainen
5d97c8c8b2
Add F2 examples to CI
2022-03-27 19:55:43 +03:00
Dario Nieuwenhuis
14afe0f6e4
ci: add troublesome stm32 chips
2022-02-24 06:28:29 +01:00
Dario Nieuwenhuis
e39fd4a736
stm32: add stm32f103 bluepill to HIL tests.
2022-02-24 00:37:15 +01:00
Ulf Lilleengen
092eef3ae7
Add documentation about the different embassy abstraction layers
...
The guide demonstrates the functionality offered by each
layer in Embassy, using code examples.
2022-02-23 09:48:32 +01:00
Dario Nieuwenhuis
2abb04d4d1
stm32/rcc: fix f3 build failure.
2022-02-23 03:42:46 +01:00
Dario Nieuwenhuis
340eb4eead
stm32: add rust stable support
2022-02-12 02:45:52 +01:00
Dario Nieuwenhuis
20e14b8edb
embassy, embassy-nrf: add nightly
Cargo feature to gate nightly-only features.
2022-02-12 01:16:31 +01:00
Ulf Lilleengen
c8347fafb0
Add unstable-traits for stm32 to CI
2022-01-26 22:49:45 +01:00
Dario Nieuwenhuis
6bf935402f
stm32/ci: add stm32f410tb, time-driver-any
2022-01-24 01:07:49 +01:00
Dario Nieuwenhuis
a607cf6142
nrf: build with unstable-traits in ci
2022-01-19 17:31:24 +01:00
Ulf Lilleengen
2bc105803a
Make exti an optional feature
...
* Add embassy-stm32 build with exti
* Add exti to examples
2022-01-12 14:28:10 +01:00
bors[bot]
d5a3064c2c
Merge #540
...
540: Initial support for STM32F3 r=Dirbaio a=VasanthakumarV
The [companion PR](https://github.com/embassy-rs/stm32-data/pull/109 ) in `stm32-data` should be merged before this PR.
The examples were tested on an STM32F303VC MCU.
Co-authored-by: VasanthakumarV <vasanth260m12@gmail.com>
Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
2021-12-16 07:30:03 +00:00
VasanthakumarV
2c50ab1ebf
[ci] Add STM32F3 examples to CI shell
2021-12-13 18:13:23 +05:30
bors[bot]
2a4a133b88
Merge #533
...
533: Book poc r=Dirbaio a=lulf
This is a Proof of Concept for an embassy book. It's using Antora/Asciidoc.
* Asciidoc because it's a single specification with a slightly richer feature set than markdown.
* Antora because it allows keeping content in the embassy repo, while book definition in another repo (embassy-book).
Using antora also allows for easy embedding of embassy doc in other projects, which I think in turn increases probability of upstream contributions.
The sources of content are located in docs/ but could also be in a separate repo. However, keeping it in the embassy repo makes it easier to support one version of the book per embassy version in the future.
At present, the book is automatically built every hour from this branch and published at: https://embassy-rs.github.io/embassy-book/embassy/dev/index.html
Co-authored-by: Ulf Lilleengen <lulf@redhat.com>
Co-authored-by: Ulf Lilleengen <ulf.lilleengen@gmail.com>
2021-12-13 00:07:39 +00:00
Ulf Lilleengen
ff82c76935
Fix broken ci.sh
2021-12-10 13:10:02 +01:00
Ulf Lilleengen
e5d4d0952b
Add doc-specific example and add it to CI
2021-12-10 12:46:41 +01:00
Matous Hybl
bdde4dc966
Enable running ci.sh locally multiple-times.
2021-12-09 12:37:44 +01:00
Dario Nieuwenhuis
17c5dc496e
stm32/tests: add stm32h755zi, stm32wb55rg
2021-12-07 01:24:26 +01:00
Dario Nieuwenhuis
dde6607aec
Add timer test, add g0, g4 tests.
2021-12-07 00:29:41 +01:00
Dario Nieuwenhuis
693690cb5a
Uncomment accidentally commented ci stuff.
2021-12-07 00:27:37 +01:00
Dario Nieuwenhuis
dd32358d6b
stm32: add gpio HIL test
2021-12-06 22:05:41 +01:00
Dario Nieuwenhuis
edbe242ccc
ci: add gpiote+time-driver to embassy-nrf to catch more failures.
2021-12-02 04:01:39 +01:00
Ulf Lilleengen
1b24b3bd68
Make ci script run on Mac OS X
2021-11-28 14:07:21 +01:00
Dario Nieuwenhuis
88d4b0c00d
stm32: add stm32g4 support.
2021-11-27 02:34:23 +01:00
Dario Nieuwenhuis
f9934fb56b
ci: do main build with fully generated stm32-metapac.
2021-11-24 01:43:53 +01:00
Dario Nieuwenhuis
dfb6d407a1
stm32: rename core features from _cmX to -cmX, cleanup gen.
2021-11-23 23:49:06 +01:00
Dario Nieuwenhuis
c8e69a14eb
Faster CI with cargo-batch
2021-11-22 01:25:07 +01:00
Dario Nieuwenhuis
fd38e78957
Remove old unused ci.sh
2021-07-05 02:06:11 +02:00
Dario Nieuwenhuis
4f528d8fae
Add medium-ip, medium-ethernet Cargo features
2021-04-12 21:00:23 +02:00
Dario Nieuwenhuis
9bee576fd2
Update embassy
2021-03-02 21:20:00 +01:00