Commit graph

6763 commits

Author SHA1 Message Date
eZio Pan
873ee06151 some trivial fix
use less #[cfg] macro; reuse same variable
2023-12-30 12:01:08 +08:00
eZio Pan
24f569821c record&restore TIM OC to it's earlier state 2023-12-29 23:22:10 +08:00
ftilde
3916b26b25 Reset rx_started state of nrf buffered_uarte on init
This was likely forgotten as part of c46418f12. Without this, when
creating a uarte instance, dropping it and then creating another
instance, this instance would never receive any bytes.
2023-12-29 12:27:52 +01:00
Dario Nieuwenhuis
90e96d281f
Merge pull request #2373 from embassy-rs/jamesmunns-patch-2
stm32: Add breadcrumb to i2cv1 investigation
2023-12-28 23:58:19 +01:00
James Munns
a780339103
stm32: Add breadcrumb to i2cv1 investigation
Adds an in-code breadcrumb for https://github.com/embassy-rs/embassy/issues/2372
2023-12-28 23:57:10 +01:00
Dario Nieuwenhuis
a2faa9e14a
Merge pull request #2364 from embassy-rs/james/reenable-stm32-i2cv1-ints
STM32: Re-enable I2Cv1 Interrupts if poll-fn is not ready
2023-12-28 23:56:40 +01:00
Dario Nieuwenhuis
a7eb6a44da
Merge pull request #2371 from dzamlo/main
Add set_hop_limit to UDP sockets
2023-12-28 23:56:17 +01:00
Dario Nieuwenhuis
989901c092 ci: disable rpi-pico/i2c test 2023-12-28 23:55:19 +01:00
Loïc Damien
d32fe0ccdc Add set_hop_limit to UDP sockets 2023-12-28 22:15:16 +01:00
Dario Nieuwenhuis
47a94f22aa
Merge pull request #2370 from embassy-rs/stable4
ci: use stable 1.75.
2023-12-28 18:34:31 +01:00
Dario Nieuwenhuis
8d36fe3882 ci: use stable 1.75. 2023-12-28 18:14:55 +01:00
Dario Nieuwenhuis
750aa3ceec
Merge pull request #2368 from chrenderle/l5-rtc
Add low-power support for stm32l5
2023-12-28 12:44:46 +00:00
Dario Nieuwenhuis
551c864012
Merge pull request #2369 from chrenderle/dbgmcu
dbgmcu: set bits to false when disabled
2023-12-28 12:38:24 +00:00
eZio Pan
8c2a6df03b implement PWM waveform generating with DMA 2023-12-28 20:09:12 +08:00
Christian Enderle
da31aa44c0 dbgmcu: set bits to false when disabled 2023-12-28 10:52:23 +01:00
James Munns
a142be8bb8 Seems to help 2023-12-27 19:12:44 +01:00
Dario Nieuwenhuis
00f77c4a92
Merge pull request #2361 from lights0123/patch-1
stm32: USB IN endpoints use IN wakers
2023-12-26 23:27:37 +00:00
Ben Schattinger
87b23f9037
stm32: fix USB wait_enabled IN messages 2023-12-26 18:26:01 -05:00
Ben Schattinger
211f3357b7
stm32: USB IN endpoints use IN wakers
fixes #2360
2023-12-26 18:22:54 -05:00
Dario Nieuwenhuis
1f7209966c
Merge pull request #2359 from embassy-rs/nrf-toggle
nrf/gpio: add toggle.
2023-12-26 23:06:18 +00:00
lights0123
dc295fa1db
stm32: add half duplex USART driver 2023-12-26 16:35:36 -05:00
Dario Nieuwenhuis
7fa954c027 nrf/gpio: add toggle. 2023-12-26 17:35:49 +01:00
Christian Enderle
30023c3bcc Add low-power support for stm32l5 2023-12-26 11:58:38 +01:00
Dario Nieuwenhuis
eebfee189a
Merge pull request #2355 from eZioPan/update-metapac7
update metapac after stm32-data PR323
2023-12-25 14:26:00 +00:00
eZio Pan
d90a97aa4c update metapac after stm32-data PR323
and refactor a few code with cargo clippy
2023-12-25 22:03:32 +08:00
Dario Nieuwenhuis
8b6c6c7df6
Merge pull request #2353 from embassy-rs/smoltcp-011
Upgrade to smoltcp v0.11.
2023-12-23 20:33:03 +00:00
Dario Nieuwenhuis
f625f6b893 Upgrade to smoltcp v0.11. 2023-12-23 21:05:26 +01:00
Dario Nieuwenhuis
55356795ba
Merge pull request #2296 from eZioPan/stm32f4-example-ws2812-spi
(yet another) stm32f4 ws2812 example ...
2023-12-23 19:39:12 +00:00
Dario Nieuwenhuis
92758c3119 ci: use nightly for building docs. 2023-12-23 16:01:08 +01:00
Dario Nieuwenhuis
89b7245da3
Merge pull request #2350 from barnabywalters/rp-docs
[embassy-rp] auto-documented feature flags
2023-12-23 15:52:18 +01:00
Dario Nieuwenhuis
e5474d8829
Merge pull request #2349 from barnabywalters/nrf-docs
[embassy-nrf] auto-documented features
2023-12-23 15:48:59 +01:00
Dario Nieuwenhuis
c46b076d5b nrf: some doc fixes. 2023-12-23 15:48:47 +01:00
Dario Nieuwenhuis
b8c60fb9a8
Merge pull request #2348 from barnabywalters/net-docs
[embassy-net] Auto-documented feature flags
2023-12-23 15:44:03 +01:00
Dario Nieuwenhuis
05b3d106c8
Merge pull request #2347 from barnabywalters/executor-docs
[embassy-executor] improved documentation
2023-12-23 15:43:31 +01:00
Dario Nieuwenhuis
381c5b54fa
Merge pull request #2346 from barnabywalters/time-docs
[embassy-time] Improved documentation
2023-12-23 15:42:10 +01:00
Dario Nieuwenhuis
e7d071ec9e
Merge pull request #2352 from MabezDev/public-rtc-time-provider
stm32: make time provider public again
2023-12-23 15:40:21 +01:00
eZio Pan
dcd4e6384e enable output compare preload for TIM
keep output waveform integrity
2023-12-23 19:53:02 +08:00
Scott Mabin
487a6324ef stm32: make time provider public again 2023-12-23 00:14:10 +00:00
Barnaby Walters
562680cb13 Removed unnecessary note 2023-12-22 23:51:10 +01:00
Barnaby Walters
6a1bdb7e3b [embassy-rp] auto-documented feature flags 2023-12-22 23:50:37 +01:00
Barnaby Walters
05c8d410a2 [embassy-nrf] auto-documented features 2023-12-22 23:37:29 +01:00
Barnaby Walters
d63590cb61 [embassy-net] Auto-documented feature flags 2023-12-22 23:20:43 +01:00
Barnaby Walters
c1156d73d3 Updated driver implementation docs 2023-12-22 19:40:41 +01:00
Barnaby Walters
6bbc316312 [embassy-executor] improved documentation
* Feature auto-documentation
* Task arena sizes in a <details> list
* Non-documented comment explaining turbowakers with see-also link

Further improvements:

* Are the task-arena-size-* numbers sizes in bytes? or something else?
* Task arena section could benefit from advice about how to choose a
  suitable size
2023-12-22 19:05:16 +01:00
Barnaby Walters
5150deb70b Minor typo corrections 2023-12-22 17:33:24 +01:00
Barnaby Walters
0fb57ef87d Improved documentation
* Documented features including all tick rates
* Corrected some out-of-date information
* Sorted tick rate features
* Removed gen_tick.py dependency on toml
* Restructured README.md to better explain tick rate, more
  clearly prioritise time driver docs, correct header levels
2023-12-22 17:08:39 +01:00
eZio Pan
2f75ffb233 remove unused feature attribute 2023-12-22 01:31:25 +08:00
eZio Pan
53fc344e4d fix timing, turn TIM UDE on only necessary, clean DMA FEIF after each Transfer 2023-12-22 01:24:31 +08:00
eZio Pan
d7e517e2d3
Merge branch 'main' into stm32f4-example-ws2812-spi 2023-12-22 00:19:00 +08:00
Dario Nieuwenhuis
87c03037e3
Merge pull request #2342 from embassy-rs/no-more-nightly
ci: use beta, add secondary nightly ci.
2023-12-21 14:44:56 +00:00