Skip to content

Commit

Permalink
[Telink] Adopt to latest Telink Zephyr
Browse files Browse the repository at this point in the history
  • Loading branch information
s07641069 committed Apr 29, 2024
1 parent 85fb3c4 commit dee3e11
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/chef.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
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 2fddf20fc83d26058b8fa45e18e27239ddbaa0a4"
run: scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py 36ba616c818ee4603f6195e977052180bb56b7ae"
- name: CI Examples Telink
shell: bash
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/examples-telink.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
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 2fddf20fc83d26058b8fa45e18e27239ddbaa0a4"
run: scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py 36ba616c818ee4603f6195e977052180bb56b7ae"

- name: Build example Telink (B92 retention) Air Quality Sensor App
run: |
Expand Down
22 changes: 21 additions & 1 deletion config/telink/chip-module/Kconfig.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -349,13 +349,33 @@ config CHIP_ENABLE_PAIRING_AUTOSTART
Opens the commissioning window automatically at application boot time if
the node is not yet commissioned.

# mbedTLS tweaks
# Configure MBEDTLS lib
config MBEDTLS
default y

config MBEDTLS_USER_CONFIG_ENABLE
default y

config MBEDTLS_USER_CONFIG_FILE
default "telink-mbedtls-config.h"

config MBEDTLS_CIPHER_CCM_ENABLED
default y

config MBEDTLS_PK_WRITE_C
default y

config MBEDTLS_ECP_C
default y

config MBEDTLS_ECP_DP_SECP256R1_ENABLED
default y

config MBEDTLS_ECDH_C
default y

config MBEDTLS_ECDSA_C
default y

# getopt version
config GETOPT_LONG
Expand Down

0 comments on commit dee3e11

Please sign in to comment.