Commit 2061167b authored by Johny Mattsson's avatar Johny Mattsson
Browse files

Add check for unresolved-but-unused symbols at build.

From what I can tell they *should* be harmless, but I'd rather we keep a
neat house in the first place.
parent e2fc37fa
......@@ -188,6 +188,7 @@ endef
$(BINODIR)/%.bin: $(IMAGEODIR)/%.out
@mkdir -p $(BINODIR)
@$(NM) $< | grep -w U && { echo "Firmware has unresolved (but unused) symbols - should be fixed nevertheless!"; exit 1; } || true
$(ESPTOOL) elf2image --flash_mode dio --flash_freq 40m $< -o $(FIRMWAREDIR)
#############################################################
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment