1# SPDX-License-Identifier: Apache-2.0
2# Copyright (c) 2022 CSIRO
3
4config KCONFIG_ARITHMETIC_ADD_10
5	int
6	default $(add, 10)
7
8config KCONFIG_ARITHMETIC_ADD_10_3
9	int
10	default $(add, 10, 3)
11
12config KCONFIG_ARITHMETIC_ADD_10_3_2
13	int
14	default $(add, 10, 3, 2)
15
16config KCONFIG_ARITHMETIC_SUB_10
17	int
18	default $(sub, 10)
19
20config KCONFIG_ARITHMETIC_SUB_10_3
21	int
22	default $(sub, 10, 3)
23
24config KCONFIG_ARITHMETIC_SUB_10_3_2
25	int
26	default $(sub, 10, 3, 2)
27
28config KCONFIG_ARITHMETIC_MUL_10
29	int
30	default $(mul, 10)
31
32config KCONFIG_ARITHMETIC_MUL_10_3
33	int
34	default $(mul, 10, 3)
35
36config KCONFIG_ARITHMETIC_MUL_10_3_2
37	int
38	default $(mul, 10, 3, 2)
39
40config KCONFIG_ARITHMETIC_DIV_10
41	int
42	default $(div, 10)
43
44config KCONFIG_ARITHMETIC_DIV_10_3
45	int
46	default $(div, 10, 3)
47
48config KCONFIG_ARITHMETIC_DIV_10_3_2
49	int
50	default $(div, 10, 3, 2)
51
52config KCONFIG_ARITHMETIC_MOD_10
53	int
54	default $(mod, 10)
55
56config KCONFIG_ARITHMETIC_MOD_10_3
57	int
58	default $(mod, 10, 3)
59
60config KCONFIG_ARITHMETIC_MOD_10_3_2
61	int
62	default $(mod, 10, 3, 2)
63
64config KCONFIG_ARITHMETIC_INC_1
65	int
66	default $(inc, 1)
67
68config KCONFIG_ARITHMETIC_INC_1_1
69	string
70	default "$(inc, 1, 1)"
71
72config KCONFIG_ARITHMETIC_INC_INC_1_1
73	string
74	default "$(inc, $(inc, 1, 1))"
75
76config KCONFIG_ARITHMETIC_DEC_1
77	int
78	default $(dec, 1)
79
80config KCONFIG_ARITHMETIC_DEC_1_1
81	string
82	default "$(dec, 1, 1)"
83
84config KCONFIG_ARITHMETIC_DEC_DEC_1_1
85	string
86	default "$(dec, $(dec, 1, 1))"
87
88config KCONFIG_ARITHMETIC_ADD_INC_1_1
89	int
90	default $(add, $(inc, 1, 1))
91
92config KCONFIG_MIN_10
93	int
94	default $(min, 10)
95
96config KCONFIG_MIN_10_3
97	int
98	default $(min, 10, 3)
99
100config KCONFIG_MIN_10_3_2
101	int
102	default $(min, 10, 3, 2)
103
104config KCONFIG_MAX_10
105	int
106	default $(max, 10)
107
108config KCONFIG_MAX_10_3
109	int
110	default $(max, 10, 3)
111
112config KCONFIG_MAX_10_3_2
113	int
114	default $(max, 10, 3, 2)
115
116source "Kconfig.zephyr"
117