5322e293bd
461: nrf: add initial nrf5340 support r=Dirbaio a=Dirbaio Thanks to `@diondokter's` work on DPPI this was quite easy! :) TODO: - [ ] Add config option to enable 128mhz - [ ] Add config option to unlock APPROTECT automatically. - [ ] Add a way to boot net (config option or API?) - [ ] Support WDT (there's WDT0, WDT1. Needs some refactor) - [ ] Support NVMC - [ ] Support TEMP Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |
embassy-net
embassy-net contains an async network API based on smoltcp and embassy, designed for embedded systems.
Running the example
First, create the tap0 interface. You only need to do this once.
sudo ip tuntap add name tap0 mode tap user $USER
sudo ip link set tap0 up
sudo ip addr add 192.168.69.100/24 dev tap0
sudo ip -6 addr add fe80::100/64 dev tap0
sudo ip -6 addr add fdaa::100/64 dev tap0
sudo ip -6 route add fe80::/64 dev tap0
sudo ip -6 route add fdaa::/64 dev tap0
Then, run it
cargo run --bin embassy-net-examples
License
This work is licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.