Skip to content

Commit ec5edba

Browse files
committed
esp32: Update to latest ESP IDF version.
1 parent a5439a1 commit ec5edba

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

esp32/Makefile

Lines changed: 2 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 := c06cc31d85cc700e1dbddbe527d4282c4bc5845a
32+
ESPIDF_SUPHASH := 47b8f78cb0e15fa43647788a808dac353167a485
3333
ESPIDF_CURHASH := $(shell git -C $(ESPIDF) show -s --pretty=format:'%H')
3434
ifneq ($(ESPIDF_CURHASH),$(ESPIDF_SUPHASH))
3535
$(info ** WARNING **)
@@ -571,7 +571,7 @@ APP_LD_ARGS += -L$(dir $(LIBSTDCXX_FILE_NAME)) -lstdc++
571571
APP_LD_ARGS += $(ESPCOMP)/newlib/lib/libc.a
572572
APP_LD_ARGS += $(ESPCOMP)/newlib/lib/libm.a
573573
APP_LD_ARGS += $(ESPCOMP)/esp32/libhal.a
574-
APP_LD_ARGS += -L$(ESPCOMP)/esp32/lib -lcore -lnet80211 -lphy -lrtc -lrtc_clk -lpp -lwpa -lsmartconfig -lcoexist
574+
APP_LD_ARGS += -L$(ESPCOMP)/esp32/lib -lcore -lnet80211 -lphy -lrtc -lrtc_clk -lrtc_pm -lpp -lwpa -lsmartconfig -lcoexist
575575
APP_LD_ARGS += $(OBJ)
576576
APP_LD_ARGS += --end-group
577577

esp32/esp32.custom_common.ld

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ SECTIONS
7171
*(.init.literal)
7272
*(.init)
7373
_init_end = ABSOLUTE(.);
74+
75+
/* This goes here, not at top of linker script, so addr2line finds it last,
76+
and uses it in preference to the first symbol in IRAM */
77+
_iram_start = ABSOLUTE(0);
7478
} > iram0_0_seg
7579

7680
.iram0.text :
@@ -81,9 +85,11 @@ SECTIONS
8185
*freertos/*(.literal .text .literal.* .text.*)
8286
*esp32/panic.o(.literal .text .literal.* .text.*)
8387
*esp32/core_dump.o(.literal .text .literal.* .text.*)
88+
*esp32/heap_alloc_caps.o(.literal .text .literal.* .text.*)
8489
*libphy.a:(.literal .text .literal.* .text.*)
8590
*librtc.a:(.literal .text .literal.* .text.*)
8691
*librtc_clk.a:(.literal .text .literal.* .text.*)
92+
*librtc_pm.a:(.literal .text .literal.* .text.*)
8793
*libpp.a:pp.o(.literal .text .literal.* .text.*)
8894
*libpp.a:lmac.o(.literal .text .literal.* .text.*)
8995
*libpp.a:wdev.o(.literal .text .literal.* .text.*)
@@ -193,5 +199,11 @@ SECTIONS
193199
*(.gnu.version)
194200
_text_end = ABSOLUTE(.);
195201
_etext = .;
202+
203+
/* Similar to _iram_start, this symbol goes here so it is
204+
resolved by addr2line in preference to the first symbol in
205+
the flash.text segment.
206+
*/
207+
_flash_cache_start = ABSOLUTE(0);
196208
} >iram0_2_seg
197209
}

esp32/sdkconfig.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
#define CONFIG_ESP32_PHY_CALIBRATION_AND_DATA_STORAGE 1
1818
#define CONFIG_ESP32_WIFI_STATIC_RX_BUFFER_NUM 10
1919
#define CONFIG_ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM 0
20+
#define CONFIG_ESP32_WIFI_TX_BUFFER_TYPE 1
21+
#define CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER 1
2022
#define CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER_NUM 32
2123
#define CONFIG_NUMBER_OF_MAC_ADDRESS_GENERATED_FROM_EFUSE 4
2224

@@ -43,6 +45,9 @@
4345
#define CONFIG_BTC_TASK_STACK_SIZE 3072
4446
#define CONFIG_SYSTEM_EVENT_TASK_STACK_SIZE 4096
4547
#define CONFIG_SYSTEM_EVENT_QUEUE_SIZE 32
48+
#define CONFIG_TIMER_TASK_PRIORITY 1
49+
#define CONFIG_TIMER_TASK_STACK_DEPTH 2048
50+
#define CONFIG_TIMER_QUEUE_LENGTH 10
4651

4752
#define CONFIG_SECURE_BOOTLOADER_DISABLED 1
4853
#define CONFIG_NEWLIB_STDOUT_ADDCR 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