aboutsummaryrefslogtreecommitdiff
path: root/stmhal/Makefile
diff options
context:
space:
mode:
authorDamien George2015-08-03 00:23:47 +0100
committerDamien George2015-08-03 00:23:47 +0100
commit751485fe6b7eeb93f171c2f2b0417803f6e78c05 (patch)
tree3d6beaf4edd81161c7ee33a005bf157409ad4dcf /stmhal/Makefile
parenta632037866c55e04fe6d5c3f96e39067e4ad5579 (diff)
stmhal: Add support for USART1 and conditional pins in make-pins.py.
Thanks to Dave Hylands for the patch.
Diffstat (limited to 'stmhal/Makefile')
-rw-r--r--stmhal/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/stmhal/Makefile b/stmhal/Makefile
index 5d35bfa4d..80a7c503a 100644
--- a/stmhal/Makefile
+++ b/stmhal/Makefile
@@ -310,6 +310,10 @@ GEN_CDCINF_HEADER = $(HEADER_BUILD)/pybcdc_inf.h
# which source files might need it.
$(OBJ): | $(HEADER_BUILD)/pins.h
+# With conditional pins, we may need to regenerate qstrdefs.h when config
+# options change.
+$(HEADER_BUILD)/qstrdefs.generated.h: boards/$(BOARD)/mpconfigboard.h
+
$(BUILD)/main.o: $(GEN_CDCINF_HEADER)
# Use a pattern rule here so that make will only call make-pins.py once to make