Browse Source

add flash cart type to makefile

Thomas B 1 month ago
parent
commit
0c24e0b36d
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      Makefile

+ 3
- 2
Makefile View File

@@ -61,7 +61,8 @@ else
61 61
 	BUILD_TYPE = Release
62 62
 endif
63 63
 
64
-FLASHFLAGS := --mode dmg --action flash-rom
64
+FLASHCART := "DIY cart with MX29LV640 @ WR"
65
+FLASHFLAGS := --mode dmg --action flash-rom --flashcart-type $(FLASHCART)
65 66
 
66 67
 $(info BUILD_TYPE is $(BUILD_TYPE))
67 68
 
@@ -104,7 +105,7 @@ bgb_run: $(BUILD_DIR)/$(BIN)
104 105
 
105 106
 flash: $(BIN)
106 107
 	@echo Flasing $<
107
-	$(FLASHER) $(FLASHFLAGS) $<
108
+	@$(FLASHER) $(FLASHFLAGS) $<
108 109
 
109 110
 $(BUILD_DIR)/$(DATA_DIR)/%.c $(BUILD_DIR)/$(DATA_DIR)/%.h: $(DATA_DIR)/%.png
110 111
 	@mkdir -p $(@D)

Loading…
Cancel
Save