bors[bot]
26f86d7f36
Merge #470
...
470: Add TCP listen. r=Dirbaio a=matoushybl
Co-authored-by: Matous Hybl <hyblmatous@gmail.com>
2021-11-04 12:49:41 +00:00
Matous Hybl
d742d0252e
Add TCP listen.
2021-11-04 13:34:13 +01:00
Jacob Rosenthal
03f2c593d6
fix slice_in_ram for arbitrary size types
2021-11-03 18:56:02 -07:00
Jacob Rosenthal
64e1426b54
clean up some todo comments around infinite play
2021-11-03 18:46:42 -07:00
Jacob Rosenthal
b726ef1886
make SequenceConfig struct is consistent with other Config structs, that are always non_exhaustive and have a Default
2021-11-03 18:37:54 -07:00
Jacob Rosenthal
d961fd1015
rename to SimplePwm and SequencePwm
2021-11-03 18:25:44 -07:00
Jacob Rosenthal
9a6c2de4ea
fix safety comments
2021-11-03 18:19:43 -07:00
Jacob Rosenthal
511c5cb892
intenset in a noop
2021-11-03 18:16:00 -07:00
Jacob Rosenthal
82695c8f65
make both news configure registers in same order
2021-11-03 18:15:42 -07:00
Jacob Rosenthal
44375b427c
restore example and add set_time_stretch api
2021-11-03 15:29:09 -07:00
bors[bot]
1bf6e646c9
Merge #465
...
465: Adjust for STM32U5. r=lulf a=bobmcwhirter
Co-authored-by: Bob McWhirter <bmcwhirt@redhat.com>
2021-11-02 20:42:41 +00:00
Bob McWhirter
f9c266bc10
Omg. More formatting.
2021-11-02 16:06:49 -04:00
Bob McWhirter
16c88e3094
Need to include a bit of embassy for the NVIC.
2021-11-02 15:58:40 -04:00
Bob McWhirter
9deafa8bab
Remove unused imports.
2021-11-02 15:56:04 -04:00
Bob McWhirter
d1272e00bb
Prefix unused variable for now.
2021-11-02 15:45:56 -04:00
Bob McWhirter
44056c2e75
Less allowy.
2021-11-02 15:32:20 -04:00
bors[bot]
569ecd699d
Merge #467
...
467: docs: fix some `cargo doc` warnings r=lulf a=numero-744
There are still 3 warnings (below)
```
Documenting embassy v0.1.0 (embassy)
warning: unresolved link to `channel`
--> src/channel/mpsc.rs:241:22
|
241 | /// [`channel`]: channel
| ^^^^^^^ no item named `channel` in scope
|
= note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
warning: unresolved link to `Task::spawn`
--> src/executor/raw/mod.rs:105:12
|
105 | /// with [`Task::spawn()`], which will fail if it is already spawned.
| ^^^^^^^^^^^^^ no item named `Task` in scope
warning: public documentation for `spawn` links to private item `Executor::spawn`
--> src/executor/raw/mod.rs:156:17
|
156 | /// cause [`Executor::spawn()`] to return the error.
| ^^^^^^^^^^^^^^^^^ this item is private
|
= note: `#[warn(rustdoc::private_intra_doc_links)]` on by default
= note: this link will resolve properly if you pass `--document-private-items`
warning: `embassy` (lib doc) generated 3 warnings
```
Co-authored-by: Côme ALLART <come.allart@etu.emse.fr>
2021-11-02 19:31:15 +00:00
Bob McWhirter
076c795ebb
Even more allowed unused.
2021-11-02 15:28:14 -04:00
Bob McWhirter
6bbf450478
Allow unused macros temporarily until U5 supports DMA.
2021-11-02 15:20:42 -04:00
Bob McWhirter
ee1ea44b60
Add stm32u5 examples to CI run.
2021-11-02 15:11:30 -04:00
Jacob Rosenthal
682274870f
set_duty does indeed loop forever
2021-11-02 11:56:01 -07:00
Bob McWhirter
eaaaa2460a
Formatting, per usual.
2021-11-02 14:53:53 -04:00
Bob McWhirter
3ab1775820
Add STM32U5 example.
2021-11-02 14:43:42 -04:00
bors[bot]
11b0a89b6a
Merge #466
...
466: Update versions of critical-section and atomic-polyfill r=lulf a=lulf
Co-authored-by: Ulf Lilleengen <ulf.lilleengen@gmail.com>
2021-11-02 18:10:01 +00:00
Jacob Rosenthal
c939edb8d0
rename error enum again
2021-11-02 10:57:01 -07:00
Ulf Lilleengen
205a223af3
Update versions of critical-section and atomic-polyfill
2021-11-02 18:52:03 +01:00
Côme ALLART
3dd39e3d46
docs: fix some cargo doc
warnings
2021-11-02 18:49:01 +01:00
Bob McWhirter
705523d0ea
Fix formatting.
2021-11-02 12:13:42 -04:00
Bob McWhirter
29ff0317a3
Update stm32-data.
2021-11-02 12:06:32 -04:00
Bob McWhirter
f12b70535b
Adjust for STM32U5.
2021-11-02 12:05:24 -04:00
Jacob Rosenthal
4647792ad6
seperate start from pwmseq::new
2021-11-01 20:50:18 -07:00
Jacob Rosenthal
49253152cf
seperate sequence from duty cycle pwm struct
2021-11-01 20:50:14 -07:00
Jacob Rosenthal
b297e5f7bd
led dimming example, dont need to keep all examples, just covering ground to test api
2021-11-01 13:51:40 -07:00
Jacob Rosenthal
74e7f4a227
comments
2021-11-01 13:16:24 -07:00
Jacob Rosenthal
f2cfbe4262
align pwm.set_duty with embedded hal to not be one shot
2021-11-01 13:08:55 -07:00
Jacob Rosenthal
5285179218
generalize new and change pwm example to a servo
2021-11-01 13:08:51 -07:00
Jacob Rosenthal
12b2c5d5f7
better not as a constructor?
2021-11-01 08:54:07 -07:00
Jacob Rosenthal
90be851e4b
reduce complexity of loopmode
2021-11-01 08:45:07 -07:00
Jacob Rosenthal
48673e27cd
fix max sequence length
2021-11-01 01:20:04 -07:00
Jacob Rosenthal
14dc524b84
documentation
2021-11-01 01:20:01 -07:00
Jacob Rosenthal
7b092f463e
clarify infinite
2021-11-01 00:30:42 -07:00
Jacob Rosenthal
72fa1c8482
fix additional to remove stuck light at end
2021-11-01 00:25:08 -07:00
Jacob Rosenthal
d98a1707b9
using write dont need to clear
2021-10-31 23:28:26 -07:00
Jacob Rosenthal
78e382c9aa
stop->sequence_stop
2021-10-31 23:13:49 -07:00
Jacob Rosenthal
96df2fdb43
lost comment
2021-10-30 16:23:45 -07:00
Jacob Rosenthal
763e250dfe
add ability to configure loop count from 1 to infinite
2021-10-30 16:16:10 -07:00
Jacob Rosenthal
ee8f76537b
at least stop on drop
2021-10-30 11:33:28 -07:00
Jacob Rosenthal
6d8198a46a
move psel back out of if
2021-10-30 11:33:10 -07:00
bors[bot]
3dcf899bab
Merge #462
...
462: Add the `embassy_traits::i2c::WriteIter` trait r=Dirbaio a=ithinuel
This trait makes the parallel with `embedded_hal::i2c::WriteIter`.
It allows to fetch bytes to write from an Iterator rather than requiring an allocation for an array.
It is provided as an extra Trait to avoid breaking existing implementations of `embassy_traits::i2c::I2c`.
Co-authored-by: Wilfried Chauveau <wilfried.chauveau@ithinuel.me>
2021-10-30 14:35:26 +00:00
Jacob Rosenthal
ef95441442
a runtime generated sin table example
2021-10-29 17:10:37 -07:00