Show image.jpg when switching fb address

This commit is contained in:
Takumi Sueda
2022-02-21 06:29:21 +09:00
parent 4cb07e77bb
commit 4b5601c738
4 changed files with 42 additions and 3 deletions

View File

@@ -8,10 +8,13 @@ all: AppMain.bin m4_loader.bin
.PHONY:
clean:
@rm -f *.bin *.elf
@rm -f *.bin *.elf pixels.c
AppMain.bin:
@$(AS) main.S -o main.elf
pixels.c:
@python3 img2c.py image.jpg pixels.c
AppMain.bin: pixels.c
@$(CC) -nostdlib -static -fPIC -mcpu=cortex-a7 main.S pixels.c -o main.elf
@./extract.py -p main.elf AppMain.bin
m4_loader.bin: