mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
Use structs for registers
This commit is contained in:
4
Makefile
4
Makefile
@@ -2,9 +2,9 @@ CC=arm-none-eabi-gcc
|
||||
LD=arm-none-eabi-ld.bfd
|
||||
GDB=arm-none-eabi-gdb
|
||||
OBJCOPY=arm-none-eabi-objcopy
|
||||
CFLAGS=-march=armv7e-m -mcpu=cortex-m4 -mthumb -std=c99 -g
|
||||
CFLAGS=-march=armv7e-m -mcpu=cortex-m4 -mthumb -std=c99 -g -Iarch/stm32f429
|
||||
|
||||
objs := boot/crt0.o src/blinky.o
|
||||
objs := boot/crt0.o src/blinky.o arch/stm32f429/registers.o
|
||||
|
||||
run: boot.elf
|
||||
$(GDB) -x gdb_script.gdb boot.elf
|
||||
|
||||
Reference in New Issue
Block a user