Files
paparazzi/conf/modules/i2c_abuse_test.xml
T
2021-04-14 14:05:17 +02:00

25 lines
558 B
XML

<!DOCTYPE module SYSTEM "module.dtd">
<module name="i2c_abuse_test" dir="benchmark">
<doc>
<description></description>
</doc>
<header>
<file name="i2c_abuse_test.h"/>
</header>
<init fun="init_i2c_abuse_test()"/>
<periodic fun="periodic_50Hz_i2c_abuse_test()" period="0.02" autorun="TRUE" />
<event fun="event_i2c_abuse_test()" />
<makefile>
<file name="i2c_abuse_test.c"/>
<raw>
ifeq ($(ARCH), stm32)
$(TARGET).CFLAGS += -DI2C_ABUSE_LED=7
$(TARGET).CFLAGS += -DI2C_ABUSE_PORT=i2c2
endif
</raw>
</makefile>
</module>