Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
board.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2020 Scallog
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
17
18
#include "cpu.h"
19
#include "
periph_conf.h
"
20
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
29
#define XTIMER_WIDTH (16)
30
#define XTIMER_BACKOFF (19)
32
37
#define LED0_PIN_NUM 1
38
#define LED0_PORT GPIO_PORT_A
39
#define LED0_PORT_NUM PORT_A
40
41
#define LED1_PIN_NUM 5
42
#define LED1_PORT GPIO_PORT_A
43
#define LED1_PORT_NUM PORT_A
44
45
#define LED_PANIC LED0_ON
47
52
#define BTN0_PIN GPIO_PIN(PORT_C, 9)
53
#define BTN0_MODE GPIO_IN
55
56
#ifdef __cplusplus
57
}
58
#endif
59
60
#include "
stm32_leds.h
"
61
periph_conf.h
Peripheral MCU configuration for the OLIMEXINO STM32 board.
stm32_leds.h
Common LED macros.
Generated on Mon Sep 15 2025 13:46:10 by
1.13.2