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: 2014 Freie Universität Berlin
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 CC110X_PARAM_SPI SPI_DEV(0)
30
#define CC110X_PARAM_CS GPIO_PIN(PORT_B, 12)
31
#define CC110X_PARAM_GDO0 GPIO_PIN(PORT_C, 4)
32
#define CC110X_PARAM_GDO2 GPIO_PIN(PORT_C, 5)
36
#define CC110X_PARAM_SPI_CLOCK SPI_CLK_1MHZ
38
43
#define MPU9X50_PARAM_COMP_ADDR (0x0E)
45
50
#define LED0_PIN_NUM 8
51
#define LED0_PORT GPIO_PORT_B
52
#define LED0_PORT_NUM PORT_B
53
54
#define LED1_PIN_NUM 14
55
#define LED1_PORT GPIO_PORT_B
56
#define LED1_PORT_NUM PORT_B
57
58
#define LED2_PIN_NUM 15
59
#define LED2_PORT GPIO_PORT_B
60
#define LED2_PORT_NUM PORT_B
62
67
#define BUTTON0_PIN GPIO_PIN(PORT_B, 13)
68
#define BUTTON1_PIN GPIO_PIN(PORT_A, 0)
70
71
#ifdef __cplusplus
72
}
73
#endif
74
75
#include "
stm32_leds.h
"
76
periph_conf.h
stm32_leds.h
Common LED macros.
Generated on Wed Apr 15 2026 14:35:50 by
1.13.2