Skip to content

Commit cf76c35

Browse files
committed
Initial changes for IDF v5.5 and ESP32-C5
1 parent 43a1c25 commit cf76c35

File tree

5 files changed

+72
-4
lines changed

5 files changed

+72
-4
lines changed

Diff for: .github/workflows/cron.yml

+3
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,6 @@ jobs:
4141
- idf_branch: "release/v5.4"
4242
lib_builder_branch: "release/v5.4"
4343
targets: "esp32,esp32s2,esp32s3,esp32c3,esp32c6,esp32h2,esp32p4"
44+
- idf_branch: "master"
45+
lib_builder_branch: "release/v5.5"
46+
targets: "esp32,esp32s2,esp32s3,esp32c3,esp32c6,esp32h2,esp32p4,esp32c5"

Diff for: .github/workflows/push.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: ubuntu-latest
2626
strategy:
2727
matrix:
28-
target: [esp32, esp32s2, esp32s3, esp32c2, esp32c3, esp32c6, esp32h2, esp32p4]
28+
target: [esp32, esp32s2, esp32s3, esp32c2, esp32c3, esp32c6, esp32h2, esp32p4, esp32c5]
2929
fail-fast: false
3030
steps:
3131
- uses: actions/checkout@v4

Diff for: configs/builds.json

+15-1
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",
@@ -44,6 +44,20 @@
4444
}
4545
],
4646
"targets":[
47+
{
48+
"target": "esp32c5",
49+
"features":[],
50+
"idf_libs":["qio","80m"],
51+
"bootloaders":[
52+
["qio","80m"],
53+
["dio","80m"],
54+
["qio","40m"],
55+
["dio","40m"]
56+
],
57+
"mem_variants":[
58+
["dio","80m"]
59+
]
60+
},
4761
{
4862
"target": "esp32p4",
4963
"features":["qio_ram"],

Diff for: configs/defconfig.esp32c5

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
CONFIG_BT_ENABLED=y
2+
CONFIG_BT_BLE_BLUFI_ENABLE=y
3+
CONFIG_RTC_CLK_CAL_CYCLES=576
4+
# CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU0 is not set
5+
CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=2304
6+
# This Enables RISCV LP for C6 - but it can't be used within Arduino at this time.
7+
#CONFIG_ULP_COPROC_ENABLED=y
8+
#CONFIG_ULP_COPROC_LP_CORE=y
9+
#CONFIG_ULP_COPROC_RESERVE_MEM=4096
10+
11+
#
12+
# OpenThread
13+
#
14+
CONFIG_OPENTHREAD_ENABLED=y
15+
# Border Router disabled
16+
# CONFIG_OPENTHREAD_BORDER_ROUTER=y
17+
# CONFIG_OPENTHREAD_RADIO_SPINEL_UART=y
18+
19+
# DNS64 and NAT64 will be disabled for a while
20+
# OT IDF issue https://github.com/espressif/esp-idf/issues/15069
21+
# CONFIG_OPENTHREAD_DNS64_CLIENT=y
22+
23+
# Radio for RPC
24+
# CONFIG_OPENTHREAD_RADIO=y
25+
# CONFIG_OPENTHREAD_RADIO_NATIVE=y
26+
# CONFIG_OPENTHREAD_DIAG=n
27+
CONFIG_OPENTHREAD_COMMISSIONER=y
28+
CONFIG_OPENTHREAD_JOINER=y
29+
CONFIG_OPENTHREAD_CLI=y
30+
CONFIG_OPENTHREAD_SRP_CLIENT=y
31+
CONFIG_OPENTHREAD_DNS_CLIENT=y
32+
# Default dataset for quick start
33+
CONFIG_OPENTHREAD_NETWORK_NAME="OpenThread-ESP"
34+
CONFIG_OPENTHREAD_MESH_LOCAL_PREFIX="fd00:db8:a0:0::/64"
35+
CONFIG_OPENTHREAD_NETWORK_CHANNEL=15
36+
CONFIG_OPENTHREAD_NETWORK_PANID=0x1234
37+
CONFIG_OPENTHREAD_NETWORK_EXTPANID="dead00beef00cafe"
38+
CONFIG_OPENTHREAD_NETWORK_MASTERKEY="00112233445566778899aabbccddeeff"
39+
CONFIG_OPENTHREAD_NETWORK_PSKC="104810e2315100afd6bc9215a6bfac53"
40+
# end of OpenThread
41+
42+
# Matter shall use only WiFi
43+
CONFIG_ENABLE_MATTER_OVER_THREAD=n
44+
45+
#
46+
# Zigbee
47+
#
48+
CONFIG_ZB_ENABLED=y
49+
CONFIG_ZB_ZED=y
50+
CONFIG_ZB_RADIO_NATIVE=y
51+
# end of Zigbee

Diff for: tools/config.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ if [ -z $IDF_PATH ]; then
66
fi
77

88
if [ -z $IDF_BRANCH ]; then
9-
IDF_BRANCH="release/v5.4"
9+
IDF_BRANCH="master"
1010
fi
1111

1212
if [ -z $AR_PR_TARGET_BRANCH ]; then
13-
AR_PR_TARGET_BRANCH="release/v3.2.x"
13+
AR_PR_TARGET_BRANCH="release/v3.3.x"
1414
fi
1515

1616
if [ -z $IDF_TARGET ]; then

0 commit comments

Comments
 (0)