We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5086533 commit 778a7d0Copy full SHA for 778a7d0
1 file changed
Makefile
@@ -98,6 +98,10 @@ $(MPY_DIR):
98
99
.PHONY: firmware
100
firmware: $(MPY_DIR) ## Build MicroPython firmware with current drivers
101
+ @if [ ! -f "$(MPY_DIR)/lib/micropython-lib/README.md" ]; then \
102
+ echo "Initializing submodules for $(BOARD)..."; \
103
+ cd $(CURDIR)/$(MPY_DIR)/ports/stm32 && $(MAKE) BOARD=$(BOARD) submodules; \
104
+ fi
105
@echo "Linking local drivers..."
106
rm -rf $(CURDIR)/$(MPY_DIR)/lib/micropython-steami-lib
107
ln -s $(CURDIR) $(CURDIR)/$(MPY_DIR)/lib/micropython-steami-lib
0 commit comments