Skip to content

Commit

Permalink
riscv: telink: fix insufficient RAM when config LZMA
Browse files Browse the repository at this point in the history
 - Update zephyr commit to efcd3b7 .
 - Ajust log level to DEBUG for tl3218x .

Signed-off-by: Fengtai Xie <fengtai.xie@telink-semi.com>
  • Loading branch information
fengtai-telink committed Feb 10, 2025
1 parent 4f956ec commit 40d3c36
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/chef.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,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 52c23bb5bfa7b08fb2499fda8c34cbd3418e0c1d"
- 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 efcd3b739cb18dbad11428bda90e419fad5650c7"
- name: CI Examples Telink
shell: bash
run: |
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/examples-telink.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,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 52c23bb5bfa7b08fb2499fda8c34cbd3418e0c1d"
- name: Update Zephyr to specific revision (for developers purpose)
run: scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py efcd3b739cb18dbad11428bda90e419fad5650c7"

- name: Build example Telink (B92 retention) Air Quality Sensor App
# Run test for master and s07641069 PRs
Expand Down Expand Up @@ -167,14 +167,14 @@ jobs:
- name: clean out build output (keep tools)
run: rm -rf ./out/telink*

- name: Build example Telink (tl321x) Lighting App with OTA, Shell, Factory Data
- name: Build example Telink (tl321x) Lighting App with OTA (LZMA), Shell, Factory Data
# Run test for master and all PRs
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py --target 'telink-tl3218x-light-ota-shell-factory-data' build"
"./scripts/build/build_examples.py --target 'telink-tl3218x-light-ota-compress-lzma-shell-factory-data' build"
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
telink tl3218x light-app-ota-shell-factory-data \
out/telink-tl3218x-light-ota-shell-factory-data/zephyr/zephyr.elf \
telink tl3218x light-app-ota-compress-lzma-shell-factory-data \
out/telink-tl3218x-light-ota-compress-lzma-shell-factory-data/zephyr/zephyr.elf \
/tmp/bloat_reports/
- name: clean out build output (keep tools)
Expand Down
1 change: 0 additions & 1 deletion config/telink/chip-module/Kconfig.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ choice LOG_MODE
endchoice

choice MATTER_LOG_LEVEL_CHOICE
default MATTER_LOG_LEVEL_WRN if SOC_RISCV_TELINK_TL321X
default MATTER_LOG_LEVEL_DBG
endchoice

Expand Down

0 comments on commit 40d3c36

Please sign in to comment.