- Install arm-none-eabi toolchain for mac (GNU Arm Embedded Toolchain | Downloads โ Arm Developer)
- Install qemu
brew install qemu
- Go to test1(2 or 3) folder
- Run build.sh
Simple asm file that adds two numbers and store in register.
Simple asm file that copy .data from flash to RAM and adds them. Result is stored in RAM.
Integration with .asm and .c files. Handling of gcc specific sections (.text, .data, .rodata, .bss,). Special handling foir interapt vectors.
Same as test3 but with proper makefile. To run type make run
.
Make targets:
make
to build main.elfmake flash
to build flash binary (flash.bin)make run
to run qemu