Dario Nieuwenhuis

Results 452 comments of Dario Nieuwenhuis
trafficstars

Embassy implements the traits for stuff like UART, and embassy-net TCP. Here's one example of it being used in a TCP socket: https://github.com/embassy-rs/embassy/blob/60567b72fb8807bf72aa28f0e2c551953c1ef7bf/examples/rp/src/bin/wifi_tcp_server.rs#L146 you can search the repo for more...

make sure to set this to false, the blackpill board doesn't have it wired up. https://github.com/embassy-rs/embassy/blob/main/examples/stm32f4/src/bin/usb_serial.rs#L48

It can't be done earlier in `new` because the user might move the executor, which will invalidate the `ctx` pointer. Only by the time `poll` is called we know the...

You can't put it into `new`, the executor moves when you return it, and the user might move it further. It has nothing to do with single/multi-core.

is this ready for review? (asking because PR title still says "draft")

ah HIL tests are not running nightly, my bad :facepalm:

merging now due to #2709