Commit c2e21364 authored by Jeroen Vreeken's avatar Jeroen Vreeken
Browse files

Fix detection of host system for native builds.

Simplify vesp.ctrl to get succesfull 'make test'
parent 21d1d47e
......@@ -2,9 +2,9 @@ AC_INIT(dt_ctrl, git)
AC_SUBST(HOSTSYS,["$ac_cv_env_host_alias_value"])
AC_SUBST(BUILDSYS,["$ac_cv_env_build_alias_value"])
AS_IF([test "$ac_cv_env_host_alias_value" == ""],[HOSTSYS=`uname -m`],[])
AS_IF([test "$HOSTSYS" == ""],[HOSTSYS_TMP=`uname -m`],[HOSTSYS_TMP="$HOSTSYS"])
AS_IF([echo "$HOSTSYS" | grep "arm"],[HAVE_ARM=1],[HAVE_ARM=0])
AS_IF([echo "$HOSTSYS_TMP" | grep "arm"],[HAVE_ARM=1],[HAVE_ARM=0])
#######################################################################
#
......
......@@ -5,23 +5,23 @@ trigger {
blocks (100.0, 0.0) {
{ "vesp_sim", "vespsim" }
{ "vesp_sensor_co", "co_sensor", "vespsim", 42 }
# { "vesp_sensor_co", "co_sensor", "vespsim", 42 }
{ "test_output_bool", "operational" }
{ "test_output_float", "co_sensor_ppm" }
# { "test_output_float", "co_sensor_ppm" }
}
links {
{ "vespsim", "operational", "operational", "value", true }
{ "co_sensor", "ppm", "co_sensor_ppm", "value", true }
# { "co_sensor", "ppm", "co_sensor_ppm", "value", true }
}
params {
{ "operational", "value", 4, (int) { true, true, true, true } }
{ "co_sensor_ppm", "value", 4,
(float){ 0.0, 0.0, 0.0, 0.0 },
(float){ 0.0, 0.0, 0.0, 0.0 }
}
# { "co_sensor_ppm", "value", 4,
# (float){ 0.0, 0.0, 0.0, 0.0 },
# (float){ 0.0, 0.0, 0.0, 0.0 }
# }
}
Supports Markdown
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