History of MembersPage/JohanRius/MyMake
Older Newer
2005-01-23 08:06:20 . . . . MembersPage/MarcellGal [checked file]


Changes by last author:

Added:
Here is the my_make-file i use

<code>

# This file is a sample file in CVS repository firmware/doc

# 1) copy it from the firmware/doc/ directory (up one level to firmware/)

# 2) change it to your taste.

# It is your personal configuration file in which eg. LCD display can be enabled

# 3) recompile the firmware

# 4) save it and publish together with your config and tables files.

# Both are very important, should you need help.

# board type:

# MY_CONF += -D GENBOARD

MY_CONF += -D GENBOARDv3

# MY_CONF += -D AFRESHBOARD

MY_CONF += -D MSNS

# When you have MC34151 chips on v3 (now standard), you need this:

MY_CONF += -D FETDRIVER_INVERTING

# LCD display

# to enable

MY_CONF += -D LCD

# specify size

#MY_CONF += -D LCD_2x16

#MY_CONF += -D LCD_4x16

MY_CONF += -D LCD_4x20

# specify character set

#MY_CONF += -D JAPANESE_LCD

# 4x3 Keyboard (almost useless)

#MY_CONF += -D KEYBOARD

# Software PWM idle valve (was: IDLE_PWM_SOFT)

# control moved to config.iac_conf

# PS2 keyboard (very useful)

MY_CONF += -D PS2KEYBOARD

# Generate debug statistics

MY_CONF += -D BENCHMARK

# Display temperatures in Celcius

MY_CONF += -D CELSIUS

# High precision VE-table used in fuelcalculations by default

#MY_CONF += -D LOW_PRECISION_VE

# disable ignition:

#MY_CONF += -D NOIGN

# makes MISC output high after powerup (needed for bootloader, but is it used?)

#MY_CONF += -D IGN_OUT_INVERTED

# this is default for v3 (so not needed any more, but set h[2] table and config.ignchmax):

# MY_CONF += -D DIRECT_IGN

MY_CONF += -D IGN_DUALOUT

# MSTweak3000 is broken, we zero the idle bit (send status & 127) so it does not fall to knees

MY_CONF += -D MS_COMPATIBILITY

# WBO2 related config: (you need a license to enable it, see Copyright in wbo2.c)

# WBO2 support on v2 (with helper circuit) will be gone soon

MY_CONF += -D WBO2

# MY_CONF += -D HEATER_INVERTED

# MY_CONF += -D HEATER_PORT=PORTB

# MY_CONF += -D HEATER=6

# Enable 8x16 tables

# MY_CONF += -D VE_SIZE_RPM=16

# Other things ...

#MY_CONF += -D BUTTON

#MY_CONF += -D COMM_AUTO_DUMP

#MY_CONF += -D VAL_T_16BIT

#MY_CONF += -D PHASESIGNAL

# for v3 with lotsof free outputs, this is nice.

# set parameters in config (possible to disable in config as well!):

# MY_CONF += -D WOT_OUTPUT_TPS_THRESHOLD

# Programmable miscellaneous outputs (like the WOT above, but RPM, TPS and MAP can be used in conjunction)

# Possible usages: shift light, electronic boost control, N2O output, dummy secondary inj. enabling, etc.

# MY_CONF += -D MISC1OUT

# MY_CONF += -D MISC2OUT

# there are other things, which are only interesting for developers

# or serious (nonstandard) hacks: you can override almost anything. Eg LCD_MAPPING

# can select an AVR => LCD portmapping which is not standard for the given board type,

# and even the port used for DATA and the pin used for ENABLE can be chosen individually

</code>

Also i made these changes to global.h

<code>

// version number of B&G MegaSquirt

#ifdef MSNS

#define BG_EMULATION 30

#else

#define BG_EMULATION 32

#endif

</code>

Looks OK.

MS_COMPATIBILITY and MSNS options will affect communication compatibility with different tuningsoftwares. Emil is more uptodate on this than me. I guess you are using the megasquirtnspark tuningsoftware.