tinygo-org / drivers

TinyGo drivers for sensors, displays, wireless adaptors, and other devices that use I2C, SPI, GPIO, ADC, and UART interfaces.
https://tinygo.org
BSD 3-Clause "New" or "Revised" License
622 stars 196 forks source link

Support ENC28J60 ethernet card #238

Open soypat opened 3 years ago

soypat commented 3 years ago

the IC.

If no one is working on implementing it, I'll do it! I've already done work to port https://github.com/muanis/arduino-projects, specifically this file.

I'm just a little unsure how testing works with TinyGo.

aykevl commented 3 years ago

I'm just a little unsure how testing works with TinyGo.

We do have some tests, but nothing big yet. I'd focus first on getting it working in the first place.

Georges760 commented 3 years ago

I did a port on STM32 with STM32CubeF4 : https://github.com/Georges760/STM32_ENC28J60 Maybe it can help.

soypat commented 3 years ago

I'll comment on the progress: I've managed to port parts of the arduino ENC28j60 library but I am having trouble reading/writing anything at all through the SPI connection. I think I may have fried my enc28j60. I'm still working on it

Link to progress https://github.com/soypat/drivers/tree/dev/enc28j60