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
* 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
22
#ifndef BOARD_H
23
#define BOARD_H
24
25
#include <stdint.h>
26
27
#include "cpu.h"
28
#include "
periph_conf.h
"
29
#include "board_common.h"
30
31
#ifdef __cplusplus
32
extern
"C"
{
33
#endif
34
39
#define EXTFLASH_SPI SPI_DEV(1)
40
#define EXTFLASH_CS GPIO_PIN(PORT_A, 11)
41
#define EXTFLASH_WRITE GPIO_PIN(PORT_C, 6)
42
#define EXTFLASH_HOLD GPIO_PIN(PORT_C, 9)
49
#define LPSXXX_PARAM_ADDR (0x5C)
56
#define L3G4200D_PARAM_INT2 GPIO_PIN(PORT_C, 0)
57
#define L3G4200D_PARAM_INT1 GPIO_PIN(PORT_C, 5)
64
#define LSM303DLHC_PARAM_ACC_PIN GPIO_PIN(PORT_B, 12)
65
#define LSM303DLHC_PARAM_MAG_PIN GPIO_PIN(PORT_B, 2)
72
#define MTD_0 mtd_dev_get(0)
75
#ifdef __cplusplus
76
}
77
#endif
78
79
#endif
/* BOARD_H */
periph_conf.h
Native CPU peripheral configuration.
Generated on Thu Nov 21 2024 09:55:54 by
1.9.8