2018-03-26 21:50:06 +02:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2018 Kaspar Schleiser <kaspar@schleiser.de>
|
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
2018-06-01 12:09:16 +02:00
|
|
|
* @ingroup boards_common
|
2018-03-26 21:50:06 +02:00
|
|
|
* @{
|
|
|
|
*
|
|
|
|
* @file
|
|
|
|
* @brief Common implementations for Atmega boards
|
|
|
|
*
|
|
|
|
* @author Kaspar Schleiser <kaspar@schleiser.de>
|
|
|
|
*
|
|
|
|
* @}
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "board.h"
|
|
|
|
#include "cpu.h"
|
|
|
|
#include "periph/gpio.h"
|
|
|
|
|
|
|
|
void led_init(void);
|
|
|
|
|
2020-08-13 17:23:48 +02:00
|
|
|
void __attribute__((weak)) board_init(void)
|
2018-03-26 21:50:06 +02:00
|
|
|
{
|
2019-02-20 21:29:37 +01:00
|
|
|
#ifdef LED0_ON
|
2018-03-26 21:50:06 +02:00
|
|
|
led_init();
|
2019-02-20 21:29:37 +01:00
|
|
|
#endif
|
2018-03-26 21:50:06 +02:00
|
|
|
}
|