2149 Commits

Author SHA1 Message Date
Dario Nieuwenhuis
bf3170ed38
Merge pull request #4294 from AlanRosenthal/rtc_c0
Add RTC example for STM32C0
2025-06-22 21:22:10 +00:00
John Youren
53fd571ddb
Only write to the flash what was read from the file
The write method is given the full aligned buffer to write to flash even though it may not be fully populated. This change ensures only what has been read is written to flash. Preventing potential corrupted firmware and additional flash wear.
2025-06-20 14:45:13 +01:00
Alan Rosenthal
5534a36507 Add RTC example for STM32C0
Tested on STM32C0116F6

Requries: https://github.com/embassy-rs/stm32-data/pull/617
2025-06-10 18:46:41 -04:00
jrmoulton
4efb3b4f3f
fix ci 2025-06-10 16:01:50 -06:00
jrmoulton
cfad9798ff
merge new embassy changes 2025-06-10 15:48:36 -06:00
Dario Nieuwenhuis
d23d5d6a4c
Merge pull request #4224 from felipebalbi/button
imxrt: add button example
2025-06-01 12:20:01 +00:00
Ulf Lilleengen
1d8e4fd970
Merge pull request #4245 from bobsrac/feature/examples_nrf52840_ieee802154
nrf52840: example ieee 802.15.4 packet send/receive
2025-05-27 07:11:34 +00:00
bobsrac
f761e4b97b nrf52840: example ieee 802.15.4 packet send/receive 2025-05-27 00:46:44 -06:00
Gerhard de Clercq
305d1f2ed0
Merge branch 'embassy-rs:main' into dfu-verify 2025-05-26 16:51:10 +02:00
Ulf Lilleengen
a8b3178cee chore: bump version of embassy-boot-stm32 2025-05-26 09:11:46 +02:00
Ulf Lilleengen
94f9b27074
Merge pull request #4228 from okhsunrog/adding_eeprom
Adding EEPROM support to embassy-stm32
2025-05-23 14:15:15 +02:00
Gerhard de Clercq
68a45490fc [embassy-usb-dfu] support ed25519 verification
This commit adds the ability to verify that USB DFU updates are correctly signed using ed25519.
This required adding support to embassy-boot for reading from the DFU partition.
2025-05-23 12:40:19 +02:00
Ulf Lilleengen
edceb0dc7d
Merge pull request #4234 from mkj/embassy-sync-rel-0.7
Prepare embassy-sync 0.7
2025-05-22 08:41:13 +02:00
jubeormk1
bc80903d0a Added some notes for net_ppp example 2025-05-22 15:47:11 +10:00
jubeormk1
43ff562b5a Adjustments for std examples
I extended the README.md file to extend instructions for the rest of network examples

I modified the tap.sh script to give ownership to the user running it and avoiding running the examples with sudo. This would help someone using a debuger.
2025-05-22 15:41:43 +10:00
Matt Johnston
5e49985ed6 embassy-sync: bump to 0.7.0 2025-05-22 13:29:55 +08:00
Felipe Balbi
8e93ae8899 imxrt: add button example 2025-05-21 08:08:37 -07:00
okhsunrog
be831d0e79 Merge remote-tracking branch 'origin/main' into adding_eeprom 2025-05-21 17:10:49 +03:00
okhsunrog
27ca627fc8 added examples 2025-05-21 09:54:19 +03:00
i509VCB
d23c71ea29
mspm0: generate interrupt group handlers 2025-05-20 17:17:03 -05:00
Ulf Lilleengen
f915903f0e
Merge pull request #4188 from Gerharddc/dfu-msos
[embassy-usb-dfu] support function level WinUSB GUIDs
2025-05-19 15:30:22 +02:00
Dario Nieuwenhuis
3ad9b73dd5
Merge pull request #4193 from embediver/pio-i2s-bit-depth-config
embassy-rp: Make bit-depth of I2S PIO program configurable
2025-05-18 21:20:24 +02:00
Dario Nieuwenhuis
41263587df
Merge pull request #4194 from i509VCB/update-metapac2
mspm0: generate features per chip + package
2025-05-18 21:20:11 +02:00
Yuri Astrakhan
ef0f29f0ed Update defmt dependencies 2025-05-18 20:52:09 +02:00
Dario Nieuwenhuis
e4fc487644 Add rand-core v0.9 support.
Co-Authored-By: Aurélien Jacobs <aurel@gnuage.org>
2025-05-18 20:35:36 +02:00
Dario Nieuwenhuis
f5de5bd4fd
Merge pull request #4206 from rursprung/add-possibility-to-document-bind_interrupts-structs
add the possibility to document `bind_interrupts` `struct`s
2025-05-15 16:59:28 +00:00
Ralph Ursprung
117eb45fa0
add the possibility to document bind_interrupts structs
the `bind_interrupts` macro creates a `struct` for the interrupts. it
was so far not possible to document those (except for STM32) and there
was no generic documentation being generated/added either, thus the
`missing_docs` lint was triggered for consumers which enabled it.

with this change it is now possible to manually add a comment on the
`struct` being defined in the macro invocation.

to show that this works one RP example has been modified accordingly.
2025-05-15 18:27:40 +02:00
Felipe Balbi
d64ae225b3 Add UART and DMA drivers
Both blocking and async versions are supported. Add separate examples
for each mode.
2025-05-15 07:22:49 -07:00
Gerhard de Clercq
2bbc2045a4 [usb-dfu examples] Alert users to customise their WinUSB GUIDs 2025-05-14 09:56:28 +02:00
Gerhard de Clercq
d4d10bad0b [embassy-usb-dfu] accept closure to customise DFU function
This provides a more generic interface for users to customise the DFU function instead of restricting customisation to DFU headers.
2025-05-14 09:52:46 +02:00
i509VCB
f41e8c45f6
mspm0: generate feature per chip + package 2025-05-13 21:55:50 -05:00
Dario Nieuwenhuis
5a19b64fec
Merge pull request #4187 from 1-rafael-1/rp235x-overclocking
RP235x overclocking
2025-05-13 21:45:22 +00:00
Marvin Gudel
58383465d5 Fix example for rp235x 2025-05-13 23:30:55 +02:00
Marvin Gudel
fd9ed3924c Fix example 2025-05-13 22:49:35 +02:00
Dario Nieuwenhuis
102258c0b0
Merge branch 'main' into add-rng 2025-05-13 22:33:56 +02:00
Dario Nieuwenhuis
aa85293457
Merge pull request #4181 from felipebalbi/add-crc
Add Embassy-iMXRT CRC driver
2025-05-13 22:28:15 +02:00
Gerhard de Clercq
46e25cbc5f [embassy-usb-dfu] correct comment about composite devices 2025-05-13 15:13:46 +02:00
1-rafael-1
abafbed0d5 remove Debug2Fmt from examples 2025-05-12 21:43:17 +02:00
1-rafael-1
79e452922a Add ClockError enum and update system_freq to return Result for error handling 2025-05-12 21:33:47 +02:00
Gerhard de Clercq
3c73b49790 [embassy-usb-dfu] support function level WinUSB GUIDs
This commit makes it possible to provide function level msos GUIDs to usb_dfu. This helps to ensure that composite DFU devices automatically get assigned the WinUSB driver on Windows.
2025-05-12 15:55:11 +02:00
1-rafael-1
4567beda7b rp235x overclocking 2025-05-11 17:26:36 +02:00
Ulf Lilleengen
f9f20ae217
Merge pull request #4155 from marcemmers/remove-instance-from-rp-uart-type
[embassy-rp] Remove <T: Instance> from Uart and BufferedUart
2025-05-09 19:34:52 +02:00
Ulf Lilleengen
11364077a7
Merge pull request #4150 from 1-rafael-1/rp2040-overclocking
RP: rp2040 overclocking
2025-05-09 19:34:43 +02:00
Felipe Balbi
8e7e4332b4 Add embassy-imxrt RNG driver 2025-05-09 07:25:23 -07:00
Felipe Balbi
d4c378e059 Add embassy-imxrt CRC driver 2025-05-09 07:21:40 -07:00
Ulf Lilleengen
64a2b9b2a3
Merge pull request #4170 from yutannihilation/chore/fix-unsafe-attribute-rust2024
chore: Wrap `link_section` attribute in example code with `unsafe()` for compatibility with Rust 2024 edition
2025-05-09 13:05:23 +02:00
Ulf Lilleengen
aa8703360e
Merge pull request #4168 from yutannihilation/fix/rotary-encoder-rxf-negative-value
Fix `rotary_encoder_rfx` example to handle negative values
2025-05-09 12:39:37 +02:00
Ulf Lilleengen
4dbaa01870
Merge pull request #4175 from felipebalbi/imxrt-rtos-timer
iMXRT OS timer
2025-05-09 12:39:11 +02:00
Matthew Tran
d35df5cfba embassy-usb-dfu: Change return of reset to ()
Also adds &self to the Reset trait, which makes it easier to implement
cleanup/delays before actually resetting.
2025-05-08 00:09:21 -05:00
Felipe Balbi
42c62ba899 Add OS Event timer support
Allow for the use of the OS Event timer as a time source.

Signed-off-by: Felipe Balbi <febalbi@microsoft.com>
2025-05-07 16:25:06 -07:00