2014-06-11 14:59:24 +02:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2013 INRIA
|
|
|
|
* Copyright (C) 2014 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_stm32f1
|
|
|
|
* @{
|
|
|
|
*
|
2014-07-03 10:36:46 +02:00
|
|
|
* @file cpu.c
|
2014-06-11 14:59:24 +02:00
|
|
|
* @brief Implementation of the kernel cpu functions
|
|
|
|
*
|
|
|
|
* @author Stefan Pfeiffer <stefan.pfeiffer@fu-berlin.de>
|
|
|
|
* @author Alaeddine Weslati <alaeddine.weslati@inria.fr>
|
|
|
|
* @author Thomas Eichinger <thomas.eichinger@fu-berlin.de>
|
|
|
|
*
|
|
|
|
* @}
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "cpu.h"
|
|
|
|
|
|
|
|
void cpu_init(void)
|
|
|
|
{
|
|
|
|
/* set PendSV priority to the lowest possible priority */
|
|
|
|
NVIC_SetPriority(PendSV_IRQn, 0xff);
|
|
|
|
}
|