Skip to content
This repository was archived by the owner on Oct 28, 2023. It is now read-only.

Commit 9170311

Browse files
committed
Updated Makefile to support latest esp-idf changes
1 parent 57e890e commit 9170311

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

esp32/Makefile

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ ESPTOOL ?= $(ESPCOMP)/esptool_py/esptool/esptool.py
3131
BADGE = $(IDF_PATH)/..
3232

3333
# verify the ESP IDF version
34-
ESPIDF_SUPHASH := c9c8840c88f966e4c25e29051936abb46fac8bb3
34+
ESPIDF_SUPHASH := 4c62fb9c3f52bd3e753aed06208d14aef4d48a0b
3535
ESPIDF_CURHASH := $(shell git -C $(ESPIDF) show -s --pretty=format:'%H')
3636
ifneq ($(ESPIDF_CURHASH),$(ESPIDF_SUPHASH))
3737
$(info ** WARNING **)
@@ -96,6 +96,8 @@ INC += -I$(ESPCOMP)/freertos/include/freertos
9696
INC += -I$(ESPCOMP)/app_update/include
9797
INC += -I$(ESPCOMP)/bootloader_support/include_priv
9898
INC += -I$(ESPCOMP)/sdmmc/include
99+
INC += -I$(ESPCOMP)/heap/include
100+
INC += -I$(ESPCOMP)/soc/include
99101

100102
CFLAGS = -std=gnu99 -Os -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -Wall -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -DMBEDTLS_CONFIG_FILE='"mbedtls/esp_config.h"' -DHAVE_CONFIG_H -DESP_PLATFORM $(INC)
101103
CFLAGS += -DIDF_VER=\"$(IDF_VER)\"
@@ -253,7 +255,6 @@ ESPIDF_ESP32_O = $(addprefix $(ESPCOMP)/esp32/,\
253255
gdbstub.o \
254256
crosscore_int.o \
255257
deep_sleep.o \
256-
heap_alloc_caps.o \
257258
ipc.o \
258259
int_wdt.o \
259260
event_loop.o \
@@ -266,16 +267,23 @@ ESPIDF_ESP32_O = $(addprefix $(ESPCOMP)/esp32/,\
266267
phy_init.o \
267268
intr_alloc.o \
268269
dport_access.o \
270+
brownout.o \
271+
)
272+
273+
ESPIDF_HEAP_O = $(addprefix $(ESPCOMP)/heap/,\
274+
heap_caps.o \
275+
heap_caps_init.o \
276+
multi_heap.o \
269277
)
270278

271279
ESPIDF_SOC_O = $(addprefix $(ESPCOMP)/soc/,\
272-
esp32/brownout.o \
273280
esp32/cpu_util.o \
274281
esp32/rtc_clk.o \
275282
esp32/rtc_init.o \
276283
esp32/rtc_pm.o \
277284
esp32/rtc_sleep.o \
278285
esp32/rtc_time.o \
286+
esp32/soc_memory_layout.o \
279287
)
280288

281289
ESPIDF_CXX_O = $(addprefix $(ESPCOMP)/cxx/,\
@@ -325,8 +333,6 @@ ESPIDF_FREERTOS_O = $(addprefix $(ESPCOMP)/freertos/,\
325333
croutine.o \
326334
event_groups.o \
327335
FreeRTOS-openocd.o \
328-
heap_regions_debug.o \
329-
heap_regions.o \
330336
list.o \
331337
portasm.o \
332338
port.o \
@@ -622,6 +628,7 @@ OBJ_ESPIDF += $(addprefix $(BUILD)/, $(ESPIDF_WPA_SUPPLICANT_O))
622628
OBJ_ESPIDF += $(addprefix $(BUILD)/, $(ESPIDF_APP_UPDATE_O))
623629
OBJ_ESPIDF += $(addprefix $(BUILD)/, $(ESPIDF_BOOTLOADER_O))
624630
OBJ_ESPIDF += $(addprefix $(BUILD)/, $(ESPIDF_SDMMC_O))
631+
OBJ_ESPIDF += $(addprefix $(BUILD)/, $(ESPIDF_HEAP_O))
625632

626633
####################
627634
# Badge magic

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