Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Telink] Add Thread Optimization Configs #389

Merged
merged 4 commits into from
Mar 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/chef.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,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 5e1c91c9fb0c0a9b32bb075283e5f7cb77606d74"
run: scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py e8f404c8dd3ddca76e862fbfd395f2b38fabc8b5"
- 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 @@ -58,7 +58,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 5e1c91c9fb0c0a9b32bb075283e5f7cb77606d74"
run: scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py e8f404c8dd3ddca76e862fbfd395f2b38fabc8b5"

- name: Build example Telink (B92 retention) Air Quality Sensor App
# Run test for master and s07641069 PRs
Expand Down
17 changes: 16 additions & 1 deletion config/telink/chip-module/Kconfig.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ config HEAP_MEM_POOL_SIZE
default 1280

config COMMON_LIBC_MALLOC_ARENA_SIZE
default 20716 if SOC_SERIES_RISCV_TELINK_B9X_RETENTION || (SOC_RISCV_TELINK_TL321X && ZEPHYR_VERSION_3_3)
default 20716 if SOC_SERIES_RISCV_TELINK_B9X_RETENTION || \
(SOC_RISCV_TELINK_TL321X && ZEPHYR_VERSION_3_3) || \
(SOC_RISCV_TELINK_TL721X && SOC_SERIES_RISCV_TELINK_TLX_RETENTION)
default 16384 if SOC_RISCV_TELINK_TL721X || (SOC_RISCV_TELINK_TL321X && !ZEPHYR_VERSION_3_3)
default 12288

Expand Down Expand Up @@ -301,6 +303,19 @@ endchoice
config CHIP_ENABLE_ICD_SUPPORT
default y if CHIP_THREAD_DEVICE_ROLE_SLEEPY_END_DEVICE

config OPENTHREAD_CSMABACKOFF_OPTIMIZATION
bool "Skip initial CSMA-CA backoff when sending data requests"
depends on CHIP_ENABLE_ICD_SUPPORT
default n
help
Skip the first CSMA backoff period when sending data requests over IEEE 802.15.4.

config IEEE802154_TLX_OPTIMIZATION
bool "Optimize 802.15.4 RF performance for TLX SoCs"
default n
help
Improve RF performance in IEEE 802.15.4 communication on TLX SoCs.

config OPENTHREAD_THREAD_STACK_SIZE
default 2400 if PM || SOC_RISCV_TELINK_TL321X

Expand Down
Loading