Thales Fragoso
|
f5e6b37b52
|
STM: Change embassy main to use TIM3 instead of TIM2
|
2021-07-04 15:51:10 -03:00 |
|
Thales
|
8615ffb523
|
Merge pull request #272 from thalesfragoso/f0-apb2
F0: Fix missing apb2 clock
|
2021-07-03 02:20:17 -03:00 |
|
Thales Fragoso
|
c2f595b26a
|
F0: Fix missing apb2 clock
|
2021-07-03 02:12:22 -03:00 |
|
Dario Nieuwenhuis
|
489ef56dea
|
Merge pull request #270 from bobmcwhirter/fix_bungled_i2c
Let's adjust i2c the correct way, removing the correct APBesque frequ…
|
2021-07-02 20:00:19 +02:00 |
|
Bob McWhirter
|
f5ce807e25
|
Let's adjust i2c the correct way, removing the correct APBesque frequency, not the i2c periph speed.
|
2021-07-02 13:54:07 -04:00 |
|
Bob McWhirter
|
d8687b1692
|
Merge pull request #268 from bobmcwhirter/i2c_rcc
Remove the frequency argument for i2c, move to using RccPeripheral.
|
2021-07-01 14:01:39 -04:00 |
|
Bob McWhirter
|
9f5d35d891
|
Remove the frequency argument for i2c, move to using RccPeripheral.
|
2021-07-01 13:53:57 -04:00 |
|
Bob McWhirter
|
e7a4a72977
|
Merge pull request #264 from bobmcwhirter/usartv3
Add USARTv3 support.
|
2021-07-01 13:28:33 -04:00 |
|
Bob McWhirter
|
8f94123ca4
|
argh, intellij.
|
2021-07-01 11:37:01 -04:00 |
|
Bob McWhirter
|
83cd120ff8
|
Update -data.
|
2021-07-01 11:30:54 -04:00 |
|
Bob McWhirter
|
0920c0cb1d
|
Make UART pins Rx/Tx/etc in addition to USART.
|
2021-07-01 11:30:54 -04:00 |
|
Bob McWhirter
|
54ada5bae1
|
Stub in the DMA bits that aren't yet there.
|
2021-07-01 11:30:54 -04:00 |
|
Bob McWhirter
|
bf3bc92525
|
Re-enable because intellij.
|
2021-07-01 11:30:54 -04:00 |
|
Bob McWhirter
|
f83559c6ab
|
Add L4+ example for USART.
|
2021-07-01 11:30:54 -04:00 |
|
Bob McWhirter
|
497d3aa153
|
Add USARTv3 support.
|
2021-07-01 11:30:54 -04:00 |
|
Dario Nieuwenhuis
|
e55c89f890
|
Merge pull request #262 from Liamolucko/nrf-rng
Add an nRF RNG driver
|
2021-07-01 01:55:55 +02:00 |
|
Thales
|
334c3a44a4
|
Merge pull request #265 from thalesfragoso/some-fences
stm32: Adjust some fences around DMA
|
2021-06-30 19:08:17 -03:00 |
|
Thales Fragoso
|
e07dda8707
|
stm32: Adjust some fences around DMA
Also bump stm32-data
|
2021-06-30 18:58:21 -03:00 |
|
Dario Nieuwenhuis
|
d77d411935
|
Merge pull request #266 from embassy-rs/rp-clocks
rp: spi, clocks improvements
|
2021-06-30 23:53:35 +02:00 |
|
Dario Nieuwenhuis
|
5fae5d20c0
|
rp/clocks: don't disrupt PLLs if already running.
This makes it possible to run under https://github.com/majbthrd/pico-debug
|
2021-06-30 23:46:00 +02:00 |
|
Dario Nieuwenhuis
|
53c236fde8
|
rp/spi: add configurable pha/pol
|
2021-06-30 23:46:00 +02:00 |
|
Dario Nieuwenhuis
|
f073bdfe43
|
rp/spi: add Transfer
|
2021-06-30 23:46:00 +02:00 |
|
Dario Nieuwenhuis
|
3059923b4f
|
Merge pull request #258 from embassy-rs/rp-clocks
rp/gpio: add optional pins
|
2021-06-30 22:47:22 +02:00 |
|
Dario Nieuwenhuis
|
749f4838d5
|
rp/gpio: add optional pins
|
2021-06-30 22:43:15 +02:00 |
|
Bob McWhirter
|
da014afb89
|
Merge pull request #253 from bobmcwhirter/dma_tables
Generate dma-related macro tables.
|
2021-06-30 10:50:37 -04:00 |
|
Bob McWhirter
|
f3b9c97763
|
Change atomics and add a fence.
|
2021-06-30 10:17:25 -04:00 |
|
Bob McWhirter
|
cf5b7dc943
|
Because IntelliJ makes life hard.
|
2021-06-30 10:03:18 -04:00 |
|
Bob McWhirter
|
6a0b0f3162
|
Enable RCC within the USART itself.
|
2021-06-30 09:57:27 -04:00 |
|
Bob McWhirter
|
e1736114d4
|
Remove paste.
|
2021-06-30 09:44:28 -04:00 |
|
Liam Murphy
|
99339e940e
|
fix: check if new_ptr == end , not the old pointer
|
2021-06-30 16:04:34 +10:00 |
|
Liam Murphy
|
53b95588df
|
Use atomics to share state instead of a RefCell
|
2021-06-30 15:55:52 +10:00 |
|
Liam Murphy
|
a64dec517c
|
Update RNG example
|
2021-06-30 12:55:30 +10:00 |
|
Liam Murphy
|
89fdad3a6b
|
Don't wake the future for every byte in fill_bytes
|
2021-06-30 12:34:57 +10:00 |
|
Liam Murphy
|
ae0219de6f
|
Move initialisation inside of future
|
2021-06-30 09:45:49 +10:00 |
|
Bob McWhirter
|
d5fb558005
|
Fix non-DMA USART example.
|
2021-06-29 13:08:18 -04:00 |
|
Bob McWhirter
|
07a6686879
|
Protect DMA-related things with cfg.
|
2021-06-29 13:00:52 -04:00 |
|
Bob McWhirter
|
2a25de3d3e
|
Make the metapac gen enr/rst missing regs non-fatal to the build.
Should be solved in a separate effort.
|
2021-06-29 12:55:15 -04:00 |
|
Bob McWhirter
|
6b78d56ceb
|
Formatting.
|
2021-06-29 12:48:58 -04:00 |
|
Bob McWhirter
|
24f18819c8
|
Adjust example for RCC and DMA.
|
2021-06-29 11:01:57 -04:00 |
|
Bob McWhirter
|
c53ab325c1
|
Wire up DMA with USART v1.
|
2021-06-29 11:01:57 -04:00 |
|
Bob McWhirter
|
b88fc2847a
|
Checkpoint with lifetime issues.
|
2021-06-29 11:01:57 -04:00 |
|
Bob McWhirter
|
1732551db4
|
Generate dma-related macro tables.
|
2021-06-29 11:01:45 -04:00 |
|
Liam Murphy
|
8a4ab29819
|
Add an nRF RNG driver
Resolves #187
Like the stm32 driver, this has both a non-blocking and blocking API, and implements `rand_core::RngCore` for the blocking API.
|
2021-06-29 17:26:16 +10:00 |
|
Dario Nieuwenhuis
|
d49adc98be
|
Merge pull request #260 from Liamolucko/nrf-timer
Add an nRF Timer driver
|
2021-06-29 07:37:06 +02:00 |
|
Liam Murphy
|
c0ef40d6e9
|
Correctly unset bits
|
2021-06-29 15:12:42 +10:00 |
|
Liam Murphy
|
e6d0dba5ca
|
Write bits directly to intenset/clr + shorts
|
2021-06-29 14:37:37 +10:00 |
|
Liam Murphy
|
87ca902e44
|
Handle differences between PACs
|
2021-06-29 13:04:05 +10:00 |
|
Liam Murphy
|
0c0597f775
|
Don't include extended timer support on chips without it
|
2021-06-29 12:07:10 +10:00 |
|
Liam Murphy
|
94e13ef053
|
Fix Cc::event_compare
|
2021-06-29 11:39:50 +10:00 |
|
Liam Murphy
|
e5a5031f20
|
Get rid of the TODO about variant names, stop the timer before setting BITMODE and set a default frequency.
|
2021-06-29 11:29:32 +10:00 |
|