Skip to content

Commit 291fed4

Browse files
jsbatchcfriedt
authored andcommitted
tests: kernel: timer tests for kit_psc3m5_evk board
Adding overlays for Infineon kit_psc3m5_evk board to kernel/common, kernel/timer/timer_error_case and kernel/timer/timer_api tests when run in secure mode. These tests require more memory than the board assigns to secure mode by default. Signed-off-by: John Batch <[email protected]>
1 parent 9a2ae1c commit 291fed4

File tree

3 files changed

+72
-0
lines changed

3 files changed

+72
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/*
2+
*==================================================================================================
3+
* Copyright (c) 2025 Cypress Semiconductor Corporation (an Infineon company) or
4+
* an affiliate of Cypress Semiconductor Corporation
5+
*
6+
* SPDX-License-Identifier: Apache-2.0
7+
*==================================================================================================
8+
*/
9+
10+
/ {
11+
chosen {
12+
zephyr,code-partition = &slot0_partition;
13+
};
14+
};
15+
16+
&slot0_partition {
17+
label = "image-0";
18+
reg = <0x12000000 DT_SIZE_K(150)>; /* 150k for secure test application */
19+
};
20+
21+
&slot0_ns_partition {
22+
label = "image-1";
23+
reg = <0x2025800 DT_SIZE_K(106)>; /* 106k for nonsecure test application */
24+
};
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/*
2+
*==================================================================================================
3+
* Copyright (c) 2025 Cypress Semiconductor Corporation (an Infineon company) or
4+
* an affiliate of Cypress Semiconductor Corporation
5+
*
6+
* SPDX-License-Identifier: Apache-2.0
7+
*==================================================================================================
8+
*/
9+
10+
/ {
11+
chosen {
12+
zephyr,code-partition = &slot0_partition;
13+
};
14+
};
15+
16+
&slot0_partition {
17+
label = "image-0";
18+
reg = <0x12000000 DT_SIZE_K(150)>; /* 150k for secure test application */
19+
};
20+
21+
&slot0_ns_partition {
22+
label = "image-1";
23+
reg = <0x2025800 DT_SIZE_K(106)>; /* 106k for nonsecure test application */
24+
};
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/*
2+
*==================================================================================================
3+
* Copyright (c) 2025 Cypress Semiconductor Corporation (an Infineon company) or
4+
* an affiliate of Cypress Semiconductor Corporation
5+
*
6+
* SPDX-License-Identifier: Apache-2.0
7+
*==================================================================================================
8+
*/
9+
10+
/ {
11+
chosen {
12+
zephyr,code-partition = &slot0_partition;
13+
};
14+
};
15+
16+
&slot0_partition {
17+
label = "image-0";
18+
reg = <0x12000000 DT_SIZE_K(150)>; /* 150k for secure test application */
19+
};
20+
21+
&slot0_ns_partition {
22+
label = "image-1";
23+
reg = <0x2025800 DT_SIZE_K(106)>; /* 106k for nonsecure test application */
24+
};

0 commit comments

Comments
 (0)