Skip to content

Commit dc311ca

Browse files
committed
bricks/stm32: Set hub name by type during deploy.
Also bump pybricksdev and fix Python version to match.
1 parent 4a6c3fa commit dc311ca

File tree

3 files changed

+466
-398
lines changed

3 files changed

+466
-398
lines changed

bricks/stm32/stm32.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ $(BUILD)/%.dfu: $(BUILD)/%.bin
658658
$(Q)$(PYTHON) $(DFU) -b $(TEXT0_ADDR):$< $@
659659

660660
deploy: $(BUILD)/firmware.zip
661-
$(Q)$(PYBRICKSDEV) flash $<
661+
$(Q)$(PYBRICKSDEV) flash $< --name $(PBIO_PLATFORM)
662662

663663
deploy-dfu-%: $(BUILD)/%.dfu
664664
$(ECHO) "Writing $< to the board"

0 commit comments

Comments
 (0)