<!DOCTYPE module SYSTEM "module.dtd">

<module name="telemetry_sim" dir="datalink" task="datalink">
  <doc>
    <description>
      Telemetry using IVY for basic FW simulator

      only a copy of telemetry ivy limited to sim target for now
    </description>
  </doc>
  <header>
    <file name="ivy_dl.h"/>
  </header>
  <init fun="ivy_dl_init()"/>
  <makefile target="sim">
    <define name="DOWNLINK"/>
    <define name="PERIODIC_TELEMETRY"/>
    <define name="DOWNLINK_DEVICE" value="ivy_tp"/>
    <define name="DOWNLINK_TRANSPORT" value="ivy_tp"/>
    <file name="ivy_dl.c"/>
    <file name="downlink.c" dir="subsystems/datalink"/>
    <file name="datalink.c" dir="subsystems/datalink"/>
    <file name="telemetry.c" dir="subsystems/datalink"/>
    <file name="ivy_transport.c" dir="pprzlink/src"/>
    <file name="fixedwing_datalink.c" dir="$(SRC_FIRMWARE)"/>
    <file name="ap_downlink.c" dir="$(SRC_FIRMWARE)"/>
    <file name="fbw_downlink.c" dir="$(SRC_FIRMWARE)"/>
  </makefile>
</module>

