40 #ifndef FILE_SYSTEM_CONFIG_H_SEEN
41 #define FILE_SYSTEM_CONFIG_H_SEEN
47 #define DEFAULT_ID 1 // RIP original Volvo! (should have been 1)
48 #define TRUCK_ID 2 // Won't be in use for some time!
49 #define HOTEL_ID 3 // So reliable, we've not heard from him in months
50 #define PRESTO_ID 4 // Lost in service
51 #define SEANKLT1_ID 5 // Driven yearly, maybe
53 #define SNOTROCKET_ID 7 // Another one that's too reliable
54 #define SPUDMN_ID 8 // Occasionally comes out of the garage to race
55 #define SLATER_ID 9 // Occasionally comes out of the garage to do burnouts
56 #define PETERJSERIES_ID 10 // Winter thrasher, works so well he refuses to whinge
57 #define DEUCECOUPE_ID 11 // Work in progress, ignition not setup yet
58 #define PETERTRUCK_ID 12 // Work horse vehicle, about to get boosted
61 #define SCAVENGER_ID 15 // Hacked up Miata turbo from the south!
62 #define DEUCES10_ID 16 // Work in progress
79 #warning "CONFIG variable already defined! Manual use not advised!"
81 #define CONFIG DEFAULT_ID
82 #define PRELIM_CONFIG "Default"
84 #define CONFIG TRUCK_ID
85 #define PRELIM_CONFIG "TRUCK"
87 #define CONFIG HOTEL_ID
88 #define PRELIM_CONFIG "HOTEL"
90 #define CONFIG PRESTO_ID
91 #define PRELIM_CONFIG "PRESTO"
92 #elif defined SEANKLT1
93 #define CONFIG SEANKLT1_ID
94 #define PRELIM_CONFIG "SEANKLT1"
95 #elif defined SNOTROCKET
96 #define CONFIG SNOTROCKET_ID
97 #define PRELIM_CONFIG "SNOTROCKET"
99 #define CONFIG SPUDMN_ID
100 #define PRELIM_CONFIG "SPUDMN"
102 #define CONFIG SLATER_ID
103 #define PRELIM_CONFIG "SLATER"
104 #elif defined PETERJSERIES
105 #define CONFIG PETERJSERIES_ID
106 #define PRELIM_CONFIG "PETERJSERIES"
107 #elif defined DEUCECOUPE
108 #define CONFIG DEUCECOUPE_ID
109 #define PRELIM_CONFIG "DEUCECOUPE"
110 #elif defined PETERTRUCK
111 #define CONFIG PETERTRUCK_ID
112 #define PRELIM_CONFIG "PETERTRUCK"
114 #define CONFIG PIOLIN_ID
115 #define PRELIM_CONFIG "PIOLIN"
116 #elif defined MIKEC383
117 #define CONFIG MIKEC383_ID
118 #define PRELIM_CONFIG "MIKEC383"
119 #elif defined SCAVENGER
120 #define CONFIG SCAVENGER_ID
121 #define PRELIM_CONFIG "SCAVENGER"
122 #elif defined DEUCES10
123 #define CONFIG DEUCES10_ID
124 #define PRELIM_CONFIG "DEUCES10"
125 #elif defined SEANKR1
126 #define CONFIG SEANKR1_ID
127 #define PRELIM_CONFIG "SEANKR1"
129 #define CONFIG HOTCAT_ID
130 #define PRELIM_CONFIG "HOTCAT"
131 #elif defined ELITH_ER12
132 #define CONFIG ELITH_ER12_ID
133 #define PRELIM_CONFIG "ELITH_ER12"
134 #elif defined ELITH_ER13
135 #define CONFIG ELITH_ER13_ID
136 #define PRELIM_CONFIG "ELITH_ER13"
137 #elif defined ONIONMOBILE
138 #define CONFIG ONIONMOBILE_ID
139 #define PRELIM_CONFIG "ONIONMOBILE"
140 #elif defined VOLVERC
141 #define CONFIG VOLVERC_ID
142 #define PRELIM_CONFIG "VOLVERC"
143 #elif defined TOXICTACOMA
144 #define CONFIG TOXICTACOMA_ID
145 #define PRELIM_CONFIG "TOXICTACOMA"
146 #elif defined AITOR51
147 #define CONFIG AITOR51_ID
148 #define PRELIM_CONFIG "AITOR51"
149 #elif defined MATTHIJS309T
150 #define CONFIG MATTHIJS309T_ID
151 #define PRELIM_CONFIG "MATTHIJS309T"
152 #elif defined WIKISPEEDR18
153 #define CONFIG WIKISPEEDR18_ID
154 #define PRELIM_CONFIG "WIKISPEEDR18"
155 #elif defined JOSHSB18MINI
156 #define CONFIG JOSHSB18MINI_ID
157 #define PRELIM_CONFIG "JOSHSB18MINI"
159 #define CONFIG BMSTBO_ID
160 #define PRELIM_CONFIG "BMSTBO"
161 #elif defined CLIFLAGS && !(defined XGATE)
162 #error "CLIFLAGS defined, but no build matched! Not allowing config to fall back to default!"
165 #define CONFIG DEFAULT_ID
166 #define PRELIM_CONFIG "Default"
171 #warning "CONFIG variable has value of zero, which it has without being defined, this is not allowed!"
177 #warning "XGATE is currently not recommended, nor thoroughly tested! Use at your own risk and without support! goo.gl/LCOMR" // Remove this line to build. See http://forum.diyefi.org/viewtopic.php?f=8&t=1700
178 #define BUILD_CONFIG PRELIM_CONFIG "-XGATE"
181 #define BUILD_CONFIG PRELIM_CONFIG
186 #define MAX_NUMBER_OF_OUTPUT_EVENTS 24
187 #define ECT_CHANNELS 6
192 #define TX_BUFFER_SIZE 0x0820
193 #define RX_BUFFER_SIZE 0x0810
196 #define ADC_NUMBER_OF_VALUES 1024
197 #define ADC_DIVISIONS (ADC_NUMBER_OF_VALUES - 1)
198 #define ADC_MAX_VALUE (ADC_NUMBER_OF_VALUES - 1)
203 #warning "Header file SYSTEM_CONFIG_H seen before, sort it out!"