2019-06-28 11:31:13 +02:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2019 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_p-l496g-cell02
|
|
|
|
* @{
|
|
|
|
*
|
|
|
|
* @file
|
|
|
|
* @brief Board specific implementations for the P-L496G-CELL02 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();
|
|
|
|
|
2019-06-28 11:31:13 +02:00
|
|
|
/* initialize LEDs */
|
|
|
|
gpio_init(LED0_PIN, GPIO_OUT);
|
|
|
|
gpio_init(LED1_PIN, GPIO_OUT);
|
|
|
|
}
|