Add rtl837x_regs.h register header

This commit is contained in:
logicog
2025-06-12 20:31:53 +02:00
parent c7965d048e
commit 86aebcbf08
2 changed files with 27 additions and 7 deletions
+4 -1
View File
@@ -5,7 +5,7 @@ CC_FLAGS = -mmcs51
ASM = sdas8051
AFLAGS= -plosgff
all: rtlplayground.bin
all: rtlplayground.bin injector
SRCS= rtlplayground.c rtl837x_flash.c
OBJS= ${SRCS:.c=.rel}
@@ -33,5 +33,8 @@ rtlplayground.ihx: crtstart.rel $(OBJS)
echo "0000000: 00 40" | xxd -r - $@
cat $< >> $@
injector: injector.c
gcc $^ -o $@
.PHONY: clean all
.PRECIOUS: %.rel %.ihx