mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
a97e0543cb
The board is a very cheap (< 1€) breakout board for the stm32f030f4 MCU.
31 lines
588 B
C
31 lines
588 B
C
/*
|
|
* Copyright (C) 2019 Benjamin Valentin
|
|
*
|
|
* 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_stm32f030f4-demo
|
|
* @{
|
|
*
|
|
* @file
|
|
* @brief Board initialization code for the stm32f030f4-demo board.
|
|
*
|
|
* @author Benjamin Valentin <benpicco@googlemail.com>
|
|
*
|
|
* @}
|
|
*/
|
|
|
|
#include "board.h"
|
|
#include "cpu.h"
|
|
#include "periph/gpio.h"
|
|
|
|
void board_init(void)
|
|
{
|
|
cpu_init();
|
|
gpio_init(LED0_PIN, GPIO_OUT);
|
|
LED0_OFF;
|
|
}
|