aboutsummaryrefslogtreecommitdiff
path: root/examples/rp
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge branch 'embassy-rs:master' into masterChuck Davis2023-04-281-1/+1
|\
| * Bump versions preparing for -macros and -executor releaseUlf Lilleengen2023-04-271-1/+1
| |
* | Remove external-lora-phy feature.ceekdee2023-04-281-1/+1
|/
* rp: remove pio Cargo feature.Dario Nieuwenhuis2023-04-261-1/+1
| | | | We shouldn't have Cargo features if their only purpose is reduce cold build time a bit.
* Deprecate original LoRa drivers. Update rust-lorawan releases.ceekdee2023-04-251-2/+2
|
* Add lora-phy examples.ceekdee2023-04-234-0/+437
|
* Merge branch 'embassy-rs:master' into masterChuck Davis2023-04-231-0/+27
|\
| * rp: add PWM apipennae2023-04-231-0/+27
| |
* | Use released lora-phy.ceekdee2023-04-211-1/+1
| |
* | Add external LoRa physical layer functionality.ceekdee2023-04-211-1/+5
|/
* enable inline-asm feature for cortex-m in examplespennae2023-04-181-1/+1
| | | | | | 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.
* Release embassy-sync v0.2.0Dario Nieuwenhuis2023-04-131-1/+1
|
* Update embedded-hal crates.Dario Nieuwenhuis2023-04-063-126/+39
|
* executor: add Pender, rework Cargo features.Dario Nieuwenhuis2023-04-031-1/+1
| | | | | | | | | This introduces a `Pender` struct with enum cases for thread-mode, interrupt-mode and custom callback executors. This avoids calls through function pointers when using only the thread or interrupt executors. Faster, and friendlier to `cargo-call-stack`. `embassy-executor` now has `arch-xxx` Cargo features to select the arch and to enable the builtin executors (thread and interrupt).
* Example using the PIO to drive WS2812 aka Neopixel RGB ledsCaleb Jamison2023-03-112-0/+143
| | | | This example also uses a pio program compiled at runtime, rather than one built at compile time. There's no reason to do that, but it's probably useful to have an example that does this as well.
* Fix a typo in "PioPeripheral"sekoia2023-02-152-2/+2
|
* usb: unify ControlHandler+DeviceStateHandler, route all control requests to ↵Dario Nieuwenhuis2023-02-082-2/+0
| | | | | | | | all handlers. - Allows classes to handle vendor requests. - Allows classes to use a single handler for multiple interfaces. - Allows classes to access the other events (previously only `reset` was available).
* net: allocate space for 2 sockets, needed for dhcp.Dario Nieuwenhuis2023-01-191-1/+1
|
* Add smoltcp dhcp socket configurationPaweł Jan Czochański2023-01-191-8/+3
|
* Merge #1142bors[bot]2023-01-141-1/+1
|\ | | | | | | | | | | | | | | | | | | 1142: More rp2040 BufferedUart fixes r=Dirbaio a=timokroeger * Refactor init code * Make it possible to drop RX without breaking TX (or vice versa) * Correctly handle RX buffer full scenario Co-authored-by: Timo Kröger <[email protected]>
| * rp: Fix BufferedUart drop codeTimo Kröger2023-01-041-1/+1
| | | | | | | | Only unregister the interrupt handler when both parts are inactive
* | rp2040: add {tx,rx}-only constructors to UARTPedro Ferreira2023-01-041-0/+42
|/
* rp: switch to released 0.2.1 pio crate.Dario Nieuwenhuis2022-12-261-4/+1
|
* net: split driver trait to a separate crate.Dario Nieuwenhuis2022-12-261-1/+1
|
* net: remove unused pool-x featuresDario Nieuwenhuis2022-12-261-1/+1
|
* Remove lifetime, use pac fieldskalkyl2022-12-241-3/+3
|
* embassy-rp: Add Watchdogkalkyl2022-12-241-0/+48
|
* Change log level to debugkalkyl2022-12-231-1/+1
|
* embassy-rp: Add split() to BufferedUartkalkyl2022-12-222-1/+58
|
* cargo fmtAaron Tsui2022-12-201-2/+2
|
* add convert_to_celsius function in the adc moduleAaron Tsui2022-12-201-1/+6
| | | | | | modify RP2040 adc example to get inside biased bipolar diode voltage, then convert this temperature sensor data into Celsius degree, according to chapter 4.9.5. Temperature Sensor in RP2040 datasheet.
* usb/cdc-ncm: add embassy-net Device implementation.Dario Nieuwenhuis2022-12-132-124/+18
|
* Merge branch 'master' into multicoreHenrik Alsér2022-12-133-1/+187
|\
| * Added RelocateProgram class for adjusting PIO-programs for different origins.Simon Berg2022-12-092-16/+25
| |
| * PIO support for RPi PicoSimon Berg2022-12-093-1/+178
| |
* | Refactor after reviewkalkyl2022-12-131-3/+2
| |
* | Cleanupkalkyl2022-12-101-4/+3
| |
* | Feature gate critical-section-implkalkyl2022-12-101-1/+1
| |
* | fmtkalkyl2022-12-101-2/+2
| |
* | embassy-rp: Add multicore supportkalkyl2022-12-102-1/+64
|/
* Bump defmt-rtt to 0.4Dario Nieuwenhuis2022-11-291-1/+1
|
* Switch to async-fn-in-traitDario Nieuwenhuis2022-11-251-2/+2
|
* Merge #1059bors[bot]2022-11-221-0/+33
|\ | | | | | | | | | | | | | | 1059: embassy-rp: Add basic ADC module r=kalkyl a=kalkyl Oneshot ADC Co-authored-by: Henrik Alsér <[email protected]>
| * embassy-rp: Add basic ADC moduleHenrik Alsér2022-11-151-0/+33
| |
* | feat: embassy-usb-logger and example for rpi picoUlf Lilleengen2022-11-182-0/+32
|/ | | | | | * Add embassy-usb-logger which allows logging over USB for any device implementing embassy-usb * Add example using logger for rpi pico.
* Rebase on masterMathias2022-10-271-2/+2
|\
| * Update Rust nightly.Dario Nieuwenhuis2022-10-261-2/+2
| |
* | Remove random delay from example, and move flash functions to allow using ↵Mathias2022-10-271-1/+7
| | | | | | | | without embedded-storage in scope
* | Buffer data to be written to flash in ram if it does not already reside in ramMathias2022-10-261-1/+0
| |
* | Add flash example & flash HIL testMathias2022-10-262-0/+85
|/