<!DOCTYPE module SYSTEM "module.dtd">

<module name="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), lpc21)
$(TARGET).CFLAGS += -DI2C_ABUSE_LED=3
$(TARGET).CFLAGS += -DUSE_I2C0
$(TARGET).CFLAGS += -DI2C_ABUSE_PORT=i2c0
else ifeq ($(ARCH), stm32)
$(TARGET).CFLAGS += -DI2C_ABUSE_LED=7
$(TARGET).CFLAGS += -DI2C_ABUSE_PORT=i2c2
endif

    </raw>
  </makefile>
</module>

