File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ zephyr_library_sources(
12
12
vects.c
13
13
isr_exit.S
14
14
fatal.c
15
+ reboot.c
15
16
)
16
17
17
18
zephyr_library_sources_ifdef (CONFIG_IRQ_OFFLOAD irq_offload.c )
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (c) 2025 Renesas Electronics Corporation
3
+ *
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+
7
+ /**
8
+ * @file
9
+ * @brief RX reboot interface
10
+ */
11
+
12
+ #include <zephyr/kernel.h>
13
+ #include <zephyr/arch/cpu.h>
14
+ #include <zephyr/sys/util.h>
15
+
16
+ /**
17
+ * @brief Reset the system
18
+ *
19
+ * This is stub function to avoid build error with CONFIG_REBOOT=y
20
+ * RX specification does not have a common interface for system reset.
21
+ * Each RX SoC that has reset feature should implement own reset function.
22
+ */
23
+
24
+ void __weak sys_arch_reboot (int type )
25
+ {
26
+ ARG_UNUSED (type );
27
+ }
You can’t perform that action at this time.
0 commit comments