1 /* FreeEMS - the open source engine management system
3 Copyright 2008, 2009 Fred Cooke
5 This file is part of the FreeEMS project.
7 FreeEMS software is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
12 FreeEMS software is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with any FreeEMS software. If not, see http://www.gnu.org/licenses/
20 We ask that if you make any changes to this file you email them upstream to
21 us at admin(at)diyefi(dot)org or, even better, fork the code on github.com!
23 Thank you for choosing FreeEMS to run your engine! */
26 /** @file FixedConfig1.c
27 * @ingroup dataInitialisers
29 * @brief First fixed config block
31 * This file contains the definition of the first fixed configuration block.
32 * The declaration can be found in the global constants header file.
34 * Please ensure that all variables added here have good default values.
40 #include "inc/freeEMS.h"
43 /// @todo TODO for coreSettingsA masks See definitions in freeEMS.h OR is it in structs.h ???
44 /// @todo TODO divide fixedConfig1 into useful chunks
45 /// @todo TODO create presets sensor values struct
46 /// @todo TODO create engine setup struct
47 /// @todo TODO create ranges struct
48 /// @todo TODO add userTextField1 to the dictionary/address lookup
51 /** @copydoc fixedConfig1 */
52 const volatile fixedConfig1 fixedConfigs1 FIXEDCONF1
= {
55 typicalCylinderSize
, /* perCylinderVolume */
56 stoichiometricAFROctane
, /* stoichiometricAFR */
57 typicalInjectorSize
, /* injectorFlow */
58 densityOfOctane
, /* densityOfFuelAtSTP */
60 500, /* capacityOfAirPerCombustionEvent */
61 550, /* perPrimaryInjectorChannelFlowRate */
62 550, /* perSecondaryInjectorChannelFlowRate */
65 6, /* combustionEventsPerEngineCycle */
66 2, /* revolutionsPerEngineCycle */
67 24, /* primaryTeeth */
72 divisorFor115200bps
, /* baudDivisor */
73 1 /* networkAddress */
77 tachoTickFactor4at50
, /* tachoTickFactor */
78 tachoTotalFactor4at50
/* tachoTotalFactor */
81 0x07F0, /* coreSettingsA */
83 {"Place your personal notes about whatever you like in here! Don't hesitate to tell us a story about something interesting. Do keep in mind though that when you upload your settings file to the forum this message WILL be visible to all and sundry, so don't be putting too many personal details, bank account numbers, passwords, PIN numbers, license plates, national insurance numbers, IRD numbers, social security numbers, phone numbers, email addresses, love stories and other private information in this field. In fact it is probably best if you keep the information stored here purely related to the vehicle that this system is installed on and relevant to the state of tune and configuration of settings. Lastly, please remember that this field WILL be shrinking in length from it's currently large size to something more reasonable in future. I would like to attempt to keep it at least thirty two characters long though, so writing that much is a non issue, but more won't be possible later!!"}