Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
board.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2014-2015 Freie Universität Berlin
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
21
#include <stdint.h>
22
23
#include "cpu.h"
24
#include "
periph_conf.h
"
25
#include "board_common.h"
26
27
#ifdef __cplusplus
28
extern
"C"
{
29
#endif
30
35
#define EXTFLASH_SPI SPI_DEV(1)
36
#define EXTFLASH_CS GPIO_PIN(PORT_A, 11)
37
#define EXTFLASH_WRITE GPIO_PIN(PORT_C, 6)
38
#define EXTFLASH_HOLD GPIO_PIN(PORT_C, 9)
45
#define LPSXXX_PARAM_ADDR (0x5C)
52
#define L3G4200D_PARAM_INT2 GPIO_PIN(PORT_C, 0)
53
#define L3G4200D_PARAM_INT1 GPIO_PIN(PORT_C, 5)
60
#define LSM303DLHC_PARAM_ACC_PIN GPIO_PIN(PORT_B, 12)
61
#define LSM303DLHC_PARAM_MAG_PIN GPIO_PIN(PORT_B, 2)
68
#define MTD_0 mtd_dev_get(0)
71
#ifdef __cplusplus
72
}
73
#endif
74
periph_conf.h
Peripheral MCU configuration for the Zigduino board.
Generated on Sat Sep 6 2025 20:14:01 by
1.9.1