| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Merge pull request #5061 from ericseppanen/pio_dividerHEADmain | Dario Nieuwenhuis | 2025-12-19 | 1 | -6/+55 |
| |\ | | | | | | | embassy_rp: improve calculate_pio_clock_divider | ||||
| | * | clock_divider: use core::assert in const fn | Eric Seppanen | 2025-12-13 | 1 | -3/+3 |
| | | | | | | | | | defmt::assert gives a compile error in const context. | ||||
| | * | improve pio clock divider math | Eric Seppanen | 2025-12-13 | 1 | -11/+32 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure that the fractional part of the clock divider is accurately calculated. This does additional u32 division/mod operations, which I think is better than using u64 for its extra precision. Also: - Add additional asserts to catch out-of-bounds results. - Make the version that accepts the system clock as a parameter const and public, so if anyone wants to hardcode the system frequency they can avoid any runtime computation. - Remove the `inline` attributes because the function has grown quite a bit. | ||||
| | * | add unit test for calculate_pio_clock_divider | Eric Seppanen | 2025-12-13 | 1 | -1/+29 |
| | | | | | | | | | | | The test will fail, because the current implementation doesn't calculate the fractional part. | ||||
| * | | Update to embedded-io 0.7 | Dario Nieuwenhuis | 2025-12-19 | 2 | -0/+12 |
| |/ | |||||
| * | Use two AtomicU32 instead | Bjorn Beishline | 2025-11-25 | 1 | -10/+46 |
| | | |||||
| * | Remove atomic-polyfill | Bjorn Beishline | 2025-11-25 | 3 | -16/+51 |
| | | |||||
| * | embassy-rp: add support for TX-only, no SCK SPI | Alex Strandberg | 2025-11-24 | 1 | -0/+25 |
| | | |||||
| * | Add docs for embassy-rp::pio::get_x assumption about autopush. | Valentin Trophime | 2025-11-12 | 1 | -0/+16 |
| | | |||||
| * | fix formatting | Robert Williams | 2025-11-03 | 1 | -1/+1 |
| | | |||||
| * | docs: color order methods traits missing docs | Robert Williams | 2025-11-03 | 1 | -0/+12 |
| | | |||||
| * | split into multiple methods | Robert Williams | 2025-11-03 | 1 | -6/+30 |
| | | |||||
| * | fix: split traits to avoid inference problems | Robert Williams | 2025-11-03 | 1 | -23/+19 |
| | | |||||
| * | embassy-rp: add color order to ws2812 pio program | Robert Williams | 2025-11-03 | 1 | -15/+78 |
| | | |||||
| * | Disable PIO SM before setting Y register | Michael Turner | 2025-11-02 | 1 | -3/+15 |
| | | |||||
| * | embassy-rp: doc comment spelling pass | Rob Wells | 2025-10-27 | 13 | -24/+24 |
| | | | | | | All changes but one are to documentation comments, and one to an ordinary comment. | ||||
| * | rp: fix typo in Input interrupt comment | Nicolas Mattia | 2025-10-26 | 1 | -1/+1 |
| | | |||||
| * | Rustfmt for edition 2024. | Dario Nieuwenhuis | 2025-10-06 | 26 | -90/+50 |
| | | |||||
| * | Edition 2024. | Dario Nieuwenhuis | 2025-10-06 | 6 | -20/+21 |
| | | |||||
| * | Add reset_to_usb_boot to rp235x | Bjorn Beishline | 2025-09-23 | 1 | -0/+32 |
| | | |||||
| * | rp: Use msplim for rp235x core1 stack guard | 9names | 2025-09-21 | 1 | -11/+3 |
| | | |||||
| * | Fix race condition in RTC alarm by using AtomicBool flag | 1-rafael-1 | 2025-09-15 | 1 | -6/+14 |
| | | |||||
| * | alarm handling to poll hardware status directly; add ci test | 1-rafael-1 | 2025-09-15 | 1 | -13/+6 |
| | | |||||
| * | Merge branch 'main' into rp2040-rtc-alarm | 1-rafael-1 | 2025-09-15 | 22 | -137/+1988 |
| |\ | |||||
| | * | rp/pio: Add onewire strong pullups, parasite power | Matt Johnston | 2025-09-14 | 1 | -3/+42 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DS18B20 sensors require a strong pullup to be applied for the duration of the temperature conversion, within 10us of the command. The rp2xxx pins have sufficient drive strength to use as the pullup (no external mosfet needed). Add a new write_bytes_pullup() that will apply the pullup after bytes are written. Existing read_bytes()/write_bytes() has no change to onewire timing. A pio_onewire_parasite example reads multiple sensors individually, applying the strong pullup. | ||||
| | * | Merge pull request #4210 from mcaveniathor/pio_i2s_rx | Dario Nieuwenhuis | 2025-09-05 | 1 | -4/+92 |
| | |\ | | | | | | | | | | Add PioI2sIn, PioI2sInProgram, and example binary | ||||
| | | * | Add PioI2sIn, PioI2sInProgram, and example binary | Thor McAvenia | 2025-09-05 | 1 | -4/+92 |
| | | | | |||||
| | * | | rp: read pio gpiobase in set_pins and set_pin_dirs | Adrian Wowk | 2025-09-05 | 1 | -2/+17 |
| | | | | |||||
| | * | | rp: move pio pin configs after set_config | Adrian Wowk | 2025-09-05 | 1 | -4/+5 |
| | | | | | | | | | | | | | | | | This is needed for the program to work correctly on rp235xb when using the higher pin numbers. | ||||
| | * | | rp: add pio spi runtime reconfiguration | Adrian Wowk | 2025-09-05 | 1 | -39/+80 |
| | | | | |||||
| | * | | style: cleanup with rustfmt | Adrian Wowk | 2025-09-05 | 1 | -11/+10 |
| | | | | |||||
| | * | | rp: add new pio spi program | Adrian Wowk | 2025-09-05 | 2 | -0/+434 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds a new PIO program which implements SPI. This allows you to drive more than 2 SPI buses by using PIO state machines as additional duplex SPI interfaces. The driver supports both blocking and async modes of operation and exclusively uses the DMA for async IO. | ||||
| | * | | rp: add new pio dma apis | Adrian Wowk | 2025-09-05 | 1 | -8/+59 |
| | |/ | | | | | | | | | | | This commit adds StateMachineRx::dma_pull_repeated and StateMachineTx::dma_push_repeated which allow you to discard reads or send dummy writes to the state machine using the DMA hardware | ||||
| | * | Merge pull request #4496 from variegated-coffee/psram | Dario Nieuwenhuis | 2025-09-05 | 3 | -0/+745 |
| | |\ | | | | | | | | | | feat(embassy-rp): RP2350 - Add support for QMI CS1, and for APS6404L PSRAM | ||||
| | | * | Gate ARM-specific assembly using cfg | Magnus Nordlander | 2025-08-05 | 1 | -186/+200 |
| | | | | |||||
| | | * | Apply rustfmt | Magnus Nordlander | 2025-08-05 | 2 | -11/+4 |
| | | | | |||||
| | | * | Interface changes and added example | Magnus Nordlander | 2025-08-05 | 1 | -5/+2 |
| | | | | |||||
| | | * | Remove regs since it doesn’t really make sense to return the QMI ↵ | Magnus Nordlander | 2025-08-05 | 2 | -15/+7 |
| | | | | | | | | | | | | | peripheral from QMI CS1. | ||||
| | | * | Apply rustfmt | Magnus Nordlander | 2025-08-02 | 3 | -121/+122 |
| | | | | |||||
| | | * | Added support for QMI CS1, and for APS6404L PSRAM on the RP2350 | Magnus Nordlander | 2025-08-02 | 3 | -0/+748 |
| | | | | |||||
| | * | | executor: return error when creating the spawntoken, not when spawning. | Dario Nieuwenhuis | 2025-08-29 | 1 | -2/+2 |
| | | | | |||||
| | * | | change default internal pullup state to be active to make this change ↵ | erwin | 2025-08-19 | 2 | -4/+4 |
| | | | | | | | | | | | | | nonbreaking | ||||
| | * | | Add configurable internal pullups for rp i2c | erwin | 2025-08-18 | 2 | -9/+33 |
| | | | | | | | | | | | | | | | | - Example updated to demonstrate enabling internal pullups - Add `sda_pullup` and `scl_pullup` fields to I2C Config | ||||
| | * | | removed the rp2040 flag from the dormant function | Phirks | 2025-08-03 | 1 | -3/+1 |
| | | | | |||||
| | * | | Add IRQ StatusSource for _rp235x | Elliot Sayes | 2025-08-02 | 1 | -0/+4 |
| | |/ | |||||
| | * | Merge pull request #4296 from adamNewell/fix-rp2350-stack-guard-rlar | Dario Nieuwenhuis | 2025-07-24 | 1 | -1/+1 |
| | |\ | | | | | | | | | | Embassy RP: RP235x Fix MPU region enablement in stack guard installation | ||||
| | | * | Fix MPU region enablement in stack guard installation | Adam Newell | 2025-06-09 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | Updated the MPU region enablement logic in the `install_stack_guard` function to correctly set the region limit by using the stack bottom address plus 256 minus one, ensuring proper memory protection configuration. See Table 235. MPU_RLAR Register in RP2350 documentation See Section 4.5 MPU_RLAR in armv8m MPU documentation | ||||
| | * | | Merge pull request #4449 from rursprung/add-debug-and-defmt-for-rp-gpio | Dario Nieuwenhuis | 2025-07-23 | 1 | -0/+15 |
| | |\ \ | | | | | | | | | | | | | add missing `Debug` and `defmt::Format` derives for `embassy_rp::gpio` | ||||
| | | * | | add missing `Debug` and `defmt::Format` derives for `embassy_rp::gpio` | Ralph Ursprung | 2025-07-23 | 1 | -0/+15 |
| | | | | | |||||
| | * | | | Use `unsafe` block in IRQ handlers | clubby789 | 2025-07-20 | 1 | -4/+6 |
| | |/ / | |||||
