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 
9 #pragma once
10 
24 #include <stdint.h>
25 
26 #include "cpu.h"
27 #include "periph_conf.h"
28 #include "board_common.h"
29 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33 
38 #define EXTFLASH_SPI SPI_DEV(1)
39 #define EXTFLASH_CS GPIO_PIN(PORT_A, 11)
40 #define EXTFLASH_WRITE GPIO_PIN(PORT_C, 6)
41 #define EXTFLASH_HOLD GPIO_PIN(PORT_C, 9)
48 #define LPSXXX_PARAM_ADDR (0x5C)
55 #define L3G4200D_PARAM_INT2 GPIO_PIN(PORT_C, 0)
56 #define L3G4200D_PARAM_INT1 GPIO_PIN(PORT_C, 5)
63 #define LSM303DLHC_PARAM_ACC_PIN GPIO_PIN(PORT_B, 12)
64 #define LSM303DLHC_PARAM_MAG_PIN GPIO_PIN(PORT_B, 2)
71 #define MTD_0 mtd_dev_get(0)
74 #ifdef __cplusplus
75 }
76 #endif
77 
Peripheral MCU configuration for the Zigduino board.