Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
/* |
|
* Copyright (c) 2025 GARDENA GmbH |
|
* Copyright (c) 2025 Nordic Semiconductor ASA |
|
* |
|
* SPDX-License-Identifier: Apache-2.0 |
|
*/ |
|
|
|
#include "reboot_bottom.h" |
|
#include "posix_board_if.h" |
|
|
|
void sys_arch_reboot(int type) |
|
{ |
|
(void)type; |
|
native_set_reboot_on_exit(); |
|
posix_exit(0); |
|
}
|
|
|