Implement battery and temperature sensors.

On the raven, the battery and temperature readings are available
from the companion 3290 cpu over the serial line.
Modify the existing raven-lcd-interface application to export
these sensors.
This commit is contained in:
Cristiano De Alti 2015-09-21 22:45:57 +02:00
parent c792993664
commit d2528caa85
3 changed files with 93 additions and 1 deletions

View file

@ -1,4 +1,4 @@
raven-lcd-interface_src = raven-lcd.c
CFLAGS+=-DRAVEN_LCD_INTERFACE=1
CFLAGS+=-DRAVEN_LCD_INTERFACE=1 -DPLATFORM_HAS_BATTERY -DPLATFORM_HAS_TEMPERATURE