Skip to content

Commit 7c02bf4

Browse files
AllenZhang-NXPdleach02
authored andcommitted
tests: watchdog: retain memory for frdm_mcxw23 and mcxw23_evk
The first 32KB will be used by BOOT ROM. Added board shared sram bypass first 32KB overlay. The overlay configure shall bypass first 32KB memory to avoid being clear during system startup. Signed-off-by: Allen Zhang <[email protected]>
1 parent 8619248 commit 7c02bf4

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/*
2+
* Copyright 2025 NXP
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&sram0 {
8+
reg = <0x2000C000 DT_SIZE_K(80)>;
9+
};
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/*
2+
* Copyright 2025 NXP
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&sram0 {
8+
reg = <0x2000C000 DT_SIZE_K(80)>;
9+
};

tests/drivers/watchdog/wdt_basic_api/testcase.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ tests:
3535
- frdm_mcxw71
3636
- frdm_mcxw72/mcxw727c/cpu0
3737
- raytac_an54lq_db_15/nrf54l15/cpuapp/ns
38+
- frdm_mcxw23
39+
- mcxw23_evk
3840
drivers.watchdog.stm32wwdg:
3941
filter: dt_compat_enabled("st,stm32-window-watchdog") or dt_compat_enabled("st,stm32-watchdog")
4042
extra_args: DTC_OVERLAY_FILE="boards/stm32_wwdg.overlay"
@@ -156,3 +158,8 @@ tests:
156158
platform_allow:
157159
- frdm_mcxw71
158160
- frdm_mcxw72/mcxw727c/cpu0
161+
drivers.watchdog.nxp_mcxw2xx_bypass_first_32k:
162+
extra_args: EXTRA_DTC_OVERLAY_FILE="bypass_first_32k.overlay"
163+
platform_allow:
164+
- frdm_mcxw23
165+
- mcxw23_evk

0 commit comments

Comments
 (0)