Skip to content

Commit 75e676d

Browse files
committed
esp32/Makefile: Use locally built versions of freertos and newlib libs.
1 parent ada98ec commit 75e676d

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

esp32/Makefile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ LDFLAGS += -L$(ESPIDF)/components/esp32/ld -T $(BUILD)/esp32_out.ld -T esp32.com
7878

7979
LIBGCC_FILE_NAME = $(shell $(CC) $(CFLAGS) -print-libgcc-file-name)
8080

81-
IDFLIB = $(ESPIDF)/examples/01_hello_world/build
8281
LIBS =
8382
LIBS += $(LDFLAGS_MOD)
8483
LIBS += --start-group
@@ -87,16 +86,14 @@ LIBS += $(addprefix $(BUILD)/, $(ESPIDF_ESP32_O))
8786
LIBS += $(ESPIDF)/components/esp32/libhal.a
8887
LIBS += -L$(ESPIDF)/components/esp32/lib -lcore -lnet80211 -lphy -lrtc -lpp -lwpa -lsmartconfig -lcoexist
8988
LIBS += $(addprefix $(BUILD)/, $(ESPIDF_EXPAT_O))
90-
LIBS += $(IDFLIB)/freertos/libfreertos.a
91-
#LIBS += $(addprefix $(BUILD)/, $(ESPIDF_FREERTOS_O))
89+
LIBS += $(addprefix $(BUILD)/, $(ESPIDF_FREERTOS_O))
9290
LIBS += $(addprefix $(BUILD)/, $(ESPIDF_JSON_O))
9391
LIBS += $(addprefix $(BUILD)/, $(ESPIDF_LOG_O))
9492
LIBS += $(addprefix $(BUILD)/, $(ESPIDF_LWIP_O))
9593
LIBS += $(addprefix $(BUILD)/, $(ESPIDF_MBEDTLS_O))
9694
LIBS += $(ESPIDF)/components/newlib/lib/libc.a
9795
LIBS += $(ESPIDF)/components/newlib/lib/libm.a
98-
LIBS += $(IDFLIB)/newlib/libnewlib.a
99-
#LIBS += $(addprefix $(BUILD)/, $(ESPIDF_NEWLIB_O))
96+
LIBS += $(addprefix $(BUILD)/, $(ESPIDF_NEWLIB_O))
10097
LIBS += $(addprefix $(BUILD)/, $(ESPIDF_NGHTTP_O))
10198
LIBS += $(addprefix $(BUILD)/, $(ESPIDF_NVSFL_O))
10299
LIBS += $(addprefix $(BUILD)/, $(ESPIDF_OPENSSL_O))

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy