|
@@ -74,7 +74,7 @@ INCLUDES := -I$(COREDIR) -I$(VARIANTLIB) -I$(ENERGIALIB)
|
|
|
#_______________________________________________________________________________
|
|
#_______________________________________________________________________________
|
|
|
# RULES
|
|
# RULES
|
|
|
|
|
|
|
|
-.PHONY: all binary upload clean boards monitor size
|
|
|
|
|
|
|
+.PHONY: all binary upload clean boards monitor size upload_monitor
|
|
|
|
|
|
|
|
all: binary
|
|
all: binary
|
|
|
|
|
|
|
@@ -84,7 +84,6 @@ upload: binary size
|
|
|
@echo "Uploading to board..."
|
|
@echo "Uploading to board..."
|
|
|
cd $(TOOLDIR) && $(UPLOADER) $(SERIALDEV) $(BIN)
|
|
cd $(TOOLDIR) && $(UPLOADER) $(SERIALDEV) $(BIN)
|
|
|
|
|
|
|
|
-
|
|
|
|
|
clean:
|
|
clean:
|
|
|
rm -irf $(BUILDDIR)
|
|
rm -irf $(BUILDDIR)
|
|
|
|
|
|
|
@@ -101,6 +100,7 @@ monitor:
|
|
|
size: $(EFI)
|
|
size: $(EFI)
|
|
|
$(info Binary sketch size: $(word 7, $(shell $(SIZE) $(EFI))) bytes (of a $(BOARD_FLASH_SIZE) byte maximum))
|
|
$(info Binary sketch size: $(word 7, $(shell $(SIZE) $(EFI))) bytes (of a $(BOARD_FLASH_SIZE) byte maximum))
|
|
|
|
|
|
|
|
|
|
+upload_monitor: upload monitor
|
|
|
|
|
|
|
|
# building the target
|
|
# building the target
|
|
|
$(BIN): $(EFI)
|
|
$(BIN): $(EFI)
|