Dániel Buga
c9abff53d7
Bump sync version ( #3562 )
...
* Bump sync version
* Use old embassy-sync in rp bluetooth example
* Downgrade update to minor
2024-11-22 21:16:11 +01:00
Dario Nieuwenhuis
51f6b813e1
nrf: port to chiptool-based nrf-pac
.
2024-11-04 00:47:31 +01:00
Dario Nieuwenhuis
9dc4375f18
rp: update PAC, fix CI.
2024-08-12 03:25:41 -04:00
Ulf Lilleengen
61bda59d83
Prepare to release embassy-usb
2024-08-05 08:56:29 +02:00
Rob Pilling
ec53b9187d
Fix bootloader-rp's bootloader memory region overflow
...
The bootloader region (`FLASH`) mentioned below overflows into the
`BOOTLOADER_STATE` region by `0x100` bytes
```
0x10000100 + 24K = 0x10006100
```
32adddff9c/examples/boot/bootloader/rp/memory.x (L3-L8)
2024-07-31 18:16:04 +01:00
Krzysztof Królczyk
453aa58b7f
stm32/boot: update linker file in example
...
Signed-off-by: Krzysztof Królczyk <Krzysztof.Krolczyk@o2.pl>
2024-06-10 11:50:20 +02:00
Dario Nieuwenhuis
999a2ad829
Fix all check-cfg errors in the entire repo.
...
the main ci.sh now passes if running with nightly.
2024-05-31 21:54:42 +02:00
Ulf Lilleengen
cf0d227cca
Prepare for embassy-sync 0.6.0 release
2024-05-29 12:09:55 +02:00
James Munns
0d0d8e14e2
Update dependent versions
2024-04-23 19:48:16 +02:00
Vega Deftwing
9053b6b5b3
Fix spelling and white space mistakes
2024-04-11 19:45:38 +00:00
Adam Greig
7cf6490fba
usb: remove device_descriptor buffer, store bytes in UsbDevice.inner instead
2024-03-23 00:35:15 +00: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
Dario Nieuwenhuis
9f76dbb93b
Remove nightly-only flags from cargo configs.
2024-01-22 21:31:06 +01:00
Dario Nieuwenhuis
e0775fbc8a
Flatten embassy-boot dir tree
2024-01-11 18:55:59 +01: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
Kaitlyn Kenwell
9cc5d8ac89
fmt
2023-12-14 09:38:49 -05:00
Kaitlyn Kenwell
e27e00f628
Address reviews
2023-12-14 09:36:22 -05:00
Scott Mabin
334900752a
update release version in examples and other crates
2023-12-04 13:15:10 +00:00
Dario Nieuwenhuis
03325ea81b
update embedded-storage{,-async}, remove patch.
2023-12-04 13:48:36 +01:00
Dario Nieuwenhuis
c6989dfbca
Remove nightly and unstable-traits features in preparation for 1.75.
2023-11-29 17:26:33 +01:00
James Munns
f3c77e59c4
Add docs, touch all linker fragments
2023-11-19 23:10:11 +01:00
Dániel Buga
d941882066
Prepare embassy-net 0.2.1 and embassy-sync 0.4.0
2023-10-31 09:33:27 +01:00
Dániel Buga
360286e67c
Fix bootloader application examples
2023-09-02 08:50:03 +02:00
Ulf Lilleengen
55ff397c0c
boot: release flash after prepare and refactor api
...
This refactoring of the chip specific bootloader creates the internal boot instance and aligned
buffer in the prepare stage, so that they are automatically dropped after. This unlocks a use
case where peripherals owning the flash need to be Drop'ed before load() happens.
2023-08-11 20:58:31 +02:00
Dario Nieuwenhuis
f7ec579c18
Update probe-rs-cli -> probe-rs
2023-06-29 02:39:28 +02:00
Dario Nieuwenhuis
404aa29289
cortex-m: remove owned interrupts.
2023-06-01 03:25:19 +02:00
Rasmus Melchior Jacobsen
36e00caf4d
Align examples
2023-05-30 14:03:31 +02:00
Dario Nieuwenhuis
1a31b03976
ci: fix nrf, rp tests.
2023-05-29 22:01:19 +02:00
Rasmus Melchior Jacobsen
860b519f99
Let Flash<Async/Blocking> be a thing
2023-05-25 21:40:54 +02:00
Rasmus Melchior Jacobsen
7371eefa86
Align with new bind_interrupt
2023-05-25 20:07:42 +02:00
Dario Nieuwenhuis
054ca17f66
Switch from probe-run to probe-rs-cli.
...
- probe-run screwed up the last release 2 weeks ago and it's still not fixed (issue 391). Doesn't look well maintained.
- Even when it's not broken, it lags behind probe-rs-cli in new chips support because it's slow in updating probe-rs.
2023-04-26 17:00:51 +02:00
pennae
8a9136e4e4
enable inline-asm feature for cortex-m in examples
...
inline assembly is supported since rust 1.59, we're way past that.
enabling this makes the compiled code more compact, and on rp2040
even decreses memory usage by not needing thunks in sram.
2023-04-18 21:07:36 +02:00
Rasmus Melchior Jacobsen
57d3d4d581
Align stm32 bootloader example
2023-04-05 10:29:45 +02:00
Rasmus Melchior Jacobsen
84bfe9b8c9
Align examples with bootloader changes
2023-04-04 22:44:21 +02:00
Mehmet Ali Anil
bc0cb43307
Bump embedded-storage-async to 0.4
2023-03-06 22:16:36 +01:00
bors[bot]
bf4c0de16a
Merge #1139
...
1139: Wdt config changes r=lulf a=huntc
Per commits:
* By passing WDT config around we can control it more easily and promote sharing it between files.
* The memory layout of the s140 crept into a number of memory files, which can cause confusion (well, it did for me!).
* Obtaining the current WDT config is useful so that we do not have to duplicate configurations around the place. A constructor method has been introduced that attempts to return the current running WDT config from the WDT peripheral. The bootloader example has also been updated to show how the watchdog can be obtained and used.
Co-authored-by: huntc <huntchr@gmail.com>
2023-01-04 07:44:23 +00:00
huntc
6e6c3cbebc
Cleaned up some doc and memory layout
...
The memory layout of the s140 crept into a number of memory files, which can cause confusion.
2023-01-04 10:27:16 +11:00
huntc
651eec0242
Pass WDT config around
...
By passing WDT config around we can control it more easily and promote sharing it between files.
2023-01-04 10:19:39 +11:00
kalkyl
413f339489
Cleanup
2023-01-03 23:34:50 +01:00
kalkyl
9428c40c8d
embassy-boot (rp): Add WatchdogFlash
2023-01-03 22:58:56 +01:00
Ulf Lilleengen
bb89a2341c
feat: embassy-boot for rp2040
...
Add embassy-boot support for RP2040, with examples for the Raspberry Pi
Pico.
Co-authored-by: Mathias Koch <mk@blackbird.online>
2022-12-02 11:28:33 +01:00
Dario Nieuwenhuis
1dcb0ea1f5
Bump defmt-rtt to 0.4
2022-11-29 21:15:24 +01:00
chrysn
6718ca3a94
all Cargo.toml: Add license to all crate Cargo.toml files
...
Closes: https://github.com/embassy-rs/embassy/issues/1002
2022-10-07 12:41:56 +02:00
Mathias
a7fdeac560
Remove flash lock/unlock public API from stm32 flash, and perform the unlocking and locking automatically on erase and write operations
2022-09-30 06:00:46 +02:00
Ulf Lilleengen
d0fe654c82
Remove BootFlash borrow
...
Compiler will infer a different lifetime for BootFlash than for the
borrowed flash, which makes it require more type annotations than if it
was just owning the type. Since it doesn't really matter if it owns or
borrows in practical use, change it to own so that it simplifies usage.
2022-09-20 09:54:37 +02:00