Files
paparazzi/conf/modules/sys_time.xml
2020-11-09 21:55:16 +01:00

22 lines
726 B
XML

<!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>