Skip to content

Commit c6307a3

Browse files
committed
esp32/Makefile: Updated to latest IDF
esp32/sdkconfig.h: Updated to latest IDF
1 parent 67d141c commit c6307a3

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

esp32/Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ ESPCOMP = $(ESPIDF)/components
2929
ESPTOOL ?= $(ESPCOMP)/esptool_py/esptool/esptool.py
3030

3131
# verify the ESP IDF version
32-
ESPIDF_SUPHASH := f73c6f875cc564fa6c9962be71eac4dbdc56aa63
32+
ESPIDF_SUPHASH := 1e0710f1b24429a316c9c34732aa17bd3f189421
3333
ESPIDF_CURHASH := $(shell git -C $(ESPIDF) show -s --pretty=format:'%H')
3434
ifneq ($(ESPIDF_CURHASH),$(ESPIDF_SUPHASH))
3535
$(info ** WARNING **)
@@ -204,6 +204,7 @@ ESPIDF_DRIVER_O = $(addprefix $(ESPCOMP)/driver/,\
204204
gpio.o \
205205
timer.o \
206206
spi_master.o \
207+
spi_common.o \
207208
rtc_module.o \
208209
)
209210

@@ -213,6 +214,7 @@ ESPIDF_ESP32_O = $(addprefix $(ESPCOMP)/esp32/,\
213214
event_default_handlers.o \
214215
task_wdt.o \
215216
cache_err_int.o \
217+
clk.o \
216218
core_dump.o \
217219
cpu_start.o \
218220
gdbstub.o \
@@ -222,7 +224,6 @@ ESPIDF_ESP32_O = $(addprefix $(ESPCOMP)/esp32/,\
222224
ipc.o \
223225
int_wdt.o \
224226
event_loop.o \
225-
cpu_freq.o \
226227
hwcrypto/sha.o \
227228
hwcrypto/aes.o \
228229
lib_printf.o \
@@ -231,6 +232,7 @@ ESPIDF_ESP32_O = $(addprefix $(ESPCOMP)/esp32/,\
231232
hw_random.o \
232233
phy_init.o \
233234
intr_alloc.o \
235+
dport_access.o \
234236
)
235237

236238
ESPIDF_SOC_O = $(addprefix $(ESPCOMP)/soc/,\
@@ -633,6 +635,7 @@ BOOTLOADER_OBJ = $(addprefix $(BUILD)/bootloader/$(ESPCOMP)/,\
633635
log/log.o \
634636
spi_flash/spi_flash_rom_patch.o \
635637
soc/esp32/rtc_clk.o \
638+
soc/esp32/rtc_time.o \
636639
micro-ecc/micro-ecc/uECC.o \
637640
bootloader/src/main/bootloader_start.o \
638641
)

esp32/sdkconfig.h

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
#define CONFIG_APP_OFFSET 0x10000
66

77
#define CONFIG_SPI_FLASH_ROM_DRIVER_PATCH 1
8+
#define CONFIG_FOUR_UNIVERSAL_MAC_ADDRESS y
9+
#define CONFIG_NUMBER_OF_UNIVERSAL_MAC_ADDRESS 4
10+
11+
#define CONFIG_TCPIP_TASK_STACK_SIZE 2560
812

913
#define CONFIG_ESP32_APPTRACE_DEST_NONE 1
1014
#define CONFIG_ESP32_PHY_AUTO_INIT 1
@@ -25,6 +29,10 @@
2529
#define CONFIG_ESP32_WIFI_TX_BUFFER_TYPE 1
2630
#define CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER 1
2731
#define CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER_NUM 32
32+
#define CONFIG_ESP32_XTAL_FREQ_AUTO y
33+
#define CONFIG_ESP32_XTAL_FREQ 0
34+
#define CONFIG_ESP32_RTC_CLK_CAL_CYCLES 1024
35+
2836
#define CONFIG_FOUR_MAC_ADDRESS_FROM_EFUSE 1
2937
#define CONFIG_NUMBER_OF_MAC_ADDRESS_GENERATED_FROM_EFUSE 4
3038

@@ -36,7 +44,6 @@
3644
#define CONFIG_TASK_WDT_CHECK_IDLE_TASK 0
3745
#define CONFIG_TASK_WDT_CHECK_IDLE_TASK_CPU1 0
3846

39-
#define CONFIG_FREERTOS_UNICORE 1
4047
#define CONFIG_FREERTOS_CORETIMER_0 1
4148
#define CONFIG_FREERTOS_HZ 100
4249
#define CONFIG_FREERTOS_ASSERT_FAIL_ABORT 1

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