add flashing compatibility to MDR-U
This commit is contained in:
parent
9f35b7a8ef
commit
980f8dcbfe
|
@ -15,9 +15,9 @@ OBJ := $(patsubst %.c,%.o,$(SRC))
|
|||
|
||||
all: compile flash
|
||||
|
||||
# flash program (the board needs to power externally)
|
||||
# flash program (power the board externally since the PICkit2 might not provided enough current)
|
||||
flash: $(TARGET).hex
|
||||
pk2cmd -P PIC$(PIC) -F $< -M -W -R
|
||||
pk2cmd -P PIC$(PIC) -F $< -M -R
|
||||
|
||||
# compile stages
|
||||
assembly: $(ASM)
|
||||
|
|
Loading…
Reference in New Issue