Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
board_common.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2014-2015 Freie Universität Berlin
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser General
5
* Public License v2.1. See the file LICENSE in the top level directory for more
6
* details.
7
*/
8
9
#pragma once
10
25
26
#include <stdint.h>
27
28
#include "cpu.h"
29
#include "periph_conf.h"
30
#include "
periph_conf_common.h
"
31
32
#ifdef __cplusplus
33
extern
"C"
{
34
#endif
35
40
#ifndef STDIO_UART_BAUDRATE
41
# define STDIO_UART_BAUDRATE (500000U)
42
#endif
44
51
#define XTIMER_WIDTH (16U)
53
58
#define CONFIG_ZTIMER_USEC_TYPE ZTIMER_TYPE_PERIPH_TIMER
59
#define CONFIG_ZTIMER_USEC_DEV TIMER_DEV(0)
60
#define CONFIG_ZTIMER_USEC_MIN (2)
62
69
#define AT86RF2XX_PARAM_CS GPIO_PIN(PORT_A, 4)
70
#define AT86RF2XX_PARAM_INT GPIO_PIN(PORT_C, 4)
71
#define AT86RF2XX_PARAM_SLEEP GPIO_PIN(PORT_A, 2)
72
#define AT86RF2XX_PARAM_RESET GPIO_PIN(PORT_C, 1)
74
79
#define LED0_PIN_NUM 2
80
#define LED0_PORT GPIO_PORT_D
81
#define LED0_PORT_NUM PORT_D
82
83
#define LED1_PIN_NUM 5
84
#define LED1_PORT GPIO_PORT_B
85
#define LED1_PORT_NUM PORT_B
86
87
#define LED2_PIN_NUM 10
88
#define LED2_PORT GPIO_PORT_C
89
#define LED2_PORT_NUM PORT_C
91
92
#ifdef __cplusplus
93
}
94
#endif
95
96
#include "
stm32_leds.h
"
97
periph_conf_common.h
Peripheral MCU configuration for the iotlab-m3 board.
stm32_leds.h
Common LED macros.
Generated on Thu Jul 3 2025 17:41:18 by
1.13.2