Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
sys_time module

Sys-time peripheral

No detailed description...

Example for airframe file

Add to your firmware section: This example contains all possible configuration options, not all of them are mandatory!

<module name="sys_time">
b'<configure name="SYS_TIME_LED" value="none|num" />\n '
</module>

Module configuration options

Configure Options

  • name: SYS_TIME_LED value: none|num
    Description: LED number used for systime heartbeat or 'none' to disable

Files

Header Files

The following headers are automatically included in modules.h

Source Files

Raw sys_time.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="sys_time" dir="mcu_periph" task="mcu">
<doc>
<description>
Sys-time peripheral
</description>
<configure name="SYS_TIME_LED" value="none|num" description="LED number used for systime heartbeat or 'none' to disable"/>
</doc>
<header>
<file name="sys_time.h" dir="mcu_periph"/>
</header>
<makefile>
<configure name="SYS_TIME_LED" default="none"/>
<define name="SYS_TIME_LED" value="$(SYS_TIME_LED)" cond="ifneq ($(SYS_TIME_LED), none)"/>
<file name="sys_time.c" dir="mcu_periph"/>
<file_arch name="sys_time_arch.c" dir="mcu_periph"/>
<flag name="LDFLAGS" value="lrt" cond="ifeq ($(ARCH), linux)"/>
</makefile>
</module>