aboutsummaryrefslogtreecommitdiff
path: root/embassy-net-adin1110/src
Commit message (Collapse)AuthorAgeFilesLines
* Rustfmt for edition 2024.Dario Nieuwenhuis2025-10-062-3/+3
|
* Reduced define for 'unreachable!' to a single macro ruleTarun Singh2024-07-171-10/+6
|
* net-adin1110: Fix typo in commentJ. Neuschäfer2024-07-121-1/+1
|
* Add collapse_debuginfo to fmt.rs macros.Dario Nieuwenhuis2024-06-171-0/+17
| | | | | | This makes location info in defmt logs point to the code calling the macro, instead of always to fmt.rs as before. Fix works with nightlies starting with today's, and stable 1.81+.
* Fix all check-cfg errors in the entire repo.Dario Nieuwenhuis2024-05-311-1/+1
| | | | the main ci.sh now passes if running with nightly.
* fmt: disable "unused" warnings.Dario Nieuwenhuis2024-03-201-13/+16
|
* Update embedded-hal to v1.0Dario Nieuwenhuis2024-01-091-5/+5
|
* fix: expose lessUlf Lilleengen2023-12-202-7/+3
|
* better keep missing docs for intoUlf Lilleengen2023-12-201-5/+5
|
* fix: make non-public insteadUlf Lilleengen2023-12-201-2/+1
|
* docs: embassy-net-adin1110Ulf Lilleengen2023-12-205-0/+16
|
* Remove nightly and unstable-traits features in preparation for 1.75.Dario Nieuwenhuis2023-11-291-2/+1
|
* Update embedded-(hal,io,nal).Dario Nieuwenhuis2023-11-291-2/+6
|
* Update Rust nightly.Dario Nieuwenhuis2023-11-011-0/+1
|
* time: Update examples, tests, and other code to use new Timer::after_x ↵Adam Greig2023-10-151-3/+3
| | | | convenience methods
* Add more documentation and commentRené van Dorst2023-09-072-0/+8
|
* mdio: reenable and async the testsRené van Dorst2023-09-071-86/+87
|
* fix some spellingRené van Dorst2023-09-072-3/+3
|
* Update comment about turn around byte.René van Dorst2023-08-281-2/+2
|
* Show the error typeRené van Dorst2023-08-281-2/+2
|
* Add fmt.rs to improve log/debug and embbed and PCRené van Dorst2023-08-283-64/+305
| | | | Also add `defmt` to the features list.
* Validate FCS in fifo_read() and refactor tests.René van Dorst2023-08-283-173/+305
| | | | | Adding TestHarnass to declutter the tests. Also added a test for FCS and SPI_CRC.
* Don't let the MAC add FCS when it is done by appRené van Dorst2023-08-271-12/+29
| | | | | | | | | | | | 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.
* Fix read_fifo() better readout and more checksRené van Dorst2023-08-271-22/+165
| | | | | | | | | 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.
* refactor write_fifo(), don´t copy frame dataRené van Dorst2023-08-242-411/+254
| | | | | | | 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.
* Replace size_align_u32() with next_multiple_of()René van Dorst2023-08-241-25/+5
| | | | | | | | | | 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.
* Remove the `SPI::Error` as a generic parameter.René van Dorst2023-08-241-19/+11
|
* add embassy-net-adin1110 to .github/ci/doc.shRené van Dorst2023-08-241-0/+1
|
* rustfmtRené van Dorst2023-08-242-38/+274
|
* remove the type_alias_impl_trait featureRené van Dorst2023-08-241-1/+0
|
* more clippy fixesRené van Dorst2023-08-241-3/+5
|
* Fix linting.René van Dorst2023-08-245-120/+128
| | | | | | | | | | 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`.
* fix warningRené van Dorst2023-08-241-0/+3
|
* Add embassy-net-adin1110René van Dorst2023-08-246-0/+2118
This add a library for Analog ADIN1110 SPE SPI chip. This library is inspired by `embassy-net-w5500`.