eZio Pan
1934c2abc8
match up with stm32f429zi feature flag
...
stm32f429 has less DMA channel than stm32f411
2023-12-18 00:06:32 +08:00
eZio Pan
0a890cfbe7
stm32f4 ws2812 example with spi ...
...
... and more doc on TIM&DMA version,
also remove useless TIM APRE settings,
and use for loop instead of manually flip the index bit,
and replace `embassy_time::Timer` with `embassy_time::Ticker`, for more constant time interval.
2023-12-17 23:47:00 +08:00
Dario Nieuwenhuis
a2d4bab2f8
Merge pull request #2281 from dstric-aqueduct/main
...
allow for optional override of `Suspend` event for a UsbDevice
2023-12-16 13:44:54 +00:00
djstrickland
a5379e708c
remove suspendable
field from embassy_usb::builder::Config
2023-12-16 08:19:52 -05:00
Ulf Lilleengen
2a7a44477e
Merge pull request #2294 from adamgreig/g4-flash
...
STM32: Enable flash support for STM32G4
2023-12-16 06:41:21 +00:00
Adam Greig
f6bc96dfbd
STM32: Enable flash support for STM32G4
2023-12-16 03:50:34 +00:00
Dario Nieuwenhuis
ccf602b333
Merge pull request #2293 from esden/fix_qspi_flash_select
...
STM32 QSPI: Fix flash selection.
2023-12-16 01:00:57 +00:00
Piotr Esden-Tempski
3568e4a5ff
STM32 QSPI: Fix flash selection.
2023-12-15 16:47:56 -08:00
Dario Nieuwenhuis
858987263b
Merge pull request #2290 from eZioPan/stm32f4-example-ws2812
...
add ws2812 example for stm32f4 with PWM and DMA
2023-12-15 23:05:32 +00:00
Dario Nieuwenhuis
b966f55883
Merge pull request #2292 from sourcebox/stm32h7-rm0468-fixes
...
[embassy-stm32]: Fixes for STM32H7 series MCUs referenced in RM0468
2023-12-15 23:02:42 +00:00
eZio Pan
ea1e1973eb
unify channel assign
2023-12-16 02:15:56 +08:00
Oliver Rockstedt
560e728132
STM32H7: adjust flash latency and programming delay for series in RM0468
2023-12-15 14:14:30 +01:00
Oliver Rockstedt
c17fee27bb
STM32H7: limit max frequency to 520MHz until cpu frequency boost option is implemented
2023-12-15 13:53:06 +01:00
Oliver Rockstedt
a8d0da91dc
STM32H7: adjust frequency limits for series in RM0468
2023-12-15 12:22:17 +01:00
Oliver Rockstedt
e5e85ba02b
STM32H7: Allow PLL1 DIVP of 1 for certain series
2023-12-15 11:42:58 +01:00
eZio Pan
77e372e842
cargo fmt
2023-12-15 14:15:45 +08:00
eZio Pan
a165d73eed
add ws2812 example for stm32f4 with PWM and DMA
2023-12-15 14:10:11 +08:00
Dario Nieuwenhuis
df0f41c41c
Merge pull request #2289 from embassy-rs/ehm-rc4
...
use released embedded-hal-mock.
2023-12-14 20:14:37 +00:00
Dario Nieuwenhuis
98481c20fe
use released embedded-hal-mock.
2023-12-14 21:11:33 +01:00
Ulf Lilleengen
5ec2fbe3a2
Merge pull request #2284 from Redrield/feature/embassy-usb-dfu
...
Add embassy-usb-dfu crate, with related modifications to embassy-boot
2023-12-14 19:56:04 +00:00
Kaitlyn Kenwell
33e8943e5b
Rename bootloader feature to dfu
2023-12-14 14:16:58 -05:00
Kaitlyn Kenwell
9f9f6e75bb
Abstract chip reset logic, add Reset impls for cortex-m and esp32c3
2023-12-14 13:29:26 -05:00
Kaitlyn Kenwell
cbc8ccc51e
Adjust stm32wb-dfu example memory maps to fix linker errors
2023-12-14 10:56:16 -05:00
Dario Nieuwenhuis
485765320a
Merge pull request #2288 from embassy-rs/ci-cache-test
...
ci: fix test job not caching anything.
2023-12-14 15:49:52 +00:00
Kaitlyn Kenwell
27d054aa68
Adjust toml files, fix application example
2023-12-14 10:34:22 -05:00
Dario Nieuwenhuis
e579095a90
ci: fix test job not caching anything.
2023-12-14 16:30:45 +01:00
Kaitlyn Kenwell
a34abd849f
Add examples to ci.sh
2023-12-14 10:30:10 -05:00
Dario Nieuwenhuis
138ed87b95
Merge pull request #2287 from embassy-rs/eh-rc3
...
Update embedded-hal to 1.0.0-rc.3
2023-12-14 15:29:48 +00:00
Dario Nieuwenhuis
d81395fab3
Update embedded-hal to 1.0.0-rc.3
2023-12-14 16:19:32 +01:00
Kaitlyn Kenwell
ef692c5141
SCB::sys_reset has a DSB internally, no need to replicate
2023-12-14 10:06:36 -05:00
Kaitlyn Kenwell
9cc5d8ac89
fmt
2023-12-14 09:38:49 -05:00
Kaitlyn Kenwell
c1438fe87b
fmt
2023-12-14 09:38:02 -05:00
Kaitlyn Kenwell
e27e00f628
Address reviews
2023-12-14 09:36:22 -05:00
Dario Nieuwenhuis
7b9b22d7f8
Merge pull request #2286 from eZioPan/update-metapac5
...
after stm32-metapac update, TIM CR1 ARPE enum to bool
2023-12-14 14:04:55 +00:00
eZio Pan
879c0ad989
after stm32-metapac update, TIM CR1 ARPE enum to bool
2023-12-14 21:33:35 +08:00
Ulf Lilleengen
2c3d399220
Merge pull request #2285 from plaes/boot-partition-formatting-docs-rs
...
embassy-boot: Fix formatting for tables
2023-12-14 07:44:07 +00:00
Priit Laes
b17f16f0af
embassy-boot: Fix formatting for tables
...
Tables describing the a-b flashing were all garbled up in the
cargo doc output, so fix up the syntax.
2023-12-14 09:12:54 +02:00
Kaitlyn Kenwell
b60b3f4eb8
Last fmt hopefully
2023-12-13 16:19:59 -05:00
Kaitlyn Kenwell
702d2a1a19
Formatting fixes, add example using stm32wb55
2023-12-13 16:08:20 -05:00
Kaitlyn Kenwell
c2942f2727
fmt
2023-12-13 14:53:49 -05:00
djstrickland
6bf70e14fb
Update usb.rs
...
- add check of `dev_resume_from_host` interrupt register to catch wake event
2023-12-13 14:50:13 -05:00
Kaitlyn Kenwell
2afec225e3
Merge branch 'main' into feature/embassy-usb-dfu
2023-12-13 14:42:14 -05:00
Kaitlyn Kenwell
976a7ae22a
Add embassy-usb-dfu
2023-12-13 14:40:49 -05:00
Dario Nieuwenhuis
1279a1b7f6
Merge pull request #2283 from embassy-rs/clarify-boot-requirements
...
docs: more docs in embassy-boot crate documentation
2023-12-13 18:04:56 +00:00
Ulf Lilleengen
876faa5685
docs: more docs in embassy-boot crate documentation
2023-12-13 19:00:26 +01:00
djstrickland
d596a1091d
add susependable
field to embassy_usb::builder::Config
...
- allow for optional override of `Suspend` event for a UsbDevice
2023-12-13 10:17:07 -05:00
Ulf Lilleengen
915423fc63
Merge pull request #2280 from plaes/embassy-boot-partition-docs
...
embassy-boot: Add explanation to dfu vs active size assertion
2023-12-13 09:50:42 +00:00
Priit Laes
6782fb1efa
embassy-boot: Add explanation to dfu vs active size assertion
2023-12-13 11:44:16 +02:00
Dario Nieuwenhuis
14f41a71b6
Merge pull request #2276 from cschuhen/stm32f1-can-example
...
Add example for using CAN with STM32F103 (BluePill) with a real CAN
2023-12-11 11:36:47 +00:00
Corey Schuhen
3626deecaa
More formatting.
2023-12-11 21:26:23 +10:00