
# This file is automatically generated when a firmware is compiled
# it should be distributed with the specific firmware version and
# using it with another might cause unwanted results

firmware_type = msavr
firmware_version = 0.1.17
firmware_date = 030606_13:48:52
# this depends on what's in my_make:
firmware_config_hash = 0xdeadbeef

# comments are comments

# table is a 2 dimensional table that refers to an x and a y scale (bin)
# this is a 16x12 table
table1_name = ignition
table1_label = Ignition
table1_bits = 8
table1_xlabel = RPM
table1_xres = 16
table1_xbins = 1
table1_ylabel = MAP
table1_yres = 12
table1_ybins = 2

table1_units = 0.2 degree

# this is the x scale for table1 (see table1_xbins), which have 16 ranges (15 values??)
bin1_name = rpm_scale
bin1_units = 50 per_min
bin1_res = 16

bin2_name = MAP_scale
bin2_units = kPa
bin2_res = 12

# megatunix should send commands like write_to_table(tablenum=1 x=4 y=6 value=239)
# but make sure to send the bins first (so that table has the correct scale)
# rescaling on the highway at high speed is not recommended anyway
# Batch commands (eg. send a table_line at a time) are nice, but not a must.

# megatunix must check for firmware version (not 1 byte ;-)) and 
# see if it can find $configdir/firmware_type/firmware_config_hash.cfg file
# or based on some characteristic variables.. 
# If it can find the file in the given filename, that has a bad internal
# firmware-description, it should print a HUGE warning  (but allow to go on..)
# 

