M4 RTOS loader ready

This commit is contained in:
2021-11-30 22:56:47 +09:00
committed by Takumi Sueda
parent 3de439eb6f
commit 0a091e3515
3 changed files with 93 additions and 1 deletions

View File

@@ -4,7 +4,7 @@ CC:=$(CROSS_COMPILE)gcc
STRIP:=$(CROSS_COMPILE)strip
.PHONY:
all: AppMain.bin
all: AppMain.bin m4_loader.bin
.PHONY:
clean:
@@ -13,3 +13,7 @@ clean:
AppMain.bin:
@$(AS) main.S -o main.elf
@./extract.py -p main.elf AppMain.bin
m4_loader.bin:
@$(AS) m4_loader.S -mcpu=cortex-m4 -o m4_loader.elf
@./extract.py -p m4_loader.elf m4_loader.bin