1# Renesas RX architecture configuration options
2
3# Copyright (c) 2020 KT-Elektronik, Klaucke und Partner GmbH
4# Copyright (c) 2024 Renesas Electronics Corporation
5# SPDX-License-Identifier: Apache-2.0
6
7menu "Renesas RX Options"
8	depends on RX
9
10config ARCH
11	string
12	default "rx"
13
14config CPU_RXV1
15	bool
16	help
17	  Set if the processor supports the Renesas RXv1 instruction set.
18
19config CPU_RXV2
20	bool
21	help
22	  Set if the processor supports the Renesas RXv2 instruction set.
23
24config CPU_RXV3
25	bool
26	help
27	  Set if the processor supports the Renesas RXv3 instruction set.
28
29config HAS_EXCEPT_VECTOR_TABLE
30	bool
31	help
32	  Set if the processor has the exception vector table.
33
34config XIP
35	default y
36
37config NUM_IRQ_PRIO_LEVELS
38	int "Number of supported interrupt priority levels"
39	range 1 16
40	default 16
41	help
42	  Interrupt priorities available will be 0 to NUM_IRQ_PRIO_LEVELS-1. The
43	  minimum value is 1. The BSP must provide a valid default for proper
44	  operation.
45
46config NUM_IRQS
47	int
48	default 256
49
50config GEN_ISR_TABLES
51	default y
52
53config GEN_SW_ISR_TABLE
54	default y
55
56config GEN_IRQ_VECTOR_TABLE
57	default n
58
59config GEN_IRQ_START_VECTOR
60	default 16
61
62config DYNAMIC_INTERRUPTS
63	default y
64
65config MAIN_STACK_SIZE
66	default 1024
67
68config INITIALIZATION_STACK_SIZE
69	int "Initialization stack size (in bytes)"
70	default 512
71	help
72	  Stack size for initialization process of kernel (in bytes)
73
74endmenu
75