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 <scott.worley@microchip.com>
This commit is contained in:
Scott Worley 2025-07-23 10:59:34 -04:00 committed by Benjamin Cabé
parent 166bf18d30
commit c084c0e776
4 changed files with 68 additions and 0 deletions

View File

@ -0,0 +1,17 @@
/*
* Copyright (c) 2025 Microchip Technology Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/
/* Microchip MEC use its 32 KHz based RTOS timer by default.
* Allow the test to build by switching to Cortex-M4 SysTick.
*/
&rtimer {
status = "disabled";
};
&systick {
status = "okay";
};

View File

@ -0,0 +1,17 @@
/*
* Copyright (c) 2025 Microchip Technology Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/
/* Microchip MEC use its 32 KHz based RTOS timer by default.
* Allow the test to build by switching to Cortex-M4 SysTick.
*/
&rtimer {
status = "disabled";
};
&systick {
status = "okay";
};

View File

@ -0,0 +1,17 @@
/*
* Copyright (c) 2025 Microchip Technology Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/
/* Microchip MEC use its 32 KHz based RTOS timer by default.
* Allow the test to build by switching to Cortex-M4 SysTick.
*/
&rtimer {
status = "disabled";
};
&systick {
status = "okay";
};

View File

@ -0,0 +1,17 @@
/*
* Copyright (c) 2025 Microchip Technology Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/
/* Microchip MEC use its 32 KHz based RTOS timer by default.
* Allow the test to build by switching to Cortex-M4 SysTick.
*/
&rtimer {
status = "disabled";
};
&systick {
status = "okay";
};