From d108e4fcdcd1adae2d423421d8f3407a5a644aa9 Mon Sep 17 00:00:00 2001 From: Alex Tsitsiura Date: Wed, 29 May 2024 21:02:58 +0300 Subject: [PATCH] [Telink] Enable temporarry IPv4 & DHCPV4 Issue with IPv6 UDP bind & CHIP_IPV4 config --- .github/workflows/chef.yaml | 6 +++--- .github/workflows/examples-telink.yaml | 4 ++-- config/telink/chip-module/Kconfig.defaults | 4 +++- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/chef.yaml b/.github/workflows/chef.yaml index 77c1a21be6b388..5eb05a6c007da3 100644 --- a/.github/workflows/chef.yaml +++ b/.github/workflows/chef.yaml @@ -108,9 +108,9 @@ jobs: uses: ./.github/actions/checkout-submodules-and-bootstrap with: platform: telink - # - name: Update Zephyr to specific revision (for developers purpose) - # shell: bash - # run: scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py 0e8032dfef7e02498f34ba0b5d5d2df71a62adb1" + - name: Update Zephyr to specific revision (for developers purpose) + shell: bash + run: scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py 9874a7fcd01168662208c52297b859ed88a8d9fd" - name: CI Examples Telink shell: bash run: | diff --git a/.github/workflows/examples-telink.yaml b/.github/workflows/examples-telink.yaml index 6c836294381a0f..246513105e2aac 100644 --- a/.github/workflows/examples-telink.yaml +++ b/.github/workflows/examples-telink.yaml @@ -56,8 +56,8 @@ jobs: with: gh-context: ${{ toJson(github) }} - # - name: Update Zephyr to specific revision (for developers purpose) - # run: scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py 0e8032dfef7e02498f34ba0b5d5d2df71a62adb1" + - name: Update Zephyr to specific revision (for developers purpose) + run: scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py 9874a7fcd01168662208c52297b859ed88a8d9fd" - name: Build example Telink (B92 retention) Air Quality Sensor App run: | diff --git a/config/telink/chip-module/Kconfig.defaults b/config/telink/chip-module/Kconfig.defaults index c19b9121657ffe..df80fb6b01d413 100644 --- a/config/telink/chip-module/Kconfig.defaults +++ b/config/telink/chip-module/Kconfig.defaults @@ -303,7 +303,9 @@ config CHIP_WIFI select NET_IPV6_ND # enable Neighbor Discovery to handle Router Advertisements select NET_IPV6_NBR_CACHE select NET_STATISTICS_USER_API - select NET_IPV4 # TODO: remove when IPv6 will be ready + select NET_IPV4 # TODO: remove IPv4 when IPv6 will be ready (see CHIP_IPV4) + select NET_CONFIG_NEED_IPV4 + select NET_DHCPV4 if CHIP_WIFI