Commit graph

2665 commits

Author SHA1 Message Date
Henrik Alsér
c9b5856153 Features only on nightly 2022-07-10 00:58:05 +02:00
Henrik Alsér
c9ceec8797 Cleanup 2022-07-10 00:49:46 +02:00
Henrik Alsér
ce7bc32755 Nightly feature gate for embedded-storage-async 2022-07-10 00:15:20 +02:00
Henrik Alsér
ef24faf2df Add asynch mod to shared_bus 2022-07-10 00:05:57 +02:00
Henrik Alsér
20f56b856f Add embassy-embedded-hal nightly feature 2022-07-09 23:44:08 +02:00
Henrik Alsér
baae64d911 Add embassy-embedded-hal nightly feature 2022-07-09 23:41:02 +02:00
Henrik Alsér
880b71a1e8 impl SetConfig for stm32 i2c and SPI 2022-07-09 02:28:05 +02:00
Henrik Alsér
85e67d94ad impl SetConfig for rp2040 SPI 2022-07-09 00:32:55 +02:00
Henrik Alsér
d637510b44 Associated type 2022-07-09 00:00:55 +02:00
Henrik Alsér
15384d27bb Merge upstream 2022-07-08 23:42:19 +02:00
Henrik Alsér
b72ba0a6c4 Merge upstream 2022-07-08 23:37:35 +02:00
Henrik Alsér
f30ff9cadc Shared buses with SetConfig 2022-07-08 15:47:47 +02:00
bors[bot]
1fb70e2fac
Merge #848
848: Blocking shared bus EH 0.2 impls + example docs r=Dirbaio a=kalkyl

Adds impls for the old embedded-hal v0.2 traits for usability until the ecosystem catches up with EH1.
Also added some basic examples in docs of how the shared buses can be set up.

Co-authored-by: Henrik Alsér <henrik@mindbite.se>
2022-07-06 22:38:55 +00:00
Henrik Alsér
4b4fe7245b Add EH 0.2 impls + example docs 2022-07-06 23:02:16 +02:00
bors[bot]
6baddaf539
Merge #845
845: Add blocking shared bus for i2c and SPI r=Dirbaio a=kalkyl

Blocking versions of the shared buses

Co-authored-by: Henrik Alsér <henrik.alser@me.com>
Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
2022-07-06 14:59:29 +00:00
Dario Nieuwenhuis
455374b7f9 spi shared bus: assert/deassert CS inside the lock. 2022-07-06 16:57:29 +02:00
Henrik Alsér
ba2412ff7e Mutex for SPI 2022-07-06 03:47:55 +02:00
Henrik Alsér
d3d82ad87d Mutex 2022-07-06 03:31:21 +02:00
Henrik Alsér
264b32d71b Add blocking shared bus for i2c and SPI 2022-07-06 02:35:46 +02:00
bors[bot]
5fef527764
Merge #844
844: Use correct chip family name for example r=Dirbaio a=lulf

bors r+

Co-authored-by: Ulf Lilleengen <lulf@redhat.com>
2022-07-05 11:51:18 +00:00
Ulf Lilleengen
6f425d7721 Use correct chip family name for example 2022-07-05 13:17:55 +02:00
bors[bot]
87e3ae321b
Merge #843
843: Document configuration options and handle optional downlink r=lulf a=lulf



Co-authored-by: Ulf Lilleengen <lulf@redhat.com>
2022-07-04 08:59:06 +00:00
Ulf Lilleengen
daf3ea24d7 Document configuration options and handle optional downlink 2022-07-04 10:33:29 +02:00
bors[bot]
0ed4e57ea4
Merge #838
838: embassy-boot touchups r=lulf a=FrozenDroid



Co-authored-by: Vincent Stakenburg <v.stakenburg@cosinuss.nl>
2022-06-30 12:59:41 +00:00
Vincent Stakenburg
3dc26bbe39 simplify set_magic 2022-06-30 14:56:40 +02:00
Vincent Stakenburg
0e55bb2a20 add log feature to embassy-boot-stm32 2022-06-30 14:56:36 +02:00
bors[bot]
2ee398b5d2
Merge #837
837: Use base address for RAM for stm32 r=Dirbaio a=lulf



Co-authored-by: Ulf Lilleengen <lulf@redhat.com>
2022-06-29 17:21:02 +00:00
Ulf Lilleengen
7b47bea72c Remove unused imports 2022-06-29 19:19:24 +02:00
Ulf Lilleengen
7b35b4ebee Fix RAM origin copy paste from nrf 2022-06-29 19:14:07 +02:00
bors[bot]
e0e675042b
Merge #803
803: Initial independent watchdog implementation r=FrozenDroid a=FrozenDroid



Co-authored-by: Vincent Stakenburg <v.stakenburg@cosinuss.nl>
2022-06-28 11:40:51 +00:00
Vincent Stakenburg
d1d07cd9e3 fix case when chip has multiple iwdg 2022-06-28 13:22:43 +02:00
Vincent Stakenburg
f2ad9c2d9d rebase and fix unborrow 2022-06-28 12:51:08 +02:00
Vincent Stakenburg
74bbf5aa02 address review 2022-06-28 12:46:17 +02:00
Vincent Stakenburg
5cf3fbece4 initial independent watchdog implementation 2022-06-28 12:46:17 +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
Ulf Lilleengen
f1f90b17b5 Add build.rs to detect armv6 2022-06-27 14:24:19 +02:00
Dario Nieuwenhuis
42bc510eff Remove STM32L485 "ghost chips" 2022-06-27 02:47:15 +02:00
Dario Nieuwenhuis
52abfba8eb
Merge pull request #836 from embassy-rs/fixes
More misc fixes.
2022-06-27 02:33:44 +02:00
Dario Nieuwenhuis
a855889f70 Update stm32-data 2022-06-27 02:10:01 +02:00
Dario Nieuwenhuis
edb9eedb45 stm32: add f100 to CI. 2022-06-26 23:56:44 +02:00
Dario Nieuwenhuis
948bb93dc2 docs: Add $COMMIT to git srclinks. 2022-06-26 23:55:38 +02:00
Dario Nieuwenhuis
065a1d097a cortex-m: document Interrupt changes depending on Cargo features. 2022-06-26 23:53:03 +02:00
Dario Nieuwenhuis
397722c328 stm32: fix f100 build. 2022-06-26 23:52:38 +02:00
bors[bot]
ffc32d3ddb
Merge #833
833: nrf/uart: add support for tx-only and rx-only uart. r=Dirbaio a=Dirbaio

Allow creating UarteRx/UarteTx directly. This allows using uart unidirectionally
(rx-only or tx-only), without having to 'waste' a pin for the unused direction.

Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
2022-06-25 23:45:01 +00:00
Dario Nieuwenhuis
c460af62e0
Merge pull request #835 from embassy-rs/fixes
Misc API and doc fixes.
2022-06-26 01:09:53 +02:00
Dario Nieuwenhuis
5903e08f4b embassy: add missing docs, add warn(missing_docs). 2022-06-26 00:53:35 +02:00
Dario Nieuwenhuis
f4e2686eca embassy: Improve RawMutex docs, mark it as unsafe. 2022-06-26 00:35:30 +02:00
Dario Nieuwenhuis
17cab1a2d4 embassy: Clippy fixes. 2022-06-26 00:14:28 +02:00
Dario Nieuwenhuis
935def4a0b executor: mark task_from_waker as safe. 2022-06-26 00:13:31 +02:00
Dario Nieuwenhuis
29cdb91b13
Merge pull request #834 from embassy-rs/cortex-m-executor-reexport
cortex-m: reexport all items from embassy::executor.
2022-06-26 00:11:06 +02:00