mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
25 lines
558 B
XML
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>
|
|
|