aboutsummaryrefslogtreecommitdiff
path: root/embassy-rp/src/multicore.rs
Commit message (Collapse)AuthorAgeFilesLines
* embassy-rp: doc comment spelling passRob Wells2025-10-271-1/+1
| | | | | All changes but one are to documentation comments, and one to an ordinary comment.
* Rustfmt for edition 2024.Dario Nieuwenhuis2025-10-061-2/+2
|
* Edition 2024.Dario Nieuwenhuis2025-10-061-3/+2
|
* executor: return error when creating the spawntoken, not when spawning.Dario Nieuwenhuis2025-08-291-2/+2
|
* rp: add current_core apiAdrian Wowk2025-07-021-0/+20
|
* Remove Peripheral trait, rename PeripheralRef->Peri.Dario Nieuwenhuis2025-03-271-2/+2
|
* rp: make atomics work properly between cores in rp235x.Dario Nieuwenhuis2025-02-051-0/+4
|
* Update nighlty, fix warnings.Dario Nieuwenhuis2024-10-141-2/+2
| | | | Fixes #2599
* rp/multicore: enable fpu on second core only if building for -eabihf targets.Dario Nieuwenhuis2024-10-131-1/+1
|
* Enable FPU for RP235X Core1Keisuke Tottori2024-10-131-0/+7
|
* Fix CI, rename private feature, address comments from dirbaio.Caleb Jamison2024-08-121-2/+2
|
* Initial rp235x supportCaleb Jamison2024-08-081-2/+34
| | | | Examples have been run, but there is not yet a test suite.
* fix minor clippy lints in embassy_rpRafael Bachmann2024-03-181-1/+1
|
* ci: use beta, add secondary nightly ci.Dario Nieuwenhuis2023-12-211-1/+0
|
* rp: allow for MPU-based stack guards on core 0 as wellpennae2023-07-211-27/+6
| | | | | | | using these will require some linker script intervention. setting the core0 stack needs linker intervention anyway (to provide _stack_start), having it also provide _stack_end for the guard to use is not that much of a stretch.
* rp: fix multicore stack guard setuppennae2023-07-201-1/+1
| | | | | | | the region field of the register is four bits wide followed by the valid bit that causes the rnr update we rely on for the rasr write. 0x08 is just a bit short to reach the valid bit, and since rp2040 has only 8 regions it (at best) doesn't do anything at all.
* rp: update rp-pac.Dario Nieuwenhuis2023-06-161-33/+23
|
* Add `rt` feature to HALs, cfg out interrupt handling when not set.Dario Nieuwenhuis2023-06-081-0/+2
|
* Make interrupt module more standard.Dario Nieuwenhuis2023-06-081-2/+2
| | | | | | | | | | | | - Move typelevel interrupts to a special-purpose mod: `embassy_xx::interrupt::typelevel`. - Reexport the PAC interrupt enum in `embassy_xx::interrupt`. This has a few advantages: - The `embassy_xx::interrupt` module is now more "standard". - It works with `cortex-m` functions for manipulating interrupts, for example. - It works with RTIC. - the interrupt enum allows holding value that can be "any interrupt at runtime", this can't be done with typelevel irqs. - When "const-generics on enums" is stable, we can remove the typelevel interrupts without disruptive changes to `embassy_xx::interrupt`.
* cortex-m: remove owned interrupts.Dario Nieuwenhuis2023-06-011-3/+2
|
* ci: fix nrf, rp tests.Dario Nieuwenhuis2023-05-291-3/+22
|
* rp/multicore: ensure stack is 8-byte aligned.Dario Nieuwenhuis2023-05-161-1/+6
|
* rp/multicore: fix undefined behavior in multicore spawn.Dario Nieuwenhuis2023-05-161-3/+8
| | | | | | | | | It is UB to pass `entry` to core1 as `&mut`, because core0 keeps an aliasing pointer to that memory region, and actually writes to it (when `spawn_core1` returns, the stack frame gets deallocated and the memory gets reused). This violates noalias requirements. Added the fence just in case, een though it works without.
* rp/gpio: set up gpio interrupts only oncepennae2023-05-021-1/+4
| | | | | | doing this setup work repeatedly, on every wait, is unnecessary. with nothing ever disabling the interrupt it is sufficient to enable it once during device init and never touch it again.
* Remove unnecessary use of atomic-polyfill.Dario Nieuwenhuis2022-12-231-3/+1
| | | | Only use it when CAS is actually needed.
* Update usage in docskalkyl2022-12-131-3/+1
|
* Refactor after reviewkalkyl2022-12-131-136/+101
|
* Add usage in to docskalkyl2022-12-131-9/+23
|
* Pause CORE1 execution during flash operationskalkyl2022-12-131-136/+197
|
* Cleanupkalkyl2022-12-101-6/+6
|
* Feature gate critical-section-implkalkyl2022-12-101-1/+3
|
* embassy-rp: Add multicore supportkalkyl2022-12-101-0/+266