1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/common/init/board_common.c
2022-02-22 18:27:37 +01:00

31 lines
735 B
C

/*
* Copyright (C) 2021 ML!PA Consulting GmbH
*
* 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
* @{
*
* @file
* @brief Generic board functions
*
* @author Benjamin Valentin <benjamin.valentin@ml-pa.com>
* @}
*/
#include "board.h"
#include "periph/gpio.h"
#include "kernel_defines.h"
/*
* Allow overwriting board_init if common implementation doesn't work.
* If at link time another implementation of board_init() not marked as weak
* ((a.k.a. a strong symbol) is present, it will be linked in instead.
*/
void __attribute__((weak)) board_init(void)
{}