| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
| |
the main ci.sh now passes if running with nightly.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
convenience methods
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Also add `defmt` to the features list.
|
| |
|
|
|
| |
Adding TestHarnass to declutter the tests.
Also added a test for FCS and SPI_CRC.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The application can append FSC to outgoing packets and the MAC can detect
and report when a bitflip has occurred.
But the MAC can also add FSC if we want, but we can´t do both.
When adding FSC by the application and MAC results in the packet drop by
the MAC when the TX packet size > (MTU - 4).
Having the application append the FSC is preferred.
So set the right config bits.
|
| |
|
|
|
|
|
|
|
| |
read_fifo() used part of the frame buffer to readout non-frame data.
This results in incorrect readout of the fifo buffer but also the full
MTU could not be used.
Also added some more tests to check this and that the readout is a
multipule of 4 bytes.
|
| |
|
|
|
|
|
| |
Now this function uses frame data directly in the SPI transaction
instead making a copy of it.
Also fixing some length calculations and refactor/add tests to test this
function.
|
| |
|
|
|
|
|
|
|
|
| |
Currently next_multiple_of() is behinged a Feature gate: int_rounding.
See https://github.com/rust-lang/rust/issues/88581
But it seems that this function is stablized in rust 1.73.
See https://github.com/rust-lang/rust/pull/94455
Currently Embassy is still using nightly for many other unstable
features. So I do see an issue to use this function.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
I like program with deny(clippy::pedantic) but it was set as allowed, so
I did get less linting errors/hints. Now it is corrected and also fix
the lint errors and hints.
Also fixes some comment and demagic some values.
Rename `FEC` to more appropriate name `FSC`.
|
| | |
|
|
|
This add a library for Analog ADIN1110 SPE SPI chip.
This library is inspired by `embassy-net-w5500`.
|