1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/lpc11u34/reboot_arch.c
Paul Rathgeb 100bd51a64 cpu/lpc11u34 : Added a new CPU definition for NXP LPC11U34
This CPU is used in the WeIO (www.we-io.net)
               board.
               Peripheral included :
               - timer
               - uart
               - gpio
2015-10-01 20:11:00 +02:00

34 lines
603 B
C

/*
* Copyright (C) 2015 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser General
* Public License v2.1. See the file LICENSE in the top level directory for more
* details.
*/
/**
* @ingroup cpu_lpc11u34
* @{
*
* @file
* @brief Implementation of the kernels reboot interface
*
* @author Paul RATHGEB <paul.rathgeb@skynet.be>
*
* @}
*/
#include <stdio.h>
#include "arch/reboot_arch.h"
#include "cpu.h"
int reboot_arch(int mode)
{
printf("Going into reboot, mode %i\n", mode);
NVIC_SystemReset();
return 0;
}