eZio Pan
dc4898ca89
update timer mod after stm32-metapac timer_v2
2024-02-09 23:58:13 +01:00
Dario Nieuwenhuis
04147b4147
Merge pull request #2544 from shufps/feat/adc-l0
...
Feat/adc l0
2024-02-09 22:48:57 +00:00
Caleb Garrett
f6645750c9
Removed hash DMA from unsupported configs.
2024-02-08 17:24:27 -05:00
shufps
34c71b58cf
made adc example working with default clock configuration and switched in v1
to PCLK/2 per default
2024-02-08 11:28:53 +01:00
shufps
b2b2abeb33
clippy
2024-02-08 11:14:29 +01:00
shufps
158d7dbc8f
cargo fmt
2024-02-08 11:11:13 +01:00
shufps
8dff89bfd9
added ADC example running on L0
2024-02-08 11:07:30 +01:00
Badr Bouslikhin
cfc3e96633
fix(boot): update examples
2024-02-07 12:50:48 +01:00
Badr Bouslikhin
4a72f946e4
fix(boot): update stm32wb-dfu example readme
2024-02-07 11:38:05 +01:00
Badr Bouslikhin
c267cb9ab7
feat: enhance bootloader for multiple flash support
2024-02-06 16:25:45 +01:00
Caleb Garrett
e1f6f4b31d
Merge branch 'main' into hash
2024-02-04 17:24:11 -05:00
Caleb Garrett
a260c0a701
Format hash example.
2024-02-04 17:21:16 -05:00
Caleb Garrett
059d8a8222
Merge commit '1f940bf9e868438090ea126eb2267f5e9325fbd4' into hash
2024-02-04 17:19:15 -05:00
Caleb Garrett
66f44b95d7
Addressed hash CI build issues.
2024-02-04 17:16:33 -05:00
Dario Nieuwenhuis
d5d86b866f
nrf/gpiote: add support for nrf51.
2024-02-04 21:36:19 +01:00
Caleb Garrett
1f940bf9e8
Merge branch 'main' into hash
2024-02-03 17:28:20 -05:00
Caleb Garrett
72bbfec39d
Added hash DMA implementation.
2024-02-03 16:10:00 -05:00
Stefan Gehr
b9d0069671
correct spelling of the word "receive"
2024-02-03 14:56:31 +01:00
Caleb Garrett
6e9ddd4626
Added hash module with blocking implementation. Included SHA256 example.
2024-01-31 21:21:36 -05:00
Dario Nieuwenhuis
7e02389995
Merge pull request #2410 from eZioPan/waveform-on-CHx
...
impl waveform with TIM OC Channel DMA
2024-02-01 01:02:01 +00:00
Dario Nieuwenhuis
e613324e16
stm32/eth: rename new_rmii to new, update metapac to fix issues with PC2_C.
2024-02-01 01:39:52 +01:00
Simon B. Gasse
42d8f3930a
Implement MII interface
...
- Extend the eth/v2 module to support MII besides RMII.
- Replace `Ethernet::new` with `Ethernet::new_mii` and
`Ethernet::new_rmii`.
- Update ethernet examples.
- Add example for MII ethernet.
2024-02-01 01:33:34 +01:00
Caleb Jamison
8b7d856195
Rename timeout_at to with_deadline
2024-01-31 16:26:11 -05:00
Caleb Jamison
1e698af05b
Add timeout_at convenience function and example.
2024-01-31 14:10:31 -05:00
Dario Nieuwenhuis
68be63c0e8
Merge pull request #2469 from embassy-rs/nrf51-basic-support
...
feat: add basic support for nRF51 chips to embassy-nrf
2024-01-31 00:20:40 +00:00
Corey Schuhen
1698f4dbc3
Add FDCAN examples for STM32G4, STM32H5 and STM32H7
...
Fix examples
Fix examples
Fix examples.
2024-01-31 05:40:05 +10:00
Tomasz bla Fortuna
a91a7a8557
Add FDCAN dependency in correct flavor based on selected chip.
...
Author: Torin Cooper-Bennun <tcbennun@maxiluxsystems.com>
Change from review.
2024-01-31 05:40:05 +10:00
Valentin Trophime
283debfda4
fix: typo in netcat command for std example
...
The previous given command `nc -l 8000` doesn't let me see anything and lead to a "WARN connect error: ConnectionReset". By explicitly changing the `local-port` of `nc` with the `-p` I can now see the `Hello` message printed, and the warning log disappeared.
2024-01-29 11:36:03 +01:00
Ulf Lilleengen
43553381cd
lower arena for nrf51
2024-01-25 21:51:23 +01:00
Ulf Lilleengen
b16eca3f21
adjust memory settings for lower end variant
2024-01-25 21:50:03 +01:00
Ulf Lilleengen
f117213b6e
fix: use nrf51-dk chip variant
2024-01-25 21:47:49 +01:00
Ulf Lilleengen
25f82538ae
fix doc comment
2024-01-24 21:23:54 +01:00
Ulf Lilleengen
2a810a1a6a
rustfmt
2024-01-24 21:23:54 +01:00
Ulf Lilleengen
4410aacafb
feat: add basic support for nRF51 chips to embassy-nrf
2024-01-24 21:23:54 +01:00
Dario Nieuwenhuis
ee0ebe3121
rp/gpio: remove generics.
2024-01-22 21:32:10 +01:00
Dario Nieuwenhuis
2bc5e9523d
nrf/gpio: remove generics.
2024-01-22 21:32:10 +01:00
Dario Nieuwenhuis
3387ee7238
stm32/gpio: remove generics.
2024-01-22 21:31:06 +01:00
Dario Nieuwenhuis
9f76dbb93b
Remove nightly-only flags from cargo configs.
2024-01-22 21:31:06 +01:00
Dennis Ranke
7931fcfb3d
fix wrong formatting due to not using nightly rustfmt
2024-01-20 16:35:09 +01:00
Dennis Ranke
69d4b42841
add pio_i2s example for RP2040
2024-01-20 16:08:32 +01:00
umgefahren
6ca43030db
feat: Extended the Scan API
2024-01-19 23:51:57 +01:00
Dario Nieuwenhuis
04eb56a884
Merge pull request #2452 from shufps/feat/usb-L1-fix-and-usb-serial-example
...
changes to get usb working on a L1. Adds a usb_serial example too
2024-01-15 00:45:57 +01:00
shufps
ec4cffe28c
usb-serial with HSI
2024-01-14 22:46:20 +01:00
shufps
018c48cf1c
changes to get usb working on a L1. Adds a usb_serial example too
2024-01-14 22:43:22 +01:00
9names
850fe7251a
Add cyw43 package versions to rp-examples Cargo.toml
2024-01-13 09:01:11 +11:00
Ulf Lilleengen
f23182a710
fix: rustfmt
2024-01-12 09:22:16 +01:00
Ulf Lilleengen
883b923faf
fix: update after api change
2024-01-12 08:33:37 +01:00
Dario Nieuwenhuis
a36c8eb843
boot: bump crates to 0.2
2024-01-12 00:53:46 +01:00
Dario Nieuwenhuis
22197320ff
bump embassy-time 0.3, embassy-executor 0.5, embassy-net 0.4.
2024-01-11 23:01:24 +01:00
Dario Nieuwenhuis
f0606da9ad
time: split queue driver too, don't reexport drivers.
2024-01-11 23:01:24 +01:00
Dario Nieuwenhuis
b0b1ef9181
Merge pull request #2436 from embassy-rs/embassy-nrf-docs-nrf91-example
...
Embassy nrf docs and nrf91 example
2024-01-11 19:52:18 +00:00
Ulf Lilleengen
10b857250c
trim nrf9160 example deps
2024-01-11 20:45:45 +01:00
Ulf Lilleengen
b161dd4b11
use secure mode
2024-01-11 20:33:27 +01:00
Ulf Lilleengen
3119aeec5c
add nrf9160 example (assumes SPM from zephyr)
2024-01-11 19:19:16 +01:00
Dario Nieuwenhuis
e0775fbc8a
Flatten embassy-boot dir tree
2024-01-11 18:55:59 +01:00
Ulf Lilleengen
50630192b8
fix: revert unintended change
2024-01-10 10:02:26 +01:00
Ulf Lilleengen
de08da0bf1
rustfmt
2024-01-10 09:54:35 +01:00
Ulf Lilleengen
ff5f5021fb
cleanup docs and add channel synchronization example
2024-01-10 09:52:46 +01:00
Ulf Lilleengen
b867245894
simplify example
2024-01-10 09:23:53 +01:00
Ulf Lilleengen
be3c70d455
Merge pull request #2417 from vasilNnikolov/mutex_rp_example
...
Add example of pin sharing between tasks
2024-01-10 07:25:47 +00:00
Dario Nieuwenhuis
495b8b739a
Change GPIO inherent methods back to &self
.
...
With the embedded-hal rc3 update I changed them to require `&mut self`, but
in retrospect I think `&self` is better, for extra flexibility.
This PR reverts the changes from the rc3 update to inherent methods.
2024-01-10 00:00:10 +01:00
Vasil Nikolov
4843c060d0
no need for a PeripheralRef
2024-01-10 00:47:45 +02:00
Dario Nieuwenhuis
c9ac39df94
Update embedded-hal to v1.0
2024-01-09 23:37:14 +01:00
Vasil Nikolov
ebf46d37aa
remove unused import
2024-01-09 00:35:11 +02:00
Vasil Nikolov
2498fbdf52
add example of pin sharing between tasks
2024-01-09 00:26:48 +02:00
Jomer.Dev
6f505feeb1
Add example
2024-01-08 00:21:02 +01:00
eZio Pan
424ddaf3d9
impl waveform with TIM Channel
2024-01-06 22:22:38 +08:00
Derek Hageman
d34910dbc8
stm32: Add G0 USB example
...
Add a USB CDC ACM example using STM32G0 USB and CRS.
2024-01-05 07:57:35 -07:00
Scott Mabin
f85898771b
New embassy-net release
2024-01-04 16:06:59 +00:00
Dario Nieuwenhuis
87ac51d656
Merge pull request #2396 from tyler-gilbert/update-rcc-u5-with-sai-support
...
Update STM32 RCC U5 to support P and Q dividers
2024-01-03 17:12:50 +00:00
Tyler Gilbert
31bf127807
Update STM32 RCC U5 to support P and Q dividers
2024-01-03 10:46:45 -06:00
Adin Ackerman
9b47fbeb47
weird format rule
2024-01-02 20:12:58 -08:00
Adin Ackerman
e31dd036fe
add hf timer example for g0
2024-01-02 20:03:14 -08:00
Christian Enderle
986eca1b12
fix for rustfmt
2024-01-02 23:24:23 +01:00
Christian Enderle
3830300990
stm32l5: add low-power stop example
2024-01-02 23:05:58 +01:00
Dario Nieuwenhuis
eb7197c5b7
examples: configure executor task arena sizes.
2024-01-02 18:13:25 +01:00
eZio Pan
c276da5fcb
ask a DMA Channel only when use .gen_waveform()
2024-01-02 14:01:09 +08:00
eZio Pan
873ee06151
some trivial fix
...
use less #[cfg] macro; reuse same variable
2023-12-30 12:01:08 +08:00
eZio Pan
8c2a6df03b
implement PWM waveform generating with DMA
2023-12-28 20:09:12 +08: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
eZio Pan
dcd4e6384e
enable output compare preload for TIM
...
keep output waveform integrity
2023-12-23 19:53:02 +08: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
8b36a32ed5
ci: use beta, add secondary nightly ci.
2023-12-21 15:03:57 +01:00
Ulf Lilleengen
0acf7b09c3
chore: replace make_static! macro usage with non-macro version
2023-12-21 10:29:57 +01:00
Ulf Lilleengen
1c3cf347cb
remove embedded-sdmmc
...
Remove support for embedded-sdmmc due to lack of maintainership. Bring
it back once the upstream includes the async functionality.
2023-12-20 13:25:36 +01:00
Dario Nieuwenhuis
189b15c426
stm32/timer: docs.
2023-12-19 17:35:38 +01:00
Dario Nieuwenhuis
80c9d04bbd
stm32: add some docs.
2023-12-18 00:53:18 +01:00
eZio Pan
05b8818de0
typo fix
2023-12-18 01:02:58 +08:00
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
eZio Pan
ea1e1973eb
unify channel assign
2023-12-16 02:15:56 +08: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
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
Kaitlyn Kenwell
27d054aa68
Adjust toml files, fix application example
2023-12-14 10:34:22 -05:00