]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lib.git/blobdiff - rpp/include/drv/port_def.h
Split drv/digital_io.h to drv/gio*.h and drv/port.h
[pes-rpp/rpp-lib.git] / 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 (file)
index 0000000..3e8d098
--- /dev/null
@@ -0,0 +1,33 @@
+/*
+ * Copyright (C) 2015 Czech Technical University in Prague
+ *
+ * Authors:
+ *     - Michal Sojka <sojkam1@fel.cvut.cz>
+ *
+ * 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