Progress of the night: Getting the essentials of the #lwip stack running on the #CH32V208.
Still need to clean it up a lot and build the wrapping library, so it's actually useful.
But seeing lwip run at all is amazing.
(So I don't need to depend on the proprietary, closed source #WCHNET library)
Good night :D
[#]WCH #CH32
=> More informations about this toot | More toots from LeoDJ@chaos.social
Accessing #lwip directly seems to work pretty ok already.
Now I'm trying to see how far I can implement rudimentary #Arduino framework compatibility (before losing interest in the tedium).
After some hours, the EthernetClient finally behaved enough for a simple TCP echo test :D
[#]WCH #CH32 #CH32V208
=> More informations about this toot | More toots from LeoDJ@chaos.social
[#]MQTT using the Arduino #PubSubClient library seems to work now too!
And it also passed the ultimate test: compilation on another PC ^^
Currently, there's just a few lines of platformio.ini configuration needed to use the library. Which was my main goal, yay ^^
(Although it's still pretty hacked together. Also, some changes to external libraries could be handled more elegantly & pull-requested, but eh, it works rn)
[#]WCH #CH32 #CH32V208 #Ethernet
=> More informations about this toot | More toots from LeoDJ@chaos.social
@LeoDJ Uhh :3
Always love to see weird/unusual network devices 😺
=> More informations about this toot | More toots from manawyrm@chaos.social This content has been proxied by September (ba2dc).Proxy Information
text/gemini