aboutsummaryrefslogtreecommitdiff
path: root/examples/rp/src/bin
Commit message (Collapse)AuthorAgeFilesLines
...
* Add example to show useage of rp2040 roscCaleb Jamison2023-10-161-0/+32
|
* time: Update examples, tests, and other code to use new Timer::after_x ↵Adam Greig2023-10-1523-54/+54
| | | | convenience methods
* embassy-usb: Add MIDI classkalkyl2023-10-141-0/+110
|
* Add wait for DHCP in rp wifi_tcp_serverKingCol132023-10-021-1/+8
|
* Update firmware size in rp wifi examplesKingCol132023-10-024-4/+4
|
* feat: allow schmitt, slew, and drive strength be set from Flex, Input, OutputJonathan Dickinson2023-10-011-0/+3
| | | | Allows the schmitt, slew and drive strength to be set from Flex. Input and Output[OpenDrain] also expose the appropriate setters.
* Update for rust-lorawan and lora-phy version 2.ceekdee2023-09-244-41/+11
|
* Merge pull request #1834 from dave-andersen/mainDario Nieuwenhuis2023-09-101-3/+4
|\ | | | | | | Fix timing on RP2040 pio_ws2812.rs example
| * Fix timing on RP2040 pio_ws2812.rs exampleDave Andersen2023-08-271-3/+4
| | | | | | | | | | | | | | | | The example spins too fast so it doesn't appear to change; it's delaying for microseconds instead of milliseconds. This commit slows it down and adds a comment noting the pin mapping for the Adafruit feather rp2040+RFM95 LoRA module, which has its Neopixel on pin 4 instead of 16.
* | Add example, fix small bug in respond_and_fillCaleb Jamison2023-09-101-0/+118
| |
* | sync/pipe: impl BufRead.Dario Nieuwenhuis2023-08-301-6/+4
|/
* Merge pull request #1763 from rubdos/sender-receiver-with-ctxDario Nieuwenhuis2023-08-222-2/+2
|\ | | | | | | Refactor Channel/Sender/Receiver poll methods
| * Deprecate *recv* in favor of *receive*Ruben De Smet2023-08-222-2/+2
| |
* | rp/flash: change naming to `blocking_*`, `new_blocking`.Dario Nieuwenhuis2023-08-181-17/+17
| | | | | | | | | | - Needed for consistency with other drivers. - Having two `new()` functions sometimes resulted in 'multiple applicable methods' errors.
* | Update embedded-hal to 1.0.0-rc.1 (#1783)Dario Nieuwenhuis2023-08-164-4/+4
| |
* | net-wiznet: rename from embassy-net-w5500.Dario Nieuwenhuis2023-08-154-12/+14
| |
* | net-w5500: extract chip-specific stuff to a trait.Dario Nieuwenhuis2023-08-154-0/+8
|/
* Update to embedded-io 0.5 (#1752)Dario Nieuwenhuis2023-08-078-14/+12
|
* rp: add single-channel dma from adcpennae2023-08-021-1/+1
| | | | | | | | | | with uniform treatment of adc inputs it's easy enough to add a new sampling method. dma sampling only supports one channel at the moment, though round-robin sampling would be a simple extension (probably a new trait that's implemented for Channel and &[Channel]). continuous dma as proposed in #1608 also isn't done here, we'd expect that to be a compound dma::Channel that internally splits a buffer in half and dispatches callbacks or something like that.
* rp: generalize adc inputs from pins to channelspennae2023-08-011-5/+6
| | | | | | this lets us treat pins and the temperature sensor uniformly using the same interface. uniformity in turn lets us add more adc features without combinatorial explosion of methods and types needed to handle them all.
* Uart pio fix zerosMichael van Niekerk2023-07-301-4/+6
| | | Prevent UART from only getting 0s from the output
* rp: add async flashDerek Hageman2023-07-281-4/+38
| | | | | | Implement an async flash mode using the XIP background best effort read interface. Only reads are actually async, write and erase remain blocking.
* rp: relocate programs implicitly during loadpennae2023-07-285-49/+17
| | | | | | | | | | | this removed the RelocatedProgram construction step from pio uses. there's not all that much to be said for the extra step because the origin can be set on the input program itself, and the remaining information exposed by RelocatedProgram can be exposed from LoadedProgram instead (even though it's already available on the pio_asm programs, albeit perhaps less convenient). we do lose access to the relocated instruction iterator, but we also cannot think of anything this iterator would actually be useful for outside of program loading.
* Make pipes local vars.Dario Nieuwenhuis2023-07-281-15/+15
|
* Fixes as per PRMichael van Niekerk2023-07-281-66/+48
|
* CommentsMichael van Niekerk2023-07-281-91/+260
|
* Tx and Rx setupMichael van Niekerk2023-07-241-0/+262
|
* Added usb-hid keyboard example for rp pico.maximedeboeck2023-07-161-0/+188
|
* Round temp to make more sense.Henrik Berg2023-07-131-1/+4
|
* Add descriptions to all RP2040 examples. Some need hardware that was not ↵Henrik Berg2023-07-1333-5/+122
| | | | specified.
* RP: Don't reset RTC in Clock::init. Updated example.Henrik Berg2023-07-121-17/+9
|
* RP: Add save/restore to Rtc. Example use.Henrik Berg2023-07-121-21/+34
|
* RP: Rename Rtc to match STM32 impl. Remove setting RTC in new().Henrik Berg2023-07-121-4/+10
|
* RP: Add RTC example to rp2040.Henrik Berg2023-07-121-0/+33
|
* Merge pull request #1623 from pennae/rp-adcDario Nieuwenhuis2023-07-071-8/+9
|\ | | | | | | rp/adc: rewrite the module
| * rp/adc: rewrite the modulepennae2023-07-071-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | - don't require an irq binding for blocking-only adc - abstract adc pins into an AnyPin like interface, erasing the actual peripheral type at runtime. - add pull-up/pull-down functions for adc pins - add a test (mostly a copy of the example, to be honest) - configure adc pads according to datasheet - report conversion errors (although they seem exceedingly rare?) - drop embedded-hal interfaces. embedded-hal channels can do neither AnyPin nor pullup/pulldown without encoding both into the type
* | rp/pio: use bind_interrupts for irqspennae2023-07-078-20/+64
| | | | | | | | closes #1338
* | Remove wifi envvars. They're annoying, they cause rust-analyzer errors when ↵Dario Nieuwenhuis2023-07-051-2/+5
|/ | | | opening the examples.
* update embedded-hal crates.Dario Nieuwenhuis2023-07-045-19/+44
|
* Update probe-rs-cli -> probe-rsDario Nieuwenhuis2023-06-294-8/+8
|
* Spelling.Henrik Berg2023-06-121-1/+1
|
* Code cleanup.Henrik Berg2023-06-121-1/+1
|
* Document external button. Add wifi_blinky.rs for easy beginners start.Henrik Berg2023-06-122-1/+63
|
* examples: use nicer InterrupExt to set irq priority in multprio.Dario Nieuwenhuis2023-06-091-11/+5
|
* Remove executor dep+reexports from HALs.Dario Nieuwenhuis2023-06-091-1/+1
| | | | Closes #1547
* net: Support dual stack IPRuben De Smet2023-06-077-9/+9
|
* net: StaticV4 config behind proto-ipv4Ruben De Smet2023-06-064-4/+4
|
* Rename StaticConfig to StaticConfigV4Ruben De Smet2023-06-067-7/+7
|
* Use make_static! from static-cell v1.1Dario Nieuwenhuis2023-06-0111-119/+44
|
* net-w5500: integrate into main repo.Dario Nieuwenhuis2023-05-314-54/+19
|