4 ms·
Is there already support for the ESP8266? I started working on it, but I didn't have time to even begin to learn the necessary fundamentals. If it's still not d
by icebraining 9y ago
Is there already support for the ESP8266? I started working on it, but I didn't have time to even begin to learn the necessary fundamentals. If it's still not done, I might take it up again.
- jpdb 9y agoI have been waiting for support for ESP8266/ESP32, but it doesn't look like it is there yet. I'd really like to use rust to program my ESP devices. C/Arduino works just fine, but it would give a great excuse to learn rust. Do you have a Github link for this project? I'd like to star it and help out where I can.
- icebraining 9y agoSorry, I didn't even get to the point of committing stuff :)
- daww 9y agoWe started porting it for the ESP32 but still are at a very early stage
- jononor 9y agoMainline support (in Rust proper) for ESP8266/ESP32 would require an Xtensa LLVM backend. There was some rumours about it being developed by ESP devs, but later cancelled. Not aware of any serious other attempts? I did find this, which has a single commit (but quite a lot of code): https://github.com/jdiez17/llvm-xtensa https://github.com/jdiez17/llvm-xtensa Without an LLVM backend, could the alternative Rust implementation mrustc that compiles Rust to C. It seems people are working on this for the ESP and having some success: https://github.com/emosenkis/esp-rs https://github.com/emosenkis/esp-rs
- icebraining 9y agoYeah, my idea was to write an Xtensa backend, but I think I'll need a few months just to understand enough of LLVM. Thanks for the links.