Skip to content

Commit

Permalink
[Telink] manual sync after merge master
Browse files Browse the repository at this point in the history
  • Loading branch information
s07641069 committed Feb 11, 2025
1 parent aeacc01 commit b82ba43
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 38 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/chef.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ concurrency:

env:
CHIP_NO_LOG_TIMESTAMPS: true
# Required to Update Zephyr SDK (for developers purpose)
TELINK_ZEPHYR_SDK_DIR: /opt/telink/zephyr-sdk-0.17.0

jobs:
chef_linux:
Expand Down Expand Up @@ -107,15 +105,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Update Zephyr SDK (for developers purpose)
run: |
set -e
cd /opt/telink
rm -rf zephyr-sdk-0.16.1
curl --location https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.17.0/zephyr-sdk-0.17.0_linux-x86_64_minimal.tar.xz --output zephyr-sdk-0.17.0_linux-x86_64_minimal.tar.xz
tar xvf zephyr-sdk-0.17.0_linux-x86_64_minimal.tar.xz
rm -rf zephyr-sdk-0.17.0_linux-x86_64_minimal.tar.xz
zephyr-sdk-0.17.0/setup.sh -t riscv64-zephyr-elf
- name: Checkout submodules & Bootstrap
uses: ./.github/actions/checkout-submodules-and-bootstrap
with:
Expand Down
12 changes: 0 additions & 12 deletions .github/workflows/examples-telink.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ concurrency:

env:
CHIP_NO_LOG_TIMESTAMPS: true
# Required to Update Zephyr SDK (for developers purpose)
TELINK_ZEPHYR_SDK_DIR: /opt/telink/zephyr-sdk-0.17.0

jobs:
telink:
Expand All @@ -49,16 +47,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Update Zephyr SDK (for developers purpose)
run: |
set -e
cd /opt/telink
rm -rf zephyr-sdk-0.16.1
curl --location https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.17.0/zephyr-sdk-0.17.0_linux-x86_64_minimal.tar.xz --output zephyr-sdk-0.17.0_linux-x86_64_minimal.tar.xz
tar xvf zephyr-sdk-0.17.0_linux-x86_64_minimal.tar.xz
rm -rf zephyr-sdk-0.17.0_linux-x86_64_minimal.tar.xz
zephyr-sdk-0.17.0/setup.sh -t riscv64-zephyr-elf
- name: Checkout submodules & Bootstrap
uses: ./.github/actions/checkout-submodules-and-bootstrap
with:
Expand Down
30 changes: 15 additions & 15 deletions config/telink/chip-module/Kconfig.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,8 @@ config CHIP_OTA_REQUESTOR
default y

config MCUBOOT_SIGNATURE_KEY_FILE
default "bootloader/mcuboot/root-ec-p256.pem" if BOARD_TLSR9118BDK40D || BOARD_TLSR9118BDK40D_V1
depends on BOOTLOADER_MCUBOOT
default "bootloader/mcuboot/root-ec-p256.pem" if BOARD_TLSR9118BDK40D || BOARD_TLSR9118BDK40D_V1
depends on BOOTLOADER_MCUBOOT

# In current config/zephyr/Kconfig
# next deprecated values are selected
Expand Down Expand Up @@ -341,16 +341,16 @@ config NET_CONFIG_INIT_TIMEOUT


config CHIP_WIFI
bool "Enable Telink Wi-Fi support"
default y if BOARD_TLSR9118BDK40D || BOARD_TLSR9118BDK40D_V1
select WIFI_W91
select WIFI
select NET_STATISTICS
select NET_IPV6_ND # enable Neighbor Discovery to handle Router Advertisements
select NET_IPV6_NBR_CACHE
select NET_STATISTICS_USER_API
imply MBEDTLS_ENTROPY_C
imply MBEDTLS_KEY_EXCHANGE_RSA_ENABLED
bool "Enable Telink Wi-Fi support"
default y if BOARD_TLSR9118BDK40D || BOARD_TLSR9118BDK40D_V1
select WIFI_W91
select WIFI
select NET_STATISTICS
select NET_IPV6_ND # enable Neighbor Discovery to handle Router Advertisements
select NET_IPV6_NBR_CACHE
select NET_STATISTICS_USER_API
imply MBEDTLS_ENTROPY_C
imply MBEDTLS_KEY_EXCHANGE_RSA_ENABLED

if CHIP_WIFI

Expand Down Expand Up @@ -405,10 +405,10 @@ config CHIP_WIFI_CONNECTION_RECOVERY_JITTER
within range [-JITTER; +JITTER].

config NET_MGMT_EVENT_STACK_SIZE
default 1250
default 1250

config IPC_SERVICE_BACKEND_ICMSG_WQ_STACK_SIZE
default 2304 if TELINK_W91_IPC_DISPATCHER
default 2304 if TELINK_W91_IPC_DISPATCHER

endif # CHIP_WIFI

Expand All @@ -427,7 +427,7 @@ config MBEDTLS_ENTROPY_POLL_ZEPHYR
default y

config MBEDTLS_CIPHER_AES_ENABLED
default y
default y

config MBEDTLS_CIPHER_CCM_ENABLED
default y
Expand Down

0 comments on commit b82ba43

Please sign in to comment.