From 17a833c41b2580c1cd3ee47cfab17c43d11744d7 Mon Sep 17 00:00:00 2001 From: Artem-Nesterenko2005 <144232708+Artem-Nesterenko2005@users.noreply.github.com> Date: Tue, 29 Oct 2024 09:44:44 +0000 Subject: [PATCH] Fix Makefile, return esp32.ld file --- examples/c-examples/xtensa-esp32/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/c-examples/xtensa-esp32/Makefile b/examples/c-examples/xtensa-esp32/Makefile index 9eb2cf5..e9b4a62 100644 --- a/examples/c-examples/xtensa-esp32/Makefile +++ b/examples/c-examples/xtensa-esp32/Makefile @@ -14,6 +14,9 @@ LD = $(TOOLCHAIN)ld OC = $(TOOLCHAIN)objcopy OS = $(TOOLCHAIN)size +# Linker script location. +LDSCRIPT = ./ld/esp32.ld + # Set C/LD/AS flags. CFLAGS += $(INC) -Wall -Werror -std=gnu11 -nostdlib $(CFLAGS_PLATFORM) $(COPT) # (Allow access to the same memory location w/ different data widths.)