aboutsummaryrefslogtreecommitdiff
path: root/embassy-rp/src
Commit message (Collapse)AuthorAgeFilesLines
* executor: return error when creating the spawntoken, not when spawning.Dario Nieuwenhuis2025-08-291-2/+2
|
* change default internal pullup state to be active to make this change ↵erwin2025-08-192-4/+4
| | | | nonbreaking
* Add configurable internal pullups for rp i2cerwin2025-08-182-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 functionPhirks2025-08-031-3/+1
|
* Add IRQ StatusSource for _rp235xElliot Sayes2025-08-021-0/+4
|
* Merge pull request #4296 from adamNewell/fix-rp2350-stack-guard-rlarDario Nieuwenhuis2025-07-241-1/+1
|\ | | | | | | Embassy RP: RP235x Fix MPU region enablement in stack guard installation
| * Fix MPU region enablement in stack guard installationAdam Newell2025-06-091-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-gpioDario Nieuwenhuis2025-07-231-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 Ursprung2025-07-231-0/+15
| | |
* | | Use `unsafe` block in IRQ handlersclubby7892025-07-201-4/+6
|/ /
* | add `derive(Debug)` for `embassy_rp::i2c::I2c`Ralph Ursprung2025-07-161-0/+1
| |
* | make usb endpoint allocator methods accept an optional EndpointAddresskorbin2025-07-131-7/+23
| |
* | Update Rust nightly, stable.Dario Nieuwenhuis2025-07-042-2/+6
| |
* | remove line break reference from documentationMatt Bhagat-Conway2025-07-031-16/+16
| |
* | fix rustfmt in read_to_break docstringMatt Bhagat-Conway2025-07-031-1/+1
| |
* | add note about UART line breaks being different from ASCIIMatt Bhagat-Conway2025-07-031-0/+6
| |
* | rp: add current_core apiAdrian Wowk2025-07-021-0/+20
| |
* | embassy-rp: fix rom_data module documentationRob Wells2025-06-161-18/+18
|/ | | | | Removes module doc comment markers that appeared in the generated documentation.
* Merge pull request #4237 from felipebalbi/rp-invert-gpioDario Nieuwenhuis2025-06-011-0/+38
|\ | | | | | | embassy-rp: implement input/output inversion
| * embassy-rp: implement input/output inversionFelipe Balbi2025-05-221-0/+38
| | | | | | | | | | RP2040/RP23xx support inversion in HW of the inputs and outputs. Implement minimal support for that.
* | rustfmtMatrixSenpai2025-05-221-3/+6
| |
* | adding compatibility with ws2812 leds that have 4 addressable lightsMatrixSenpai2025-05-221-4/+67
|/
* Merge pull request #4193 from embediver/pio-i2s-bit-depth-configDario Nieuwenhuis2025-05-181-5/+13
|\ | | | | embassy-rp: Make bit-depth of I2S PIO program configurable
| * Make bit-depth of I2S PIO program configurableMarvin Gudel2025-05-131-5/+13
| | | | | | | | Also the channel argument is removed, since only 2 channels are supported.
* | Add rand-core v0.9 support.Dario Nieuwenhuis2025-05-182-12/+62
| | | | | | | | Co-Authored-By: Aurélien Jacobs <[email protected]>
* | Merge pull request #4115 from ↵Ulf Lilleengen2025-05-151-0/+8
|\ \ | | | | | | | | | | | | 1-rafael-1/dropping-pwm-leaves-pins-in-incorrect-state pwm: enable pull-down resistors for pins in Drop implementation
| * | pwm: enable pull-down resistors for pins in Drop implementation1-rafael-12025-04-181-0/+8
| | |
* | | Merge pull request #4205 from ↵Dario Nieuwenhuis2025-05-152-0/+4
|\ \ \ | | | | | | | | | | | | | | | | rursprung/add-some-missing-debug-and-format-impls-for-rpi-adc rp: add missing `Debug` and `defmt::Format` `derive`s for ADC
| * | | rp: add missing `Debug` and `defmt::Format` `derive`s for ADCRalph Ursprung2025-05-152-0/+4
| | | | | | | | | | | | | | | | | | | | this doesn't cover every `struct` & co. in `embassy-rp`, but at least it adds those needed for `Adc` and `adc::Channel`.
* | | | add the possibility to document `bind_interrupts` `struct`sRalph Ursprung2025-05-151-4/+8
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #4187 from 1-rafael-1/rp235x-overclockingDario Nieuwenhuis2025-05-131-37/+207
|\ \ \ | |_|/ |/| | | | | RP235x overclocking
| * | removed one line too many1-rafael-12025-05-131-0/+1
| | |
| * | Changes after review: copypasted doc comment fixed and no cfg gates to panic ↵1-rafael-12025-05-131-14/+3
| | | | | | | | | | | | on failing pll config in init()
| * | Refactor CoreVoltage enum, separate for rp2040 and rp235x1-rafael-12025-05-121-56/+42
| | |
| * | Add ClockError enum and update system_freq to return Result for error handling1-rafael-12025-05-121-19/+47
| | |
| * | limit CoreVoltage eum to values up to 1.30V, because we do not support ↵1-rafael-12025-05-121-120/+21
| | | | | | | | | | | | unlocking higher voltages
| * | rp235x overclocking1-rafael-12025-05-111-32/+297
| | |
* | | Merge pull request #4155 from marcemmers/remove-instance-from-rp-uart-typeUlf Lilleengen2025-05-092-275/+329
|\ \ \ | | | | | | | | [embassy-rp] Remove <T: Instance> from Uart and BufferedUart
| * | | Replace generic inner with argumentsMarc2025-05-021-14/+19
| | | |
| * | | Remove some forgotten commented out codeMarc2025-05-021-2/+0
| | | |
| * | | Removed instance from uart typesMarc2025-05-022-273/+324
| | | |
* | | | Merge pull request #4150 from 1-rafael-1/rp2040-overclockingUlf Lilleengen2025-05-096-44/+839
|\ \ \ \ | | |/ / | |/| | RP: rp2040 overclocking
| * | | Clarify comment for CoreVoltage enum regarding V1_201-rafael-12025-05-071-1/+1
| | | |
| * | | Changes after review1-rafael-12025-05-071-16/+35
| | | |
| * | | rework init()1-rafael-12025-05-051-153/+103
| | | |
| * | | Add PIO clock divider utility and refactor related modules1-rafael-12025-05-035-25/+43
| | | |
| * | | first batch of changes after review1-rafael-12025-05-021-209/+115
| | | |
| * | | - two more doc examples test ignored1-rafael-12025-05-011-8/+214
| | | | | | | | | | | | | | | | | | | | - added tests for the new calculations and fixed an overflow issue these tests surfaced. - Activate brownout detection.
| * | | add manual overclock example, finalize API, cleanup1-rafael-12025-05-011-128/+140
| | | |
| * | | refactoring to have higher and lower level api1-rafael-12025-04-291-207/+339
| | | |