Replies: 2 comments
-
I've heard of people running tokio, but it won't run out of the box. As I recall tokio needed to be patched in some way to make it work (Sorry, I haven't tried myself so I don't know the details). We do have a patched version of smol here: https://github.com/esp-rs-compat/smol which may be of interest. |
Beta Was this translation helpful? Give feedback.
-
Well it’s mainly kqueue and epoll that the repo I’m trying to compile uses, I’ll try to keep looking around or just pull some late nighters and rewrite this to what I know, might be a good way to go through the code and learn what the diffrent modules do comparative to something I know a bit better. I’m just a hobbyist I’m not in any rush but I will keep looking. It’s good to know that someone’s done it before though , hopefully they did a write up on it ! — just looking through the smol repo and I see it handles The two repos that I mentioned above. Would that just require me to change out the dependencies ( haven’t really done any of that) but like when compiling if it’s asking for Tokio to switch it to smoll and it will work like that or the way it’s written in Tokio is totally different ? Thank you |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I asked on the Tokio Github and got some response, but I am new to rust in general, but good at following directions. I have compiled and tested on raspberry pi 1 b which is 32 bit and works, but still the program I am running does not need all that much power, to operate properly, and as this is an IoT device. And am familiar with the Esp chips mainly with micropython, but before I go an re-write this software, or attempt any sort of compiling , as I wont know where to even begin debugging this or writing any sort of port for Rust, I figure I ask the community.
I'm, hopeful this might work, as I found a post about Tokio On this Github discussion board.
Will I be able to use this or any known esp-rust compiler to run Tokio , in any capacity, whether it be with / without FreeRTOS.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions