Skip to content

Commit cc815cf

Browse files
authored
Merge branch 'espressif:release/v5.5' into release/v5.5
2 parents 450e1ca + fec9e98 commit cc815cf

File tree

10 files changed

+51
-16
lines changed

10 files changed

+51
-16
lines changed

.github/workflows/docker.yml

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,47 +26,52 @@ jobs:
2626
name: Build docker image and push if needed
2727
runs-on: ubuntu-latest
2828
steps:
29+
- name: Checkout
30+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
31+
2932
# Depending on the branch/tag, set CLONE_BRANCH_OR_TAG variable (used in the Dockerfile
30-
# as a build arg) and TAG_NAME (used when tagging the image).
33+
# as a build arg) and DOCKER_TAGS (used when tagging the image).
3134
#
3235
# The following 3 steps cover the alternatives (tag, release branch, master branch):
3336
- name: Set variables (tags)
3437
if: ${{ github.ref_type == 'tag' }}
3538
run: |
3639
echo "CLONE_BRANCH_OR_TAG=$GITHUB_REF_NAME" >> $GITHUB_ENV
37-
echo "TAG_NAME=$GITHUB_REF_NAME" >> $GITHUB_ENV
40+
echo "DOCKER_TAGS=${{ env.DOCKERHUB_REPO }}:$GITHUB_REF_NAME" >> $GITHUB_ENV
3841
echo "URL=${{ github.server_url }}/${{ github.repository }}.git" >> $GITHUB_ENV
3942
4043
- name: Set variables (release branches)
4144
if: ${{ github.ref_type == 'branch' && startsWith(github.ref_name, 'release/') }}
4245
run: |
4346
echo "CLONE_BRANCH_OR_TAG=$GITHUB_REF_NAME" >> $GITHUB_ENV
44-
echo "TAG_NAME=release-${GITHUB_REF_NAME##release/}" >> $GITHUB_ENV
47+
echo "DOCKER_TAGS=${{ env.DOCKERHUB_REPO }}:release-${GITHUB_REF_NAME##release/}" >> $GITHUB_ENV
4548
echo "URL=${{ github.server_url }}/${{ github.repository }}.git" >> $GITHUB_ENV
4649
4750
- name: Set variables (main branch)
4851
if: ${{ github.ref_type == 'branch' && github.ref_name == 'master' }}
4952
run: |
53+
source ./tools/config.sh
5054
echo "CLONE_BRANCH_OR_TAG=master" >> $GITHUB_ENV
51-
echo "TAG_NAME=latest" >> $GITHUB_ENV
55+
echo "DOCKER_TAGS<<EOF" >> $GITHUB_ENV
56+
echo "${{ env.DOCKERHUB_REPO }}:latest" >> $GITHUB_ENV
57+
echo "${{ env.DOCKERHUB_REPO }}:release-${IDF_BRANCH##release/}" >> $GITHUB_ENV
58+
echo "EOF" >> $GITHUB_ENV
5259
echo "URL=${{ github.server_url }}/${{ github.repository }}.git" >> $GITHUB_ENV
5360
5461
- name: Set variables (pull requests)
5562
if: ${{ github.event_name == 'pull_request' }}
5663
run: |
5764
echo "CLONE_BRANCH_OR_TAG=${{ github.event.pull_request.head.ref }}" >> $GITHUB_ENV
58-
echo "TAG_NAME=PR_${{ github.event.number }}" >> $GITHUB_ENV
65+
echo "DOCKER_TAGS=${{ env.DOCKERHUB_REPO }}:PR_${{ github.event.number }}" >> $GITHUB_ENV
5966
echo "URL=${{ github.server_url }}/${{ github.event.pull_request.head.repo.full_name }}.git" >> $GITHUB_ENV
6067
6168
# Display the variables set above, just in case.
6269
- name: Check variables
6370
run: |
6471
echo "CLONE_BRANCH_OR_TAG: $CLONE_BRANCH_OR_TAG"
65-
echo "TAG_NAME: $TAG_NAME"
6672
echo "URL: $URL"
67-
68-
- name: Checkout
69-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
73+
echo "DOCKER_TAGS:"
74+
echo "$DOCKER_TAGS"
7075
7176
- name: Login to Docker Hub
7277
if: ${{ github.event_name == 'push' }}
@@ -86,7 +91,8 @@ jobs:
8691
with:
8792
context: tools/docker
8893
push: ${{ github.event_name == 'push' }}
89-
tags: ${{ env.DOCKERHUB_REPO }}:${{ env.TAG_NAME }}
94+
tags: |
95+
${{ env.DOCKER_TAGS }}
9096
platforms: ${{ env.BUILD_PLATFORMS }}
9197
build-args: |
9298
LIBBUILDER_CLONE_URL=${{ env.URL }}

configs/defconfig.common

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,13 @@ CONFIG_I2S_ISR_IRAM_SAFE=y
125125
# Matter Settings
126126
#
127127
# Disable Matter BLE
128-
CONFIG_ENABLE_CHIPOBLE=n
129128
CONFIG_USE_BLE_ONLY_FOR_COMMISSIONING=n
130129
# ESP Insights
131130
CONFIG_ENABLE_ESP_INSIGHTS_TRACE=n
132131
# Use compact attribute storage mode
133132
CONFIG_ESP_MATTER_NVS_USE_COMPACT_ATTR_STORAGE=y
133+
# Do not use minimal mDNS within Matter Core
134+
CONFIG_USE_MINIMAL_MDNS=n
134135

135136
#TinyUSB Config
136137
CONFIG_TINYUSB_CDC_MAX_PORTS=2

configs/defconfig.esp32

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,6 @@ 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

configs/defconfig.esp32c3

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ CONFIG_ESP_WIFI_SCAN_CACHE=y
1212
CONFIG_ESP_WIFI_MBO_SUPPORT=y
1313
CONFIG_ESP_WIFI_11R_SUPPORT=y
1414
CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=4096
15+
16+
# Matter settings:
17+
CONFIG_ENABLE_CHIPOBLE=y

configs/defconfig.esp32c5

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,13 @@ CONFIG_OPENTHREAD_NETWORK_MASTERKEY="00112233445566778899aabbccddeeff"
5050
CONFIG_OPENTHREAD_NETWORK_PSKC="104810e2315100afd6bc9215a6bfac53"
5151
# end of OpenThread
5252

53-
# Matter shall use only WiFi
54-
CONFIG_ENABLE_MATTER_OVER_THREAD=n
53+
# ESP32-C5 fails when ESP Matter 1.4.1 is used. Try this latter with some other IDF 5.5 commit
54+
# Matter settings: WiFi and OpenThread + CHIPoBLE
55+
# CONFIG_ENABLE_CHIPOBLE=y
56+
# CONFIG_ENABLE_MATTER_OVER_THREAD=y
57+
# Set endpoint id for Thread and Wi-Fi, depending on the secondary network interface endpoint id.
58+
# CONFIG_THREAD_NETWORK_ENDPOINT_ID=2
59+
# CONFIG_WIFI_NETWORK_ENDPOINT_ID=0
5560

5661
#
5762
# Zigbee

configs/defconfig.esp32c6

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,12 @@ CONFIG_OPENTHREAD_NETWORK_MASTERKEY="00112233445566778899aabbccddeeff"
4444
CONFIG_OPENTHREAD_NETWORK_PSKC="104810e2315100afd6bc9215a6bfac53"
4545
# end of OpenThread
4646

47-
# Matter shall use only WiFi
48-
CONFIG_ENABLE_MATTER_OVER_THREAD=n
47+
# Matter settings: WiFi and OpenThread + CHIPoBLE
48+
CONFIG_ENABLE_CHIPOBLE=y
49+
CONFIG_ENABLE_MATTER_OVER_THREAD=y
50+
# Set endpoint id for Thread and Wi-Fi, depending on the secondary network interface endpoint id.
51+
CONFIG_THREAD_NETWORK_ENDPOINT_ID=2
52+
CONFIG_WIFI_NETWORK_ENDPOINT_ID=0
4953

5054
#
5155
# Zigbee

configs/defconfig.esp32h2

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@ CONFIG_OPENTHREAD_NETWORK_MASTERKEY="00112233445566778899aabbccddeeff"
4040
CONFIG_OPENTHREAD_NETWORK_PSKC="104810e2315100afd6bc9215a6bfac53"
4141
# end of OpenThread
4242

43+
# Matter settings: OpenThread + CHIPoBLE
44+
CONFIG_ENABLE_CHIPOBLE=y
45+
CONFIG_ENABLE_MATTER_OVER_THREAD=y
46+
# Disable Matter over WiFi
47+
CONFIG_ENABLE_WIFI_AP=n
48+
CONFIG_ENABLE_WIFI_STATION=n
49+
4350
#
4451
# Zigbee
4552
#

configs/defconfig.esp32s2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,6 @@ CONFIG_ULP_COPROC_ENABLED=y
1515
CONFIG_ULP_COPROC_TYPE_FSM=y
1616
# CONFIG_ULP_COPROC_TYPE_RISCV=y
1717
CONFIG_ULP_COPROC_RESERVE_MEM=512
18+
19+
# Matter settings:
20+
CONFIG_ENABLE_CHIPOBLE=n

configs/defconfig.esp32s3

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,6 @@ CONFIG_ULP_COPROC_RESERVE_MEM=512
2626
# RGB Display Optimizations
2727
# CONFIG_LCD_RGB_ISR_IRAM_SAFE is not set
2828
CONFIG_LCD_RGB_RESTART_IN_VSYNC=y
29+
30+
# Matter settings:
31+
CONFIG_ENABLE_CHIPOBLE=y

main/idf_component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ dependencies:
2020
version: "1.4.1"
2121
require: public
2222
rules:
23-
- if: "target not in [esp32c2, esp32h2, esp32p4]"
23+
- if: "target not in [esp32c2, esp32c5, esp32p4]"

0 commit comments

Comments
 (0)