Skip to content
Discussion options

You must be logged in to vote

Hardware Abstraction Layer (HAL) is a concept. It's the idea that you can abstract away exact hardware details and use abstract versions of the hardware instead. For example, we have an SD Card Capsule, which requires a SPI peripheral. But it can accept any SPI peripheral, not just a specific chip's implementation. In Tock, typically Capsules use abstractions like this, but we don't ever really point at anything and specifically call it "the HAL" in Tock.

Hardware Interface Layers (HILs) are specific traits that we use to abstract away hardware. I guess you could say they're the HALs? Or maybe them plus some capsule stuff? HILs are used to decouple capsules from chip-specific implementati…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@potto216
Comment options

@brghena
Comment options

Answer selected by brghena
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants