Why Hardware Abstraction Layers are AMAZING #EmbeddedRust #UnsafeCode #InterruptDriven #Programming

preview_player
Показать описание

🔧💻⚠️ Curious about embedded rust code? 🤔 Learn why it inevitably includes unsafe code and how it differs from unsafe C. 🔄 Watch now to find out! #EmbeddedRust #UnsafeCode #InterruptDriven #Programming #techtips

🔥🔥🔥 SOCIALS 🔥🔥🔥
Рекомендации по теме
Комментарии
Автор

Where are these clips coming from? What video?

Dygear
Автор

Usually when writting embedded C without HALs you dont write hard coded addresses into the code but rather use defines from the CPU header. Therefore you do not run into the mentioned issue.
In low level control and safety applications, knowing what your code does exactly is much more important than extra portability offered by the HALs.

pavelsovicka
Автор

Love what you're doing bud. Haven't done embedded programming in a while, but going through all this gives me a sense of nostalgia reminding me of the journey

tommyflavio
Автор

In the case of STM32 at least using HAL is a big leap from using magic numbers, STM32 HAL is a giant software logic layer which also has plenty of bugs and doesn't map 1-to-1 to hardware logic. We've been using STM32 HAL where I work and more than once I had to rewrite a whole part using the LL stack that actually maps 1-to-1 to the hardware logic.

smlgd
Автор

Open the pod bay doors, Hardware Abstraction Layer

WilliamDye-willdye
Автор

This guy and people like him make my head explode. It's incredible. I have so much to learn.

kurtm
Автор

Very smart to have some sort of abstraction or facade. I guess this would also be good for any libraries, so they're easier to change later on.

seasong
Автор

TIL it's pronounced "hall". I always pronounced it in my head like that computer from 2001: A Space Odyssey.

SomeDudeInBaltimore
Автор

He's finally learning about abstraction 😮 will he make it to Haskell in his lifetime?

Evilope
Автор

I'm a HTML programmer and I approve this message

davidomar
Автор

This ones better because it has AI is the 2023 tech motto

koijoijoe
Автор

Its not a HALL... Its a HAL like HAL9000...
There's also OSAL... Operating system abstraction layer.

kayakMike
Автор

Speaking of HAL, I just read the embedded Rust HAL 1. 0 got released which should be good to look at

ragectl
Автор

@LowLevelLearning have you seen the embassy framework? I have been checking it out and I think it might become my preferred way to tinker with embedded rust from now on

zzzzzzzzzzzzzzzzzzzzzzzzzzzz__
Автор

This definitly doesnt fit into my understanding of React.js

Flappy
Автор

im a rust programmer and i got no idea what goin on💀

kawaleocode
Автор

You then should also not access by pins

platin
Автор

me when the board i have to use is no longer based on stm32f746 (address 0x80010004 no longer corresponds to gpio port a pin 5)

cerulityk
Автор

So basically you can copy all the addresses written in c, implement it in rust, compile it to hex, and run it in an arduino and it will work?

RunningRunner
Автор

This is at the most basic level what the ports and adaptors patern is (and where it originally came from)

adamgoldsmith