2018-06-08 22:18:39 +02:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2018 Inria
|
|
|
|
*
|
|
|
|
* 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 boards_stm32l0538-disco
|
|
|
|
* @{
|
|
|
|
*
|
|
|
|
* @file
|
|
|
|
* @brief Board specific implementations for the STM32L0538-DISCO evaluation board
|
|
|
|
*
|
|
|
|
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
|
|
|
|
*
|
|
|
|
* @}
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "board.h"
|
|
|
|
#include "periph/gpio.h"
|
|
|
|
|
|
|
|
void board_init(void)
|
|
|
|
{
|
2019-10-04 17:05:40 +02:00
|
|
|
/* initialize the CPU */
|
|
|
|
cpu_init();
|
|
|
|
|
2018-06-08 22:18:39 +02:00
|
|
|
/* initialize the boards LEDs */
|
|
|
|
gpio_init(LED0_PIN, GPIO_OUT);
|
|
|
|
gpio_init(LED1_PIN, GPIO_OUT);
|
|
|
|
}
|