Hello! New on this forum so let me know if this is the wrong place to ask this question.
I've worked on a project with Teensy 4.1 for a while and wrote it in Rust mostly using the HAL provided by teensy4-rs. It's going great so far but have finally come to the part of incorporating Ethernet. There is no rust library yet for wrapping the Teensy ethernet chip to Rust ip constructs which makes sense so wanted to see what people think is the best way forward and help me clear up some misunderstandings.
1) What is the actual ethernet chip on the Teensy 4.1? The website says DP83825I but reading NativeEthernet's source code I only see references to W5100/W5500 etc. Is W5500 the actual chip and DP83825I is just a A/D chip for Ethernet? I don't understand this too well so sorry for the question.
2) Does people think it makes sense to generate bindings against NativeEthernet or QNEthernet using bindgen or cxx or does it make sense to just implement the ethernet driver in Rust based on the code that drives it from NativeEthernet? Both seems pain here but what would people's take be on the least amount of pain?
I've worked on a project with Teensy 4.1 for a while and wrote it in Rust mostly using the HAL provided by teensy4-rs. It's going great so far but have finally come to the part of incorporating Ethernet. There is no rust library yet for wrapping the Teensy ethernet chip to Rust ip constructs which makes sense so wanted to see what people think is the best way forward and help me clear up some misunderstandings.
1) What is the actual ethernet chip on the Teensy 4.1? The website says DP83825I but reading NativeEthernet's source code I only see references to W5100/W5500 etc. Is W5500 the actual chip and DP83825I is just a A/D chip for Ethernet? I don't understand this too well so sorry for the question.
2) Does people think it makes sense to generate bindings against NativeEthernet or QNEthernet using bindgen or cxx or does it make sense to just implement the ethernet driver in Rust based on the code that drives it from NativeEthernet? Both seems pain here but what would people's take be on the least amount of pain?