Skip to content

Commit

Permalink
riscv: telink: seperate ram for tl3218x .
Browse files Browse the repository at this point in the history
- use retention mode to seperate ram.
- reserve more ram for ilm.

Signed-off-by: Haiwen Xia <haiwen.xia@telink-semi.com>
  • Loading branch information
haiwentelink authored and s07641069 committed Jan 20, 2025
1 parent 493c81a commit 5f6e927
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/chef.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,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 10c1c1cbee585531c7c1e09cd855b3d63b697a9e"
run: scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py 91ad864a58b6a9c925e61a6c1d52945178bdb5e8"
- 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 @@ -71,7 +71,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 10c1c1cbee585531c7c1e09cd855b3d63b697a9e"
run: scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py 91ad864a58b6a9c925e61a6c1d52945178bdb5e8"

- name: Build example Telink (B92 retention) Air Quality Sensor App
# Run test for master and s07641069 PRs
Expand Down
6 changes: 3 additions & 3 deletions config/telink/chip-module/Kconfig.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -207,15 +207,15 @@ config PWM

endif

if BOARD_TL7218_RETENTION || BOARD_TL3218_RETENTION
if BOARD_TL7218_RETENTION || BOARD_TL3218_RETENTION || BOARD_TL3218
config SOC_SERIES_RISCV_TELINK_TLX_NON_RETENTION_RAM_CODE
default n if PM

config TELINK_TLX_MATTER_RETENTION_LAYOUT
default y if PM
default y if PM || BOARD_TL3218X

config PWM
default n
default n if PM

endif

Expand Down

0 comments on commit 5f6e927

Please sign in to comment.