Skip to content

Commit 703fb42

Browse files
committed
Examples build updates
1 parent 0a6bc70 commit 703fb42

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/avr/basic_usage/build/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ build: $(PRJ).bin
140140
@echo "ADDRESS SIZE FUNCTION FILE:LINE\n" > memory_program.txt
141141
@$(NM) $(PRJ).elf >> memory_program.txt
142142
@chmod +x $(BUILDDIR)/../tools/*
143-
@../tools/memusageram $(BUILDDIR)/memory_ram.txt >/dev/null 2>&1
143+
@$(BUILDDIR)/../tools/memusageram $(BUILDDIR)/memory_ram.txt >/dev/null 2>&1
144144
@rm -f $(BUILDDIR)/*.su
145145
@mkdir -p $(BUILDDIR)/obj
146146
@mv $(BUILDDIR)/*.o $(BUILDDIR)/obj/
@@ -150,7 +150,7 @@ build: $(PRJ).bin
150150
else\
151151
echo "Application Built";\
152152
fi
153-
@../tools/binary_size $(PRJ).bin
153+
@$(BUILDDIR)/../tools/binary_size $(PRJ).bin
154154
@echo ""
155155

156156
# Target: make clean (remove all previously builds)

examples/linux/basic_usage/build/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,12 @@ build: $(PRJ).bin
9090
@echo "ADDRESS SIZE FUNCTION FILE:LINE\n" > memory_program.txt
9191
@$(NM) $(PRJ).elf >> memory_program.txt
9292
@chmod +x $(BUILDDIR)/../tools/*
93-
@../tools/memusageram $(BUILDDIR)/memory_ram.txt >/dev/null 2>&1
93+
@$(BUILDDIR)/../tools/memusageram $(BUILDDIR)/memory_ram.txt >/dev/null 2>&1
9494
@rm -f $(BUILDDIR)/*.su
9595
@mkdir -p $(BUILDDIR)/obj
9696
@mv $(BUILDDIR)/*.o $(BUILDDIR)/obj/
9797
$(SIZE) $(PRJ).elf
98-
@../tools/binary_size $(PRJ).bin
98+
@$(BUILDDIR)/../tools/binary_size $(PRJ).bin
9999
@echo ""
100100

101101
# Target: make clean (remove all previously builds)

0 commit comments

Comments
 (0)