From ee34942556e1a0ba22ac8c296d455bcc35986ce0 Mon Sep 17 00:00:00 2001 From: Haiwen Xia Date: Mon, 20 Jan 2025 11:10:17 +0800 Subject: [PATCH] riscv: telink: add one macro for tlsr9528a retention . - optimize the power. Signed-off-by: Haiwen Xia --- .github/workflows/chef.yaml | 2 +- .github/workflows/examples-telink.yaml | 2 +- config/telink/chip-module/Kconfig.defaults | 7 +++++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/chef.yaml b/.github/workflows/chef.yaml index f12b6ef8d460bf..a84444113d349d 100644 --- a/.github/workflows/chef.yaml +++ b/.github/workflows/chef.yaml @@ -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 origin/develop_customer_fix_retention" + run: scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py origin/develop_customer" - name: CI Examples Telink shell: bash run: | diff --git a/.github/workflows/examples-telink.yaml b/.github/workflows/examples-telink.yaml index cefe79eee2a789..d8e2656c0b5d2d 100644 --- a/.github/workflows/examples-telink.yaml +++ b/.github/workflows/examples-telink.yaml @@ -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 origin/develop_customer_fix_retention" + run: scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py origin/develop_customer" - name: Build example Telink (B92 retention) Air Quality Sensor App # Run test for master and s07641069 PRs diff --git a/config/telink/chip-module/Kconfig.defaults b/config/telink/chip-module/Kconfig.defaults index 06409754c50380..695320c7934d88 100644 --- a/config/telink/chip-module/Kconfig.defaults +++ b/config/telink/chip-module/Kconfig.defaults @@ -343,6 +343,13 @@ config IEEE802154_TLX_OPTIMIZATION help optimize the rf performance for tlx. +config IEEE802154_B9X_OPTIMIZATION + bool "optimize the rf performance for b9x" + default y if BOARD_TLSR9528A_RETENTION + default n + help + optimize the rf performance for b9x. + config OPENTHREAD_THREAD_STACK_SIZE default 2400 if PM || SOC_RISCV_TELINK_TL321X