Commit Graph

94 Commits

Author SHA1 Message Date
036e6ae30c Rename embassy-hal-common to embassy-hal-internal, document it's for internal use only. (#1700) 2023-07-28 13:23:22 +02:00
a1d3bc30fa net-esp-hosted: build docs. 2023-07-18 18:15:35 +02:00
fc901f9856 ci: add check for no CRLF line endings. 2023-07-18 14:23:37 +02:00
47305c2bf2 ci: build doc with 4 threads instead of 6, to avoid running out of disk space. 2023-07-06 02:32:49 +02:00
10c0174903 doc: upload statics too. 2023-07-04 20:15:30 +02:00
055f6afdcc stm32-wpan: add doc metadata 2023-06-13 09:51:21 +01:00
9cfcc5b89a Fix docs build. 2023-06-13 03:29:51 +02:00
98c821ac39 Remove embassy-cortex-m crate, move stuff to embassy-hal-common. 2023-06-09 16:44:20 +02:00
d7d66bd74f Document w5500, cyw43 2023-06-01 00:15:37 +02:00
25f367432d ci: build stm32 docs. 2023-05-31 20:04:17 +02:00
046a99aba0 Move doc building to new CI. 2023-05-31 14:29:40 +02:00
020e956f1b ci: run HIL tests in parallel. 2023-05-30 01:10:53 +02:00
1a31b03976 ci: fix nrf, rp tests. 2023-05-29 22:01:19 +02:00
421ee4dfbf ci: add stable build, add tests. 2023-05-29 19:51:06 +02:00
6cb6e57592 CI fixes. 2023-05-29 18:49:50 +02:00
7b2a39a6fb Switch to Bender for CI. 2023-05-29 18:15:53 +02:00
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
5df263db38 Update GitHub Actions CI
The following updates are performed:
* update actions/cache to v3
* update actions/checkout to v3
2023-05-08 23:28:01 +02:00
a73f9474a0 embassy-boot: ensure tests can run on the stable compiler 2023-04-20 10:56:59 +02:00
3bf41e9a06 ci: ad nightly flag to embassy-boot tests 2023-04-20 10:47:40 +02:00
5de6bb3adf feat: add embassy-boot-rp to the doc builder
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-04-20 09:19:26 +03:00
0b49b588a2 stm32: use stm32-metapac from crates.io, remove stm32-data submodule. 2023-03-20 02:38:12 +01:00
951f208915 Add more crates to docs. 2023-02-13 02:39:03 +01:00
80b7c3cf69 Fix doc build. 2023-02-13 01:30:53 +01:00
b0529bc943 Support codesigning in the firmware updater
This commit provides a method to verify that firmware has been signed with a private key given its public key. The implementation uses ed25519-dalek as the signature verifier. An "ed25519" feature is required to enable the functionality. When disabled (the default), calling the firmware updater's verify method will return a failure.
2023-01-12 13:30:58 +11:00
1f033d509a net: split driver trait to a separate crate. 2022-12-26 04:49:08 +01:00
d49d1b6b1c ci/doc: build embassy-time too. 2022-10-05 17:08:02 +02:00
f075e62444 Use 1 thread in ci doc building. 2022-10-03 01:59:44 +02:00
753781a263 Build docs in CI 2022-10-02 23:30:12 +02:00
21072bee48 split embassy-util into embassy-futures, embassy-sync. 2022-08-22 22:18:13 +02:00
a0f1b0ee01 Split embassy crate into embassy-executor, embassy-util. 2022-07-29 23:40:36 +02:00
9252e8bb88 Update cargo-batch. 2022-04-08 00:35:00 +02:00
d137d1f707 Tell bors to delete merged branches 2022-03-14 12:59:48 -05:00
1904906b36 ci: add build with stable. 2022-02-12 01:16:31 +01:00
63cfa7cd6a Update cargo-batch. 2022-02-11 20:31:37 +01:00
dd32358d6b stm32: add gpio HIL test 2021-12-06 22:05:41 +01:00
f9934fb56b ci: do main build with fully generated stm32-metapac. 2021-11-24 01:43:53 +01:00
c8e69a14eb Faster CI with cargo-batch 2021-11-22 01:25:07 +01:00
5322e293bd Merge #461
461: nrf: add initial nrf5340 support r=Dirbaio a=Dirbaio

Thanks to `@diondokter's` work on DPPI this was quite easy! :) 

TODO:
- [ ] Add config option to enable 128mhz
- [ ] Add config option to unlock APPROTECT automatically.
- [ ] Add a way to boot net (config option or API?)
- [ ] Support WDT (there's WDT0, WDT1. Needs some refactor)
- [ ] Support NVMC
- [ ] Support TEMP

Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
2021-11-07 22:58:27 +00:00
ee1ea44b60 Add stm32u5 examples to CI run. 2021-11-02 15:11:30 -04:00
663141b4e4 nrf: add initial nrf5340 support 2021-10-28 03:36:25 +02:00
dfccb84fcb Merge #457
457: nrf91: support running in both S and NS mode. r=Dirbaio a=Dirbaio

- Cargo feature `nrf9160` is now `nrf9160-s` or `nrf9160-ns`
- "fake-PAC" renames everything appropriately so there's no need to spam cfg's everywhere.

With `nrf9160-s`  you can now run code without flashing any weird SPM/bootloader. Tested on nrf9160-dk.

Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
2021-10-27 22:43:35 +00:00
c995a97f20 nrf91: support running in both S and NS mode. 2021-10-26 17:40:07 +02:00
cf47676dac Add stm32f7 to CI 2021-10-26 17:33:28 +02:00
05bc4d198e Merge #423
423: nRF9160 support r=Dirbaio a=diondokter

- Created a chip file with all the peripherals, interrupts and peripheral implementations.
- All peripherals now use an alias for the NS (non-secure) version of the nRF9160 version.
- Implementations of peripherals that don't exist are ignored.
- Most PPI functionality has been stubbed out because the nRF91 has the newer DPPI which is not compatible with the current API. (The channels are also set to not configurable, so they are kinda useless now, but in principle the stubs should never be called)


Co-authored-by: Dion Dokter <dion@tweedegolf.com>
2021-10-13 21:11:41 +00:00
c1c704bfc8 - Removed the enable assert from UARTE.
- Added nRF9160 to CI.
2021-10-13 15:00:08 +02:00
db289d6d5e Add bors 2021-10-12 01:52:26 +02:00
a816776cb5 Add matrix bot 2021-10-06 20:34:38 +02:00
bce909ec1e Initial STM32F1 family support with two examples for STM32F103C8 (Blue Pill) 2021-09-28 18:31:04 +02:00
c79485c286 Support for STM32L1
* Add RCC
* Fix more issues with dash in chip names
* Update stm32-data version
* Add blinky and spi example
2021-09-21 14:50:23 +02:00