Skip to content

Commit 078b6aa

Browse files
authored
Merge branch 'espressif:master' into main
2 parents 9dc4958 + 59038b5 commit 078b6aa

24 files changed

+215
-144
lines changed

.github/workflows/cron.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ jobs:
3838
# - idf_branch: "release/v5.3"
3939
# lib_builder_branch: "release/v5.3"
4040
# targets: "esp32,esp32s2,esp32s3,esp32c3,esp32c6,esp32h2,esp32p4"
41-
- idf_branch: "release/v5.4"
42-
lib_builder_branch: "master"
43-
targets: "esp32,esp32s2,esp32s3,esp32c3,esp32c6,esp32h2,esp32p4"
41+
# - idf_branch: "release/v5.4"
42+
# lib_builder_branch: "release/v5.4"
43+
# targets: "esp32,esp32s2,esp32s3,esp32c3,esp32c6,esp32h2,esp32p4"
4444
- idf_branch: "release/v5.5"
45-
lib_builder_branch: "release/v5.5"
45+
lib_builder_branch: "master"
4646
targets: "esp32,esp32s2,esp32s3,esp32c3,esp32c6,esp32h2,esp32p4,esp32c5"

.github/workflows/push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
runs-on: ubuntu-latest
2727
strategy:
2828
matrix:
29-
target: [esp32, esp32s2, esp32s3, esp32c2, esp32c3, esp32c6, esp32h2, esp32p4]
29+
target: [esp32, esp32s2, esp32s3, esp32c2, esp32c3, esp32c6, esp32h2, esp32p4, esp32c5]
3030
fail-fast: false
3131
steps:
3232
- name: Checkout repository

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ for target_json in `jq -c '.targets[]' configs/builds.json`; do
226226
idf.py -DIDF_TARGET="$target" -DSDKCONFIG_DEFAULTS="$idf_libs_configs" idf-libs
227227
if [ $? -ne 0 ]; then exit 1; fi
228228

229-
if [ "$target" == "esp32s3" ]; then
229+
if [ "$target" == "esp32s3" ] || [ "$target" == "esp32p4" ]; then
230230
idf.py -DIDF_TARGET="$target" -DSDKCONFIG_DEFAULTS="$idf_libs_configs" srmodels_bin
231231
if [ $? -ne 0 ]; then exit 1; fi
232232
AR_SDK="$AR_TOOLS/esp32-arduino-libs/$target"

clean.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/bash
2+
rm -rf build dist managed_components out sdkconfig dependencies.lock

configs/builds.json

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"file":"libspi_flash.a",
55
"src":"build/esp-idf/spi_flash/libspi_flash.a",
66
"out":"lib/libspi_flash.a",
7-
"targets":["esp32","esp32c2","esp32c3","esp32s2","esp32s3","esp32c6","esp32h2","esp32p4"]
7+
"targets":["esp32","esp32c2","esp32c3","esp32s2","esp32s3","esp32c6","esp32h2","esp32p4","esp32c5"]
88
},
99
{
1010
"file":"libesp_psram.a",
@@ -45,7 +45,7 @@
4545
],
4646
"targets":[
4747
{
48-
"target": "esp32p4",
48+
"target": "esp32c5",
4949
"features":["qio_ram"],
5050
"idf_libs":["qio","80m"],
5151
"bootloaders":[
@@ -58,6 +58,20 @@
5858
["dio","80m"]
5959
]
6060
},
61+
{
62+
"target": "esp32p4",
63+
"features":["qio_ram","esp_sr"],
64+
"idf_libs":["qio","80m_200m"],
65+
"bootloaders":[
66+
["qio","80m_200m"],
67+
["dio","80m_200m"],
68+
["qio","40m_200m"],
69+
["dio","40m_200m"]
70+
],
71+
"mem_variants":[
72+
["dio","80m_200m"]
73+
]
74+
},
6175
{
6276
"target": "esp32c2",
6377
"skip": 1,

configs/defconfig.40m_200m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CONFIG_ESPTOOLPY_FLASHFREQ_40M=y
2+
CONFIG_SPIRAM_SPEED_200M=y

configs/defconfig.80m_200m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
2+
CONFIG_SPIRAM_SPEED_200M=y

configs/defconfig.common

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ CONFIG_LWIP_ETHARP_TRUST_IP_MAC=y
5757
CONFIG_LWIP_TCP_SYNMAXRTX=6
5858
CONFIG_LWIP_TCP_MSS=1436
5959
CONFIG_LWIP_TCP_RTO_TIME=3000
60+
CONFIG_LWIP_TCP_SACK_OUT=y
6061
CONFIG_LWIP_TCPIP_TASK_STACK_SIZE=4096
6162
CONFIG_LWIP_TCPIP_TASK_AFFINITY_CPU0=y
6263
CONFIG_LWIP_MAX_SOCKETS=16
@@ -111,6 +112,7 @@ CONFIG_DIAG_ENABLE_HEAP_METRICS=y
111112
CONFIG_DIAG_ENABLE_WIFI_METRICS=y
112113
CONFIG_DIAG_ENABLE_VARIABLES=y
113114
CONFIG_DIAG_ENABLE_NETWORK_VARIABLES=y
115+
CONFIG_DIAG_USE_EXTERNAL_LOG_WRAP=y
114116
CONFIG_ESP_COREDUMP_ENABLE=y
115117
CONFIG_ESP_COREDUMP_ENABLE_TO_FLASH=y
116118
CONFIG_ESP_COREDUMP_DATA_FORMAT_ELF=y
@@ -125,12 +127,17 @@ CONFIG_I2S_ISR_IRAM_SAFE=y
125127
# Matter Settings
126128
#
127129
# Disable Matter BLE
128-
CONFIG_ENABLE_CHIPOBLE=n
129130
CONFIG_USE_BLE_ONLY_FOR_COMMISSIONING=n
130131
# ESP Insights
131132
CONFIG_ENABLE_ESP_INSIGHTS_TRACE=n
132133
# Use compact attribute storage mode
133134
CONFIG_ESP_MATTER_NVS_USE_COMPACT_ATTR_STORAGE=y
135+
# Do not use minimal mDNS within Matter Core
136+
CONFIG_USE_MINIMAL_MDNS=n
137+
# Changes Matter Memory Allocation Mode to use the default malloc() that can use PSRAM is enabled
138+
CONFIG_ESP_MATTER_MEM_ALLOC_MODE_DEFAULT=y
139+
# Disable default mode that only allocates memory from DRAM
140+
CONFIG_ESP_MATTER_MEM_ALLOC_MODE_INTERNAL=n
134141

135142
#TinyUSB Config
136143
CONFIG_TINYUSB_CDC_MAX_PORTS=2

configs/defconfig.esp32

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,9 @@ CONFIG_TWAI_ERRATA_FIX_RX_FRAME_INVALID=y
2020
CONFIG_TWAI_ERRATA_FIX_RX_FIFO_CORRUPT=y
2121
CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK=y
2222
CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=4096
23+
24+
# Matter settings:
25+
CONFIG_ENABLE_CHIPOBLE=n
26+
# increase the maximum number of endpoints per device
27+
CONFIG_ESP_MATTER_MAX_DYNAMIC_ENDPOINT_COUNT=32
28+

configs/defconfig.esp32c2

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
CONFIG_XTAL_FREQ_26=y
22
CONFIG_XTAL_FREQ=26
33
CONFIG_BT_ENABLED=y
4-
CONFIG_BT_BLE_BLUFI_ENABLE=y
4+
CONFIG_BTDM_CTRL_MODE_BLE_ONLY=y
5+
CONFIG_BTDM_CTRL_MODE_BR_EDR_ONLY=n
6+
CONFIG_BTDM_CTRL_MODE_BTDM=n
7+
CONFIG_BT_BLUEDROID_ENABLED=n
8+
CONFIG_BT_NIMBLE_ENABLED=y
9+
CONFIG_BT_NIMBLE_BLUFI_ENABLE=y
10+
CONFIG_BT_NIMBLE_NVS_PERSIST=y
511
CONFIG_RTC_CLK_CAL_CYCLES=576
612
# CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU0 is not set
713
CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=2304

0 commit comments

Comments
 (0)