]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lib.git/blob - rpp/include/drv/spi_def.h
Make configuration of SPI devices target dependent
[pes-rpp/rpp-lib.git] / rpp / include / drv / spi_def.h
1 /*
2  * Copyright (C) 2015 Czech Technical University in Prague
3  *
4  * Authors:
5  *     - Michal Sojka <sojkam1@fel.cvut.cz>
6  *
7  * This document contains proprietary information belonging to Czech
8  * Technical University in Prague. Passing on and copying of this
9  * document, and communication of its contents is not permitted
10  * without prior written authorization.
11  *
12  */
13
14 #ifndef DRV_SPI_DEF_H
15 #define DRV_SPI_DEF_H
16
17 /* Definition of spi names (enum spi_id) */
18
19 #if defined(TARGET_POSIX)
20 //#include "drv/_rm48_hdk/spi_def.h"
21 #elif defined(TARGET_RM48_HDK)
22 //#include "drv/_rm48_hdk/spi_def.h"
23 #elif defined(TARGET_TMS570_HDK)
24 //#include "drv/_tms570_hdk/spi_def.h"
25 #elif defined(TARGET_TMS570_HYDCTR)
26 //#include "drv/_tms570_hydctr/spi_def.h"
27 #elif defined(TARGET_TMS570_RPP)
28 #include "drv/_tms570_rpp/spi_def.h"
29 #else
30 #error No supported target specified!
31 #endif
32
33 #endif