24 lines
884 B
Markdown
24 lines
884 B
Markdown
|
# TDT 4160 Solutions Autumn 2021
|
||
|
|
||
|
In order to build this code, you will need to have the following installed:
|
||
|
|
||
|
- Simplicity Studio
|
||
|
- The `EFM32GG-STK3700` adapter for Simplicity Studio
|
||
|
- GNU Make (haven't tested BSD Make)
|
||
|
|
||
|
For the assembly and C exercises, I'm using the makefile to build and flash the program to the Gecko Board.
|
||
|
|
||
|
```bash
|
||
|
cd o1 # or o2 / o3
|
||
|
make all
|
||
|
make flash
|
||
|
```
|
||
|
|
||
|
In order for the commands above to succeed, you might need to edit the makefile to point at your Simplicity Studio install.
|
||
|
The original makefile expected Simplicity Studio 3.
|
||
|
The paths is currently configured to point at Simplicity Studio 5, installed at `/opt/simplicitystudio5`.
|
||
|
The original makefiles are stored as `Makefile.original`, in order to make them easy to diff.
|
||
|
|
||
|
## Assembly cheatsheet from Azeria Labs
|
||
|
|
||
|

|