Тёмный

Rust on ESP32 - Getting started 

Floodplain: Streaming, Rust and Embedded
Подписаться 1,1 тыс.
Просмотров 20 тыс.
50% 1

In this video we'll connect a ESP32-C3 controller, create a Rust project from a template, and run a hello world.
All source code: github.com/flyaruu/rust-on-esp32

Наука

Опубликовано:

 

22 июл 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 22   
@user-zj7hw9vs2m
@user-zj7hw9vs2m 2 месяца назад
Sending a big thumbsupp here after finishing this tutorial. some adittions: 1) "cargo espflash board-info" shows you if you board is connected correctly. 2) Not all the target boards are available under the default selected rustc toolchain. command: "rustup toolchain list" shows you a list and allows you to change (rust-toolchain.toml) to esp for the xtensa processor support. stable-x86_64-unknown-linux-gnu nightly-x86_64-unknown-linux-gnu esp (default) (override)
@floodplainnl
@floodplainnl 2 месяца назад
Thanks for the tip. There was some bug in nightly (can't find the link now), and I either needed to roll back embassy versions or the rust toolchain. Rather than using dated-nightlies I switched to the esp-up chain for a while, which also works fine for RiscV
@AlizeuDev
@AlizeuDev 6 месяцев назад
straight to the point. cheers brother!
@randomhunter47
@randomhunter47 7 месяцев назад
Regular developer here. Subbed
@airman122469
@airman122469 7 месяцев назад
C is great. Don’t hate on C. Having said that, I really do like Rust. I wish the the Rust Foundation wasn’t so crap. But the language itself is pretty good.
@sherpya
@sherpya 6 месяцев назад
yes but is not a modern language and if you need to do something like string manipulations you will struggle at it, I known c, but I mainly use python because the development is faster and often you don't really need the c performance everywhere. I'm learning rust because it's a good compromise, particularly for dependencies
@thisisreallyme3130
@thisisreallyme3130 6 месяцев назад
I won't hate on C, or any other language. But the strengths of C do not include an inviting, inclusive user community with tons of novice-friendly handholding tutorials. There's just way too much stuff to remember with C (std lib functions that you're never supposed to use, or inconsistencies in the language itself). I don't think one can avoid C professionally with embedded, but the more "casual" coder will have a better experience in anything besides C.
@petrus_nierop_thaigertech
@petrus_nierop_thaigertech 11 месяцев назад
IDF stands for Iot Development Framework. It is not an OS. FreeRTOS is.
@floodplainnl
@floodplainnl 11 месяцев назад
thanks!
@lohikarhu734
@lohikarhu734 4 месяца назад
Sure would be nice to get the screens as big as possible...
@m23605
@m23605 6 месяцев назад
Thanks for the beginner friendly intro. I'm just starting with embedded stuff. Any chance of letting us know where you buy your kit from (trying to avoid fakes and scams)? Was a bit hard finding this video as there's a game called rust, which seems to be more popular than the language (this is what got me here in the end: rust esp -pvp -ban -cheat).
@floodplainnl
@floodplainnl 6 месяцев назад
I source most from Amazon and Aliexpress, and aside from one cable that simply didn't work, I haven't had any negative experiences.
@floodplainnl
@floodplainnl 6 месяцев назад
Never played the rust (the game), I guess you've confused the algorithm by looking at both ;-)
@samueleauteri9451
@samueleauteri9451 4 месяца назад
hi! I have a problem with openssl-sys --> failed to run custom build command for `openssl-sys v0.9.101`
@floodplainnl
@floodplainnl 4 месяца назад
I'll revisit some of the repo's, it's not super long ago but the rust / esp32 toolchains change quite a bit. Usually rolling back to an older version helps, but I'll have a look.
@JD_Manufacturing
@JD_Manufacturing 4 месяца назад
Im not trying to be cute or funny. I honestly would like to know what language would a good AI optimized for coding would use. I hear good things about RUST. Is rust just binart code that can be uploaded?
@floodplainnl
@floodplainnl 4 месяца назад
I really don't know. AI can write any language to an extent. Rust is relatively complicated and gives you more control, but if you want to give that control to an AI and not code at all, I'm not sure if that makes sense.
@alexon2010
@alexon2010 10 месяцев назад
Hello, I'm tired of trying to understand the best way to start developing with ESP32, I'm already a programmer I use Nodejs and React, but focused on the web, but I'm studying electronics because I like it a lot... in the case of ESP32, you have: NodeJS, IDF, Arduino, PlatformIO, everything is very confusing.... each platform determines a different way of writing code... since there is no standard... why not learn Rust + ESP32 then... I would like to use it ESP 32 only as a hardware communication interface... I want to bring the server to the Web, especially the Client, I already have it easy to create an interface with CSS and SVG.... But I'm not liking anything I've seen so far and I can't not even start
@floodplainnl
@floodplainnl 9 месяцев назад
Sorry for the delay. Yes, it is defnitely not easy. In general embedded programming is a bit more 'rough' than web programming, and if you are trying to do innovative stuff (that usually means using technologies in ways the designers never intended), you will be largely on your own and have to dig deep to figure it out.
@floodplainnl
@floodplainnl 9 месяцев назад
Still, for me that makes it interesting. Once technology is so mature it always is obvious how stuff is supposed to fit together it gets boring.
@thisisreallyme3130
@thisisreallyme3130 6 месяцев назад
It gets easier when you tackle a third language, at least that's what I am just finding now. I've wanted to learn Rust, but it looked harder, so I completed a book on Golang. But now I want to do things with ESP32 and networking (and presently, TinyGo language doesn't support ESP32 wifi device). The free "Rust book" is also very user-friendly. I would start with regular Rust on a PC or Mac, just to have a troubleshooting advantage if one of the libraries here breaks (as it did at 7:29). Good luck!
@WhatsTheWordBozo
@WhatsTheWordBozo Месяц назад
I will never understand why people use the most closed source operating system to use one of the most open source things out there which is code. Its like a 400 lb man giving lectures about how we should stop eating as much so we can donate more food to the homeless.
Далее
Rust on ESP32 - Adding WiFi
10:53
Просмотров 4,1 тыс.
6 Awesome Rust Projects (Open Source)
0:56
Просмотров 19 тыс.
why rust libraries may never exist.
7:26
Просмотров 229 тыс.
Rust on ESP32 - Creating an HTTP api
16:43
Просмотров 2 тыс.
How to Run Linux on an ESP32
18:53
Просмотров 150 тыс.
Blinking an LED: Embedded Rust ecosystem explored
17:14
YOU can Learn the ESP32 in 15 Minutes:  Hello World!
22:52
Getting Started with ESP32 - Step-By-Step Tutorial
19:50
You're missing out on building Rust Desktop Apps!
11:43
ИГРОВОВЫЙ НОУТ ASUS ЗА 57 тысяч
25:33