f7fe0c1441
net: update smoltcp
2022-12-07 00:28:38 +01:00
02abe00439
net: don't use UnsafeCell.
...
The "must not be called reentrantly" invariant is too "global" to
maintain comfortably, and the cost of the RefCell is negligible,
so this was a case of premature optimization.
2022-12-03 00:56:16 +01:00
a0487380da
Replace futures::future::poll_fn -> core::future::poll_fn.
2022-09-22 16:42:49 +02:00
21072bee48
split embassy-util
into embassy-futures
, embassy-sync
.
2022-08-22 22:18:13 +02:00
5daa173ce4
Split embassy-time from embassy-executor.
2022-08-18 01:22:30 +02:00
a0f1b0ee01
Split embassy crate into embassy-executor, embassy-util.
2022-07-29 23:40:36 +02:00
a8703b7598
Run rustfmt.
2022-06-12 22:22:31 +02:00
a5aea995a8
WIP embassy-net v2
2022-05-25 19:56:22 +02:00
a5f5c3a844
net: add functions to get current Eth and IP config
2022-05-02 16:19:34 +02:00
0d3758ad6b
net: make run() noreturn.
2022-04-13 17:27:20 +02:00
524eed5db5
Update smoltcp, fix build issues with no ethernet.
2021-11-26 21:09:44 +01:00
c257893da9
net: update smoltcp
2021-11-26 04:12:14 +01:00
663141b4e4
nrf: add initial nrf5340 support
2021-10-28 03:36:25 +02:00
a2e7c24e00
Clippy fixes
2021-10-18 01:05:29 +02:00
ead987245d
embassy: Refactor module structure to remove kitchen-sink util
.
2021-09-11 02:35:35 +02:00
de2039fd1d
net: fix build with medium-ip
2021-08-20 15:06:06 +02:00
aca0fb1065
net: Make the user pass in the StackResources in init
...
By having the user pass in the resources, we can make them generic, this way
the user can choose the size of the individual resources
2021-06-20 17:15:18 -03:00
e7dc5c0939
fmt: make all macros macro_rules
so scoping is consistent.
2021-06-07 00:16:39 +02:00
4eecb3cfa9
add is_link_up, is_config_up
2021-04-13 17:14:23 +02:00
4f528d8fae
Add medium-ip, medium-ethernet Cargo features
2021-04-12 21:00:23 +02:00
54d6b6ec48
Correctly randomize source port
2021-04-12 15:35:54 +02:00
9c5a8b945a
Update to latest embassy, atomic-pool, smoltcp
2021-04-07 19:06:45 +02:00
9bee576fd2
Update embassy
2021-03-02 21:20:00 +01:00
f100383b3c
Make ethernet address configurable from the Device
2021-02-24 22:31:07 +01:00
a7d1d02be0
Remove use of feature(const_in_array_repeat_expressions)
2021-02-03 05:25:25 +01:00
cb5931d583
🌈
2021-02-03 05:09:37 +01:00