[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [5420] added telemetry
From: |
antoine drouin |
Subject: |
[paparazzi-commits] [5420] added telemetry |
Date: |
Tue, 17 Aug 2010 14:05:22 +0000 |
Revision: 5420
http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=5420
Author: poine
Date: 2010-08-17 14:05:21 +0000 (Tue, 17 Aug 2010)
Log Message:
-----------
added telemetry
Modified Paths:
--------------
paparazzi3/trunk/conf/autopilot/lisa_test_progs.makefile
paparazzi3/trunk/sw/airborne/lisa/test/test_mc_asctec_v1_simple.c
Modified: paparazzi3/trunk/conf/autopilot/lisa_test_progs.makefile
===================================================================
--- paparazzi3/trunk/conf/autopilot/lisa_test_progs.makefile 2010-08-17
14:00:26 UTC (rev 5419)
+++ paparazzi3/trunk/conf/autopilot/lisa_test_progs.makefile 2010-08-17
14:05:21 UTC (rev 5420)
@@ -592,8 +592,13 @@
test_mc_asctec_v1_simple.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
test_mc_asctec_v1_simple.CFLAGS += -DUSE_I2C1
test_mc_asctec_v1_simple.srcs += i2c.c $(SRC_ARCH)/i2c_hw.c
+test_mc_asctec_v1_simple.CFLAGS += -DUSE_UART2 -DUART2_BAUD=B57600
+test_mc_asctec_v1_simple.srcs += $(SRC_ARCH)/uart_hw.c
+test_mc_asctec_v1_simple.CFLAGS += -DDOWNLINK
-DDOWNLINK_TRANSPORT=PprzTransport -DDOWNLINK_DEVICE=Uart2
+test_mc_asctec_v1_simple.srcs += downlink.c pprz_transport.c
+
#
# test motor controllers asctec2 with interrupts
#
Modified: paparazzi3/trunk/sw/airborne/lisa/test/test_mc_asctec_v1_simple.c
===================================================================
--- paparazzi3/trunk/sw/airborne/lisa/test/test_mc_asctec_v1_simple.c
2010-08-17 14:00:26 UTC (rev 5419)
+++ paparazzi3/trunk/sw/airborne/lisa/test/test_mc_asctec_v1_simple.c
2010-08-17 14:05:21 UTC (rev 5420)
@@ -30,6 +30,7 @@
#include "init_hw.h"
#include "sys_time.h"
+#include "downlink.h"
static inline void main_init( void );
static inline void main_periodic_task( void );
@@ -63,15 +64,15 @@
RunOnceEvery(256,
{
DOWNLINK_SEND_I2C_ERRORS(DefaultChannel,
- &i2c2_errors.ack_fail_cnt,
- &i2c2_errors.miss_start_stop_cnt,
- &i2c2_errors.arb_lost_cnt,
- &i2c2_errors.over_under_cnt,
- &i2c2_errors.pec_recep_cnt,
- &i2c2_errors.timeout_tlow_cnt,
- &i2c2_errors.smbus_alert_cnt,
- &i2c2_errors.unexpected_event_cnt,
- &i2c2_errors.last_unexpected_event);
+ &i2c1_errors.ack_fail_cnt,
+ &i2c1_errors.miss_start_stop_cnt,
+ &i2c1_errors.arb_lost_cnt,
+ &i2c1_errors.over_under_cnt,
+ &i2c1_errors.pec_recep_cnt,
+ &i2c1_errors.timeout_tlow_cnt,
+ &i2c1_errors.smbus_alert_cnt,
+ &i2c1_errors.unexpected_event_cnt,
+ &i2c1_errors.last_unexpected_event);
});
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paparazzi-commits] [5420] added telemetry,
antoine drouin <=