Skip to content

Commit c084c0e

Browse files
scottwcpgkartben
authored andcommitted
tests: arch: arm: arm_irq_vector_table: Microchip MEC build fix
Running twister with plaform Microchip mec_assy6941/<variant_name> builds the arm_irq_vector_table test. Microchip mec_assy6941 boards all use a 32-bit 32 KHz timer for the kernel. The test build fails due to any board using a custom kernel timer driver requires the test to include a chip specific interrupt table. We don't want to exclude the test. The MEC chips include Cortex-M4 SysTick. We added board overlays to the test turning off the 32KHz timer and enabling ARM SysTick. The test now builds. Signed-off-by: Scott Worley <[email protected]>
1 parent 166bf18 commit c084c0e

File tree

4 files changed

+68
-0
lines changed

4 files changed

+68
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/*
2+
* Copyright (c) 2025 Microchip Technology Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/* Microchip MEC use its 32 KHz based RTOS timer by default.
8+
* Allow the test to build by switching to Cortex-M4 SysTick.
9+
*/
10+
11+
&rtimer {
12+
status = "disabled";
13+
};
14+
15+
&systick {
16+
status = "okay";
17+
};
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/*
2+
* Copyright (c) 2025 Microchip Technology Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/* Microchip MEC use its 32 KHz based RTOS timer by default.
8+
* Allow the test to build by switching to Cortex-M4 SysTick.
9+
*/
10+
11+
&rtimer {
12+
status = "disabled";
13+
};
14+
15+
&systick {
16+
status = "okay";
17+
};
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/*
2+
* Copyright (c) 2025 Microchip Technology Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/* Microchip MEC use its 32 KHz based RTOS timer by default.
8+
* Allow the test to build by switching to Cortex-M4 SysTick.
9+
*/
10+
11+
&rtimer {
12+
status = "disabled";
13+
};
14+
15+
&systick {
16+
status = "okay";
17+
};
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/*
2+
* Copyright (c) 2025 Microchip Technology Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/* Microchip MEC use its 32 KHz based RTOS timer by default.
8+
* Allow the test to build by switching to Cortex-M4 SysTick.
9+
*/
10+
11+
&rtimer {
12+
status = "disabled";
13+
};
14+
15+
&systick {
16+
status = "okay";
17+
};

0 commit comments

Comments
 (0)