Commit graph

1895 commits

Author SHA1 Message Date
Jacob Rosenthal
e9bd8428e3 embassy-nrf: twim derive defmt 2021-06-07 19:09:03 -07:00
Dario Nieuwenhuis
de5b9bea14 Add resolver=2 to cargo workspace example 2021-06-08 01:55:50 +02:00
Dario Nieuwenhuis
d1eeef5864 nrf/buffered_uarte: Fix crash when calling set_baudrate as the very first thing. 2021-06-08 00:32:14 +02:00
Dario Nieuwenhuis
51d5f19983
Merge pull request #231 from lulf/update-modulre-ref
Update submodule ref
2021-06-07 15:48:42 +02:00
Ulf Lilleengen
a1cd136869 Update submodule ref 2021-06-07 15:34:04 +02:00
Dario Nieuwenhuis
2b18440bec
Merge pull request #230 from lulf/update-regen-peripherals
Update after RCC regen and register fix
2021-06-07 14:41:22 +02:00
Ulf Lilleengen
a63388874a Update after name fix 2021-06-07 14:06:54 +02:00
Ulf Lilleengen
f24c38f2a4 Fix 2021-06-07 13:51:06 +02:00
Ulf Lilleengen
f3bb348f2a Update ref 2021-06-07 12:22:19 +02:00
Ulf Lilleengen
1cd2c55b7c Fix stm32l0 build 2021-06-07 12:19:09 +02:00
Ulf Lilleengen
f5e2fb9a5a Update to new api 2021-06-07 12:03:31 +02:00
Dario Nieuwenhuis
f752700df5
Merge pull request #229 from embassy-rs/buildrs-macrotables
Use macrotables from build.rs
2021-06-07 05:18:53 +02:00
Dario Nieuwenhuis
b65c3c7160 stm32-metapac: Do not generate cfgs metadata 2021-06-07 05:13:30 +02:00
Dario Nieuwenhuis
0ffa78aca1 Use macrotables from build.rs 2021-06-07 05:12:10 +02:00
Dario Nieuwenhuis
2685dbfcf4
Merge pull request #227 from embassy-rs/fmt2
fmt: make all macros `macro_rules` so scoping is consistent.
2021-06-07 03:29:09 +02:00
Dario Nieuwenhuis
3be49d3e79 fmt: Add dunmy use to avoid "unused variable" errors when no log is enabled. 2021-06-07 03:21:37 +02:00
Dario Nieuwenhuis
ef1ebefec0 fmt: use absolute paths 2021-06-07 03:15:05 +02:00
Dario Nieuwenhuis
e7dc5c0939 fmt: make all macros macro_rules so scoping is consistent. 2021-06-07 00:16:39 +02:00
Dario Nieuwenhuis
4dda7be968
Merge pull request #224 from rukai/readme_examples
Improve examples section of readme
2021-06-06 00:52:56 +02:00
Dario Nieuwenhuis
2bbde6c4e1
Merge pull request #225 from rukai/fix_stm32_warnings2
Fix stm32 warnings
2021-06-06 00:42:28 +02:00
Rukai
010b2b9497 Fix stm32 warnings 2021-06-06 00:46:20 +10:00
Dario Nieuwenhuis
5bd0aa9cb5
Merge pull request #222 from folkertdev/nrf-async-twim
nrf async twim
2021-06-05 16:34:36 +02:00
Folkert
749633ddf2 fix errors 2021-06-05 12:02:17 +02:00
Folkert
0c0bf6e4db extract the polled-on function 2021-06-05 11:59:58 +02:00
Folkert
28c0023c9a add distinct read and write functions 2021-06-05 11:48:00 +02:00
Folkert
d0dd0f007a changes after review 2021-06-05 11:37:11 +02:00
Folkert
3f74c557ed skip 'in ram' check for mutable slice in fullduplex 2021-06-05 11:34:50 +02:00
Rukai
f7bef60c8a Improve examples section of readme 2021-06-05 13:34:44 +10:00
Dario Nieuwenhuis
6f5c85c50f
Merge pull request #223 from timokroeger/interrupt-unborrow
Add `Unborrow` trait bound for `Interrupt`
2021-06-04 23:48:32 +02:00
Timo Kröger
628e58020f Add Unborrow trait bound for Interrupt
Allows the compiler to figure out bounds for wrapper code of owned
peripherals and interrupts.
Example: https://gist.github.com/timokroeger/f025ef590557f1cd6c2e9c7ab30442d2
2021-06-04 23:42:25 +02:00
Folkert
857ac3386b nrf async twim 2021-06-04 17:31:35 +02:00
Dario Nieuwenhuis
cd44b221ed
Merge pull request #221 from embassy-rs/heapless
Update Heapless to 0.7 (const generics)
2021-06-04 01:39:42 +02:00
Dario Nieuwenhuis
7d869bdec8 Update heapless 2021-06-04 01:35:04 +02:00
Dario Nieuwenhuis
cdd5808b51 Remove embassy-net-examples (moved to std) 2021-06-04 01:23:14 +02:00
Dario Nieuwenhuis
ebd3be7425
Merge pull request #219 from bobmcwhirter/peripheral_pins
Create the new peripheral_pins! macro table.
2021-06-03 21:38:59 +02:00
Bob McWhirter
b4dca64e20 Move most of DMA out of gen.py. 2021-06-03 14:53:48 -04:00
Bob McWhirter
240616aa72 General clean-up and removal of dead code. 2021-06-03 14:25:17 -04:00
Bob McWhirter
d75bf143eb Remove the exti_interrupts table. 2021-06-03 14:18:58 -04:00
Bob McWhirter
2c722ec0ee Migrate sdmmc to macro tables. 2021-06-03 13:50:48 -04:00
Bob McWhirter
fe47f781be Migrate exti_irq stuff to macro tables. 2021-06-03 13:35:27 -04:00
Bob McWhirter
75dc0fd542 Migrate TIM[2-5] to macro tables. 2021-06-03 13:23:21 -04:00
Bob McWhirter
c00a85f9a9 Refactor SPI signal pin macro. 2021-06-03 13:12:38 -04:00
Bob McWhirter
3dd497c1e6 Refactor some I2c signal pin macro. 2021-06-03 13:12:38 -04:00
Bob McWhirter
00892c7362 Migrate USART to macro tables. 2021-06-03 13:12:38 -04:00
Bob McWhirter
6958091b50 Move DAC, I2C, SPI and RNG to macro-tables. 2021-06-03 13:12:38 -04:00
Bob McWhirter
d4d914ea50 Remove the Option around the pins Vec. 2021-06-03 13:12:38 -04:00
Bob McWhirter
be180c1c52 Create the new peripheral_pins! macro table. 2021-06-03 13:12:38 -04:00
Dario Nieuwenhuis
31feed53d5
Merge pull request #220 from folkertdev/match-on-mode
match on SPI mode
2021-06-03 12:05:22 +02:00
Folkert
990d83d424 match on mode 2021-06-03 11:38:25 +02:00
Dario Nieuwenhuis
0dd00c94aa Revert "Update rust nightly"
This reverts commit f2c51e0999.
2021-06-03 00:49:03 +02:00