expanseElectronics / ethernetNodes

Ethernet version of our artnetnode project.
https://expanseelectronics.com/
5 stars 4 forks source link

Build project using PlatformIO #6

Closed mrv96 closed 7 months ago

mrv96 commented 1 year ago

Since I saw some issue about project building, I've just published a working PlatformIO project of this repo: https://github.com/mrv96/ethernetNodes/tree/platformio

P.S.: working means that it builds successfully, I didn't tried it on field.

LoneWalkerWolf commented 11 months ago

Thanks for this! I'll give it a shot when I get a chance!

spacyaldesign commented 10 months ago

Hey Mrv96,

thanks for your work. I could finally compile the code with plattform.io, but I cannot upload the code to the WT32-ETH01 because its showing this error: "A fatal error occurred: This chip is ESP32 not ESP8266. Wrong --chip argument? *** [upload] Error 2"

It may be because its configured to run under ESP8266 Environment. Could you upload it already successful?

Regards!

mrv96 commented 10 months ago

I think that this source code is for ESP8266 only. Probably it couldn't work on ESP32, which is the chip used on WT32-ETH0 board


From: spacyaldesign @.> Sent: Friday, November 17, 2023 9:57:53 PM To: expanseElectronics/ethernetNodes @.> Cc: mrv96 @.>; Author @.> Subject: Re: [expanseElectronics/ethernetNodes] Build project using PlatformIO (Issue #6)

Hey Mrv96,

thanks for your work. I could finally compile the code with plattform.io, but I cannot upload the code to the WT32-ETH01 because its showing this error: "A fatal error occurred: This chip is ESP32 not ESP8266. Wrong --chip argument? *** [upload] Error 2"

It may be because its configured to run under ESP8266 Environment. Could you upload it already successful?

Regards!

— Reply to this email directly, view it on GitHubhttps://github.com/expanseElectronics/ethernetNodes/issues/6#issuecomment-1817096496, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADD27VU3F3S3ILKHBERZWI3YE7FVDAVCNFSM6AAAAAA4TBBHKCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJXGA4TMNBZGY. You are receiving this because you authored the thread.Message ID: @.***>

LoneWalkerWolf commented 7 months ago

Very late reply, and I apologise for this. The code is for ESP8266 only, we haven't found a need where the ESP32 is needed, feel free to rewrite the code / libraries to work with the ESP32 and its WT32-ETH0 board.

The above board also uses a completely different ethernet controller, the LAN8720A. Our board and code use the W5500 ethernet IC.

mrv96 commented 4 months ago

Finally I found the time to try PlatformIO project on hardware. After few attempts it worked! I updated my branch with the necessary fixes.

Further feedbacks are welcome!