attempt to get pwm_input and xtend_rssi module working:

* added pwm_input.c and pwm_input_arch.c to sources
* make pwm_input_isr normal void functions for now
* define PWM_INPUT_ITx to zero if not used
This commit is contained in:
Felix Ruess
2011-11-07 20:27:51 +01:00
committed by Stephen Dwyer
parent 3154730a7b
commit fff2dabbb8
5 changed files with 85 additions and 68 deletions
+4 -3
View File
@@ -12,11 +12,12 @@
</header>
<init fun="xtend_rssi_init()"/>
<periodic fun="xtend_rssi_periodic()" freq="2."/>
<makefile>
<file name="xtend_rssi.c"/>
</makefile>
<makefile target="ap">
<file name="xtend_rssi.c"/>
<file name="pwm_input.c" dir="mcu_periph"/>
<file_arch name="pwm_input_arch.c" dir="mcu_periph"/>
<define name="XTEND_RSSI_PWM_INPUT_CHANNEL" value="$(XTEND_RSSI_PWM_INPUT_CHANNEL)"/>
<define name="USE_PWM_INPUT"/>
<define name="USE_PWM_INPUT$(XTEND_RSSI_PWM_INPUT_CHANNEL)" value="PWM_PULSE_TYPE_ACTIVE_HIGH"/>
</makefile>
</module>