Skip to content
Snippets Groups Projects
Commit 024e6237 authored by Henrik Tjäder's avatar Henrik Tjäder
Browse files

First draft of barebones readme

parent 9c86686d
No related branches found
No related tags found
No related merge requests found
XP-el Mikroprocessorprogrammeringskurs (MPPK)
=============================================
# Introduction
Embedded systems are everywhere.
Use-cases ranges from heavy industry to tiny sensors in your everyday life.
# Hardware
## ARM
While your laptop/stationary computer most likely runs some `x86_64` CPU architecture,
odds are your mobile phone is powered by an ARM processor.
The ARM family of Reduced Instruction Set Computing (RISC) architectures is one of the most prevalent processor architectures.
For more information: https://en.wikipedia.org/wiki/ARM_architecture
## Registers, IO
A typical way to access and interface with the hardware connected to your microcontroller is by accessing various registers, which is memory regions mapped to some hardware.
# Software
In order to instruct the hardware some sort of software is required.
Software is the instructions for the ARM-processor, telling it which registers and what memory to modify.
## Compiler
## Toolchain
### Git
### Cargo-binutils
```
rustup component add llvm-tools-preview
```
### GDB / LLDB
## Rust
Installation
https://rustup.rs/
# Bare-metal programming
## OpenOCD
## ST-link
## Blackmagic probe
## GDB / LLDB Debugger
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment