X-Git-Url: http://rtime.felk.cvut.cz/gitweb/pes-rpp/rpp-lib.git/blobdiff_plain/c46b9f237ddb6dc869ecf0fd443157dcc843956f..a03a08f1086d9db86e3e063a1a6ac76bfa63451c:/rpp/include/drv/port_def.h diff --git a/rpp/include/drv/port_def.h b/rpp/include/drv/port_def.h new file mode 100644 index 0000000..3e8d098 --- /dev/null +++ b/rpp/include/drv/port_def.h @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2015 Czech Technical University in Prague + * + * Authors: + * - Michal Sojka + * + * This document contains proprietary information belonging to Czech + * Technical University in Prague. Passing on and copying of this + * document, and communication of its contents is not permitted + * without prior written authorization. + * + */ + +#ifndef DRV_PORT_DEF_H +#define DRV_PORT_DEF_H + +/* Definition of port names (enum port_id) */ + +#if defined(TARGET_POSIX) +#include "drv/_rm48_hdk/port_def.h" +#elif defined(TARGET_RM48_HDK) +#include "drv/_rm48_hdk/port_def.h" +#elif defined(TARGET_TMS570_HDK) +#include "drv/_tms570_hdk/port_def.h" +#elif defined(TARGET_TMS570_HYDCTR) +#include "drv/_tms570_hydctr/port_def.h" +#elif defined(TARGET_TMS570_RPP) +#include "drv/_tms570_rpp/port_def.h" +#else +#error No supported target specified! +#endif + +#endif