Commit a1d28cd9 authored by jdelange's avatar jdelange

* po-hi-c/include/drivers/configuration/

   po-hi-c/src/drivers/configuration/
   - Declare new configuration variables to be used in the deployment view.



git-svn-id: https://tecsw.estec.esa.int/svn/taste/trunk/po-hi-c@2787 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent dbc90f6b
......@@ -2,8 +2,8 @@
#define _INC_1553_H
/*
Code automatically generated by asn1scc tool
Date was: 6/22/2011
Time was: 11:00:14
Date was: 7/11/2011
Time was: 15:56:58
*/
#include "asn1crt.h"
......
......@@ -2,8 +2,8 @@
#define _INC_IP_H
/*
Code automatically generated by asn1scc tool
Date was: 6/22/2011
Time was: 11:00:14
Date was: 7/11/2011
Time was: 15:56:59
*/
#include "asn1crt.h"
......
......@@ -2,8 +2,8 @@
#define _INC_SERIAL_H
/*
Code automatically generated by asn1scc tool
Date was: 6/22/2011
Time was: 11:00:15
Date was: 7/11/2011
Time was: 15:56:59
*/
#include "asn1crt.h"
......@@ -90,7 +90,11 @@ flag __po_hi_c_serial_conf_t_IsConstraintValid(const __po_hi_c_serial_conf_t* va
extern __po_hi_c_serial_conf_t linux_ttyS0;
extern __po_hi_c_serial_conf_t linux_ttyUSB0;
extern __po_hi_c_serial_conf_t linux_ttyUSB1;
extern __po_hi_c_serial_conf_t linux_ttyUSB2;
extern __po_hi_c_serial_conf_t leon_rasta_apburasta0;
extern __po_hi_c_serial_conf_t leon_rasta_apburasta1;
#ifdef __cplusplus
}
......
......@@ -2,8 +2,8 @@
#define _INC_SPACEWIRE_H
/*
Code automatically generated by asn1scc tool
Date was: 6/22/2011
Time was: 11:00:16
Date was: 7/11/2011
Time was: 15:57:00
*/
#include "asn1crt.h"
......
#if (defined (__PO_HI_NEED_DRIVER_1553_RASTA))\n
/*
Code automatically generated by asn1scc tool
Date was: 6/22/2011
Time was: 11:00:14
Date was: 7/11/2011
Time was: 15:56:58
*/
#include <string.h>
#include <math.h>
......
#if (defined (__PO_HI_NEED_DRIVER_SOCKETS) || defined (__PO_HI_NEED_DRIVER_RTEMS_NE2000_SOCKETS))\n
/*
Code automatically generated by asn1scc tool
Date was: 6/22/2011
Time was: 11:00:15
Date was: 7/11/2011
Time was: 15:56:59
*/
#include <string.h>
#include <math.h>
......
......@@ -24,10 +24,35 @@ linux-ttyS0 Serial-Conf-T ::= {
speed b38400
}
linux-ttyUSB0 Serial-Conf-T ::= {
devname "/dev/ttyUSB0",
speed b38400
}
linux-ttyUSB1 Serial-Conf-T ::= {
devname "/dev/ttyUSB1",
speed b38400
}
linux-ttyUSB2 Serial-Conf-T ::= {
devname "/dev/ttyUSB2",
speed b38400
}
leon-rasta-apburasta0 Serial-Conf-T ::= {
devname "/dev/apburasta0",
speed b38400
}
leon-rasta-apburasta1 Serial-Conf-T ::= {
devname "/dev/apburasta1",
speed b38400
}
END
#if (defined (__PO_HI_NEED_DRIVER_SERIAL_LINUX) || defined (__PO_HI_NEED_DRIVER_SERIAL_LINUX_RECEIVER) || defined (__PO_HI_NEED_DRIVER_SERIAL_LINUX_SENDER) || defined (__PO_HI_NEED_DRIVER_SERIAL_RASTA) || defined (__PO_HI_NEED_DRIVER_SERIAL_LEON) || defined (__PO_HI_NEED_DRIVER_SERIAL_LEON_SENDER) || defined (__PO_HI_NEED_DRIVER_SERIAL_LEON_RECEIVER))\n
/*
Code automatically generated by asn1scc tool
Date was: 6/22/2011
Time was: 11:00:15
Date was: 7/11/2011
Time was: 15:56:59
*/
#include <string.h>
#include <math.h>
......@@ -17,6 +17,27 @@ __po_hi_c_serial_conf_t linux_ttyS0 = {
.speed = 1
}
};
__po_hi_c_serial_conf_t linux_ttyUSB0 = {
.devname = "/dev/ttyUSB0",
.speed = __po_hi_c_b38400,
.exist = {
.speed = 1
}
};
__po_hi_c_serial_conf_t linux_ttyUSB1 = {
.devname = "/dev/ttyUSB1",
.speed = __po_hi_c_b38400,
.exist = {
.speed = 1
}
};
__po_hi_c_serial_conf_t linux_ttyUSB2 = {
.devname = "/dev/ttyUSB2",
.speed = __po_hi_c_b38400,
.exist = {
.speed = 1
}
};
__po_hi_c_serial_conf_t leon_rasta_apburasta0 = {
.devname = "/dev/apburasta0",
.speed = __po_hi_c_b38400,
......@@ -24,6 +45,13 @@ __po_hi_c_serial_conf_t leon_rasta_apburasta0 = {
.speed = 1
}
};
__po_hi_c_serial_conf_t leon_rasta_apburasta1 = {
.devname = "/dev/apburasta1",
.speed = __po_hi_c_b38400,
.exist = {
.speed = 1
}
};
#endif
void __po_hi_c_Baudrate_T_Initialize(__po_hi_c_Baudrate_T* pVal)
......
#if (defined (__PO_HI_NEED_DRIVER_SPACEWIRE_RASTA))\n
/*
Code automatically generated by asn1scc tool
Date was: 6/22/2011
Time was: 11:00:16
Date was: 7/11/2011
Time was: 15:57:00
*/
#include <string.h>
#include <math.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment