CH552/project/jump_to_bl/Makefile

12 lines
322 B
Makefile
Raw Permalink Normal View History

2020-09-21 08:39:00 +02:00
jump_to_bl.bin: jump_to_bl.ihx
objcopy -I ihex -O binary jump_to_bl.ihx jump_to_bl.bin
jump_to_bl.ihx: jump_to_bl.c
sdcc -I. -mmcs51 --model-small --opt-code-speed jump_to_bl.c
clean:
rm -f *.asm *.ihx *.lk *.lst *.bin *.map *.mem *.rel *.rst *.sym
flash: jump_to_bl.bin
wchisptool -f jump_to_bl.bin -g