mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
Add rtl837x_regs.h register header
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user