Show
Ignore:
Timestamp:
04/09/10 16:20:22 (2 years ago)
Author:
icarus75
Message:

uc: add support for US split-phase supplies

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • flukso/trunk/uc/Makefile

    r121 r122  
    4545# Predefine the TYPE and SENSORx C macros in main.h via this Makefile. 
    4646# Override the defaults on the command line by typing: 
    47 # make TYPE=xxxx SENSOR0=yyyy ... 
     47# make PHASE=x METERCONST=y SENSOR0=z ... 
    4848# 
    4949DBG = 0 
    5050# 
    5151TYPE = 2300501 
     52PHASE = 1 
    5253METERCONST= 5508 
    5354# 
     
    5758SENSOR3 = 0123456789abcdef0123456789abcde3 
    5859# 
    59 CEXTRA = -D DBG=$(DBG) -D METERCONST=$(METERCONST) -D 'SENSOR0="$(SENSOR0)"' -D 'SENSOR1="$(SENSOR1)"' -D 'SENSOR2="$(SENSOR2)"' -D 'SENSOR3="$(SENSOR3)"' 
     60CEXTRA = -D DBG=$(DBG) -D PHASE=$(PHASE) -D METERCONST=$(METERCONST) -D 'SENSOR0="$(SENSOR0)"' -D 'SENSOR1="$(SENSOR1)"' -D 'SENSOR2="$(SENSOR2)"' -D 'SENSOR3="$(SENSOR3)"' 
    6061############################################################################### 
    6162