#!/bin/sh mode=$1 i2c_bus=$2 chip_slave=$3 server_platform=$4 server_type=$5 test_data1=$2 test_data2=$3 path=`pwd` fmt_print="${path}/format_print.sh" i2c_script="${path}/i2c_${server_platform}.sh" server_script="${path}/platform_${server_type}.sh" # EMC1413 channel name EMC1413_Channel0_name="Channel0" EMC1413_Channel1_name="Channel1" EMC1413_Channel2_name="Channel2" REG_emc1413_TD1_H="0x00" REG_emc1413_TD1_L="0x29" REG_emc1413_TD2_H="0x01" REG_emc1413_TD2_L="0x10" REG_emc1413_TD3_H="0x23" REG_emc1413_TD3_L="0x24" print_help(){ echo "---------------------------------------------------------" echo "