Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

What's a Reset Handler?

The first line of code in our Application Firmware is in neither Rust nor C... It's in Arm Assembly Code. This is part of the Reset Handler function.

The Reset Handler is executed upon power up, after the Bootloader, just before our Rust application.

Reset Handler performs low-level functions (like initialising the RAM) which are best done in Assembly Code instead of C or Rust.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.