• Alessandro Rubini's avatar
    temperature: add a fake temperature-set to show how to use it · c58702a0
    Alessandro Rubini authored
    We have three temperatures, called "roof", "core", "case"
    (yess rubi like word same lengt, s/he most love four).
    
    There is a "faketemp" command that can set one two or all of them.
    This allows to test negative temperatures in printouts (White Rabbit
    in Siberia does it, but we southish can't test easily).
    
    All temperatures are initialized to invalid. Example:
    
       wrc# faketemp -10 -2.5
       wrc# faketemp
       fff60000 fffd8003 80000000
       wrc# temp
       pcb:84.7500 roof:-10.0000 core:-2.4999 case:INVALID
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    c58702a0
Name
Last commit
Last update
..
ad9516.c Loading commit data...
ad9516_config.h Loading commit data...
dev.mk Loading commit data...
devicelist.c Loading commit data...
eeprom.c Loading commit data...
endpoint.c Loading commit data...
ep_pfilter.c Loading commit data...
fake-temp.c Loading commit data...
flash.c Loading commit data...
i2c.c Loading commit data...
minic.c Loading commit data...
pps_gen.c Loading commit data...
rxts_calibrator.c Loading commit data...
sdb-storage.c Loading commit data...
sfp.c Loading commit data...
syscon.c Loading commit data...
temp-w1.c Loading commit data...
temperature.c Loading commit data...
timer-wrs.c Loading commit data...
uart-sw.c Loading commit data...
uart.c Loading commit data...
w1-eeprom.c Loading commit data...
w1-hw.c Loading commit data...
w1-shell.c Loading commit data...
w1-temp.c Loading commit data...
w1.c Loading commit data...