yet more pch (#3068)

* big pch energy

* put back ramdisk stub

* tests are happy

* h743 nucleo

* kinetis

* I love deleting code!

* make stepper happy

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
This commit is contained in:
Matthew Kennedy 2021-08-03 19:05:01 -07:00 committed by GitHub
parent ea6487f5c7
commit 4e6b61234f
268 changed files with 301 additions and 606 deletions

View File

@ -1,6 +1,6 @@
#include "global.h"
#include "pch.h"
#include "hardware.h"
#include "efi_gpio.h"
#include "flash_int.h"

View File

@ -1,7 +1,7 @@
#include "global.h"
#include "pch.h"
#include "hardware.h"
#include "efi_gpio.h"
#ifdef __cplusplus
extern "C"

View File

@ -10,12 +10,8 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#include "global.h"
#include "engine.h"
#include "engine_math.h"
#include "allsensors.h"
#include "pch.h"
#include "fsio_impl.h"
#include "engine_configuration.h"
static void hellenWbo() {
engineConfiguration->enableAemXSeries = true;

View File

@ -10,12 +10,8 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#include "global.h"
#include "engine.h"
#include "engine_math.h"
#include "allsensors.h"
#include "pch.h"
#include "fsio_impl.h"
#include "engine_configuration.h"
static void hellenWbo() {
engineConfiguration->enableAemXSeries = true;

View File

@ -10,12 +10,8 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#include "global.h"
#include "engine.h"
#include "engine_math.h"
#include "allsensors.h"
#include "pch.h"
#include "fsio_impl.h"
#include "engine_configuration.h"
static void hellenWbo() {
engineConfiguration->enableAemXSeries = true;

View File

@ -10,12 +10,8 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#include "global.h"
#include "engine.h"
#include "engine_math.h"
#include "allsensors.h"
#include "pch.h"
#include "fsio_impl.h"
#include "engine_configuration.h"
static void setInjectorPins() {
engineConfiguration->injectionPins[0] = GPIOG_7;

View File

@ -10,12 +10,8 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#include "global.h"
#include "engine.h"
#include "engine_math.h"
#include "allsensors.h"
#include "pch.h"
#include "fsio_impl.h"
#include "engine_configuration.h"
static void hellenWbo() {
engineConfiguration->enableAemXSeries = true;

View File

@ -18,12 +18,8 @@
* @author Matthew Kennedy, (c) 2019
*/
#include "global.h"
#include "engine.h"
#include "engine_math.h"
#include "allsensors.h"
#include "pch.h"
#include "fsio_impl.h"
#include "engine_configuration.h"
static void setInjectorPins() {
engineConfiguration->injectionPins[0] = TLE8888_PIN_1;

View File

@ -6,12 +6,8 @@
* @author andreika, (c) 2018
*/
#include "global.h"
#include "engine.h"
#include "engine_math.h"
#include "allsensors.h"
#include "pch.h"
#include "fsio_impl.h"
#include "engine_configuration.h"
// Warning! This is a test config!

View File

@ -1,4 +1,4 @@
#include "adc_inputs.h"
#include "pch.h"
/**
* @brief Board-specific pin configuration code overrides. Needed by bootloader code.

View File

@ -7,12 +7,8 @@
* @author andreika, (c) 2017
*/
#include "global.h"
#include "engine.h"
#include "engine_math.h"
#include "allsensors.h"
#include "pch.h"
#include "fsio_impl.h"
#include "engine_configuration.h"
#ifdef STM32F469xx
static bool is469 = true;

View File

@ -6,9 +6,7 @@
* @author Matthew Kennedy, (c) 2019
*/
#include "engine_configuration.h"
#include "engine_math.h"
#include "allsensors.h"
#include "pch.h"
#include "fsio_impl.h"
static const brain_pin_e injPins[] = {

View File

@ -7,12 +7,8 @@
* @author Andrey Gusakov, 2021
*/
#include "global.h"
#include "engine.h"
#include "engine_math.h"
#include "allsensors.h"
#include "pch.h"
#include "fsio_impl.h"
#include "engine_configuration.h"
#include "smart_gpio.h"
#include "drivers/gpio/mc33810.h"

View File

@ -11,11 +11,9 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#include "global.h"
#include "pch.h"
#include "GY6_139QMB.h"
#include "engine_math.h"
#include "engine_configuration.h"
#include "allsensors.h"
#include "advance_map.h"
static void setDefault139qmbMaps(DECLARE_CONFIG_PARAMETER_SIGNATURE) {

View File

@ -60,6 +60,8 @@
*
*/
#include "pch.h"
#include "bmw_m73.h"
#include "fsio_impl.h"

View File

@ -8,8 +8,9 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#include "pch.h"
#include "chevrolet_camaro_4.h"
#include "engine_math.h"
#include "custom_engine.h"
void setCamaro4(DECLARE_CONFIG_PARAMETER_SIGNATURE) {

View File

@ -9,11 +9,10 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#include "engine_math.h"
#include "thermistors.h"
#include "pch.h"
#include "citroenBerlingoTU3JP.h"
#include "custom_engine.h"
#include "settings.h"
#if IGN_LOAD_COUNT == DEFAULT_IGN_LOAD_COUNT
static const uint8_t default_tps_advance_table[16][16] = {

View File

@ -11,10 +11,9 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#include "pin_repository.h"
#include "pch.h"
#include "custom_engine.h"
#include "allsensors.h"
#include "engine_math.h"
#include "fsio_impl.h"
#if EFI_ELECTRONIC_THROTTLE_BODY

View File

@ -12,13 +12,9 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#include "global.h"
#include "pch.h"
#include "dodge_neon.h"
#include "engine_configuration.h"
#include "thermistors.h"
#include "engine_math.h"
#include "allsensors.h"
#include "custom_engine.h"

View File

@ -7,11 +7,10 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#include "global.h"
#include "pch.h"
#include "dodge_ram.h"
#include "custom_engine.h"
#include "allsensors.h"
#include "engine_math.h"
void setDodgeRam1996(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
setFrankensoConfiguration(PASS_CONFIG_PARAMETER_SIGNATURE);

View File

@ -11,10 +11,9 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#include "global.h"
#include "pch.h"
#include "ford_1995_inline_6.h"
#include "engine_math.h"
#include "allsensors.h"
/**
* @brief Default values for persistent properties

View File

@ -9,14 +9,11 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#include "global.h"
#include "pch.h"
#include "ford_aspire.h"
#include "allsensors.h"
#include "engine_math.h"
#include "advance_map.h"
#include "engine_configuration.h"
#if IGN_LOAD_COUNT == DEFAULT_IGN_LOAD_COUNT
static const int8_t default_aspire_timing_table[16][16] = {

View File

@ -11,11 +11,9 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#include "pch.h"
#include "ford_festiva.h"
#include "thermistors.h"
#include "engine_math.h"
#include "maf.h"
#include "ego.h"
#include "fsio_impl.h"
#include "mazda_miata.h"
#include "custom_engine.h"

View File

@ -7,10 +7,10 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#include "pch.h"
#include "engine_template.h"
#include "honda_600.h"
#include "allsensors.h"
#include "engine_math.h"
#include "custom_engine.h"
#if EFI_PROD_CODE

View File

@ -27,11 +27,9 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#include "global.h"
#include "thermistors.h"
#include "pch.h"
#include "honda_accord.h"
#include "engine_math.h"
#include "settings.h"
#include "advance_map.h"
#include "custom_engine.h"

View File

@ -7,6 +7,8 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#include "pch.h"
#include "lada_kalina.h"
#include "custom_engine.h"
#include "fsio_impl.h"

View File

@ -7,13 +7,11 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#include "global.h"
#include "pch.h"
#include "mazda_626.h"
#include "engine_math.h"
#include "custom_engine.h"
#include "allsensors.h"
#include "fsio_impl.h"
#include "settings.h"
void setMazda626EngineConfiguration(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
setFrankensoConfiguration(PASS_CONFIG_PARAMETER_SIGNATURE);

View File

@ -14,12 +14,11 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#include "global.h"
#include "pch.h"
#include "fsio_impl.h"
#include "mazda_miata.h"
#include "engine_math.h"
#include "advance_map.h"
#include "allsensors.h"
#include "custom_engine.h"

View File

@ -12,9 +12,10 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#include "pch.h"
#include "custom_engine.h"
#include "fsio_impl.h"
#include "thermistors.h"
#include "mazda_miata_1_6.h"
#include "mazda_miata_base_maps.h"

View File

@ -5,8 +5,7 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#include "engine_configuration.h"
#include "table_helper.h"
#include "pch.h"
// todo: use these defaults wider? make them global defaults maybe?
static const float hardCodedcrankingFuelBins[8] = {-20.0, -10.0, 3.6799927, 22.77002, 34.049805, 49.95996, 65.0, 90.0};

View File

@ -14,11 +14,11 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#include "pch.h"
#include "mazda_miata_vvt.h"
#include "custom_engine.h"
#include "fsio_impl.h"
#include "ego.h"
#include "thermistors.h"
// todo: why would this not work?
//extern const float mazda_miata_nb2_RpmBins[FUEL_RPM_COUNT];

View File

@ -12,8 +12,9 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#include "pch.h"
#include "mazda_miata_nb.h"
#include "thermistors.h"
void setMazdaMiataNb1EngineConfiguration(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
setDefaultFrankensoConfiguration(PASS_CONFIG_PARAMETER_SIGNATURE);

View File

@ -46,11 +46,11 @@
* idle solenoid PC13 on middle harness plug. diodes seem to be in the harness
*/
#include "pch.h"
#include "mazda_miata_vvt.h"
#include "custom_engine.h"
#include "fsio_impl.h"
#include "ego.h"
#include "thermistors.h"
#include "mazda_miata_base_maps.h"
#include "hip9011_logic.h"

View File

@ -5,13 +5,10 @@
* Author: Ola
*/
#include "me7pnp.h"
#include "pch.h"
#include "engine.h"
#include "engine_math.h"
#include "allsensors.h"
#include "me7pnp.h"
#include "fsio_impl.h"
#include "engine_configuration.h"
#include "cj125.h"
/**

View File

@ -9,10 +9,10 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#include "global.h"
#include "pch.h"
#include "fsio_impl.h"
#include "mitsubishi.h"
#include "allsensors.h"
void setMitsubishiConfiguration(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
setDefaultFrankensoConfiguration(PASS_CONFIG_PARAMETER_SIGNATURE);

View File

@ -8,7 +8,7 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#include "global.h"
#include "pch.h"
#include "nissan_primera.h"

View File

@ -8,9 +8,9 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#include "pch.h"
#include "sachs.h"
#include "allsensors.h"
#include "engine_math.h"
void setSachs(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
setDefaultFrankensoConfiguration(PASS_CONFIG_PARAMETER_SIGNATURE);

View File

@ -8,9 +8,10 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#include "pch.h"
#include "subaru.h"
#include "custom_engine.h"
#include "allsensors.h"
void setSubaru2003Wrx(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
setFrankenso_01_LCD(engineConfiguration);

View File

@ -11,9 +11,8 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#include "engine_configuration.h"
#include "pch.h"
#include "test_engine.h"
#include "engine_math.h"
// TEST_ENGINE
void setTestEngineConfiguration(DECLARE_CONFIG_PARAMETER_SIGNATURE) {

View File

@ -17,9 +17,10 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#include "pch.h"
#include "toyota_jzs147.h"
#include "custom_engine.h"
#include "thermistors.h"
#include "mazda_miata_vvt.h"
static void common2jz(DECLARE_CONFIG_PARAMETER_SIGNATURE) {

View File

@ -7,11 +7,10 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#include "global.h"
#include "pch.h"
#include "vw.h"
#include "custom_engine.h"
#include "ego.h"
#include "engine_math.h"
// VW_ABA
// set engine_type 32

View File

@ -5,11 +5,11 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#include "engine.h"
#include "pch.h"
#include "vw_b6.h"
#include "custom_engine.h"
#include "table_helper.h"
#include "map.h"
/**
* set engine_type 62

View File

@ -10,14 +10,13 @@
* @author andreika, (c) 2017
*/
#include "global.h"
#include "pch.h"
#include "os_access.h"
#include "allsensors.h"
#include "tunerstudio.h"
#include "tunerstudio_io.h"
#include "bluetooth.h"
#include "engine_configuration.h"
#include "thread_priority.h"
#if EFI_BLUETOOTH_SETUP

View File

@ -10,7 +10,7 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#include "global.h"
#include "pch.h"
#include "os_access.h"
#include "serial_can.h"

View File

@ -29,7 +29,7 @@
#define SIGNATURE_H QUOTE(SIGNATURE_NAME SHORT_BOARD_NAME SIGNATURE_EXT)
#if !EFI_UNIT_TEST
#include SIGNATURE_H
#include "signature_proteus_f4.h"
#pragma message ("TS_SIGNATURE: " TS_SIGNATURE)

View File

@ -5,18 +5,12 @@
* @author Matthew Kennedy
*/
#include "pch.h"
#include "tooth_logger.h"
#include "global.h"
#include "perf_trace.h"
#if EFI_TOOTH_LOGGER
#include <cstddef>
#include "efitime.h"
#include "efilib.h"
#include "tunerstudio_outputs.h"
typedef struct __attribute__ ((packed)) {
uint16_t timestamp;
} tooth_logger_s;

View File

@ -7,11 +7,7 @@
#pragma once
#include <cstdint>
#include <cstddef>
#include "efitime.h"
#include "rusefi_enums.h"
#include "engine.h"
#if EFI_UNIT_TEST
#include "logicdata.h"

View File

@ -59,10 +59,9 @@
*
*/
#include "global.h"
#include "pch.h"
#include "os_access.h"
#include "allsensors.h"
#include "tunerstudio.h"
#include "tunerstudio_impl.h"
@ -70,7 +69,6 @@
#include "flash_main.h"
#include "tunerstudio_io.h"
#include "tunerstudio_outputs.h"
#include "malfunction_central.h"
#include "console_io.h"
#include "crc.h"
@ -80,13 +78,11 @@
#include "electronic_throttle.h"
#include <string.h>
#include "engine_configuration.h"
#include "bench_test.h"
#include "svnversion.h"
#include "loggingcentral.h"
#include "status_loop.h"
#include "mmc_card.h"
#include "perf_trace.h"
#include "thread_priority.h"
#include "signature.h"

View File

@ -1,4 +1,4 @@
#include "global.h"
#include "pch.h"
#include "tunerstudio_impl.h"
#include "tunerstudio.h"

View File

@ -5,7 +5,7 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#include "engine.h"
#include "pch.h"
#include "os_access.h"
#include "tunerstudio_io.h"

View File

@ -3,11 +3,10 @@
* See also mlq_file_format.txt
*/
#include "pch.h"
#include "binary_logging.h"
#include "tunerstudio_outputs.h"
#include "log_field.h"
#include "efilib.h"
#include "efitime.h"
#include "crc.h"
#include "buffered_writer.h"

View File

@ -34,7 +34,8 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include "engine.h"
#include "pch.h"
#include "console_io.h"
#include "os_util.h"
#include "tunerstudio.h"

View File

@ -21,7 +21,8 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include "globalaccess.h"
#include "pch.h"
#include "os_access.h"
#include "eficonsole.h"
#include "console_io.h"

View File

@ -28,7 +28,6 @@
#include "status_loop.h"
#include "hip9011_logic.h"
#include "adc_inputs.h"
#if EFI_LOGIC_ANALYZER
#include "logic_analyzer.h"
#endif /* EFI_LOGIC_ANALYZER */

View File

@ -1,4 +1,4 @@
#include "global.h"
#include "pch.h"
#if EFI_USB_SERIAL

View File

@ -10,7 +10,6 @@
#pragma once
#include "engine.h"
void initAlternatorCtrl();
void startAlternatorPin(void);
void stopAlternatorPin(void);

View File

@ -6,7 +6,6 @@
*/
#pragma once
#include "engine.h"
#include "periodic_task.h"
#include "closed_loop_controller.h"
#include "pid.h"

View File

@ -8,7 +8,6 @@
#pragma once
#include <cstddef>
#include "global.h"
class DcMotor;

View File

@ -9,8 +9,6 @@
#pragma once
#include "engine.h"
void initIdleHardware(DECLARE_ENGINE_PARAMETER_SIGNATURE);
bool isIdleHardwareRestartNeeded();
bool isIdleMotorBusy(DECLARE_ENGINE_PARAMETER_SIGNATURE);

View File

@ -9,7 +9,6 @@
#pragma once
#include "global.h"
#include "cyclic_buffer.h"
#include "table_helper.h"
#include "wall_fuel_generated.h"

View File

@ -7,8 +7,6 @@
#pragma once
#include "engine.h"
angle_t getAdvance(int rpm, float engineLoad DECLARE_ENGINE_PARAMETER_SUFFIX);
void initTimingMap(DECLARE_ENGINE_PARAMETER_SIGNATURE);
float getTopAdvanceForBore(chamber_style_e style, int octane, double compression, double bore);

View File

@ -1,7 +1,5 @@
#pragma once
#include "engine.h"
class ValueProvider3D;
struct AirmassResult {

View File

@ -7,7 +7,7 @@
* @author Matthew Kennedy, (C) 2020
*/
#include "global.h"
#include "pch.h"
#include "speed_density_base.h"
/**

View File

@ -8,7 +8,7 @@
// todo: move this code to more proper locations
#include "pch.h"
#include "thermistors.h"
#include "speed_density.h"
#include "fuel_math.h"
#include "advance_map.h"

View File

@ -7,8 +7,6 @@
#pragma once
#include "global.h"
#include "engine_configuration_generated_structures.h"
#include "cyclic_buffer.h"
#include "timer.h"

View File

@ -1,5 +1,6 @@
#include "pch.h"
#include "fuel_computer.h"
#include "map.h"
mass_t FuelComputerBase::getCycleFuel(mass_t airmass, int rpm, float load) const {
load = getTargetLambdaLoadAxis(load);

View File

@ -1,7 +1,5 @@
#pragma once
#include "engine.h"
class ValueProvider3D;
using mass_t = float;

View File

@ -1,6 +1,5 @@
#pragma once
#include "engine.h"
#include "expected.h"
struct IInjectorModel {

View File

@ -19,7 +19,7 @@
*
* see #testGpsParser
*/
#include "global.h"
#include "pch.h"
#include <time.h>
#include "nmea.h"

View File

@ -5,7 +5,7 @@
* @author Andrey Belomutskiy, (c) 2012-2021
*/
#include "global.h"
#include "pch.h"
#include "runtime_state.h"
// todo: revive implementation! we shall measure how far is actual execution timestamp from desired execution timestamp

View File

@ -30,7 +30,6 @@
#include "can_msg_tx.h"
#include "vehicle_speed.h"
#include "fuel_math.h"
#include "thermistors.h"
static const int16_t supportedPids0120[] = {
PID_MONITOR_STATUS,

View File

@ -7,8 +7,6 @@
#pragma once
#include "global.h"
#define OBD_TEST_REQUEST 0x7DF
#define OBD_TEST_RESPONSE 0x7E8

View File

@ -21,7 +21,6 @@
#include <math.h>
#include <stdio.h>
#include "error_handling.h"
#include "auto_generated_enums.h"
#include "auto_generated_commonenum.h"
#include "efilib.h"

View File

@ -7,7 +7,6 @@
#pragma once
#include "global.h"
#include "obd_error_codes.h"
#ifdef __cplusplus

View File

@ -13,7 +13,7 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#include "global.h"
#include "pch.h"
#if EFI_FSIO
#include "os_access.h"

View File

@ -7,9 +7,6 @@
#pragma once
#include "engine.h"
#include "fl_stack.h"
#define MAX_TABLE_INDEX 4
typedef enum {

View File

@ -10,8 +10,6 @@
#include "fsio_core.h"
#include "expected.h"
#include "engine.h"
#include "table_helper.h"
#include "system_fsio.h"
// see useFSIO4ForSeriousEngineWarning

View File

@ -5,7 +5,7 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#include "global.h"
#include "pch.h"
#include "state_sequence.h"
#include "trigger_structure.h"

View File

@ -83,8 +83,6 @@
#include "init.h"
#endif /* EFI_UNIT_TEST */
#include "adc_inputs.h"
#if EFI_PROD_CODE
#include "pwm_tester.h"
#include "lcd_controller.h"

View File

@ -8,8 +8,6 @@
#pragma once
#include "engine.h"
char * getPinNameByAdcChannel(const char *msg, adc_channel_e hwChannel, char *buffer);
void initPeriodicEvents(DECLARE_ENGINE_PARAMETER_SIGNATURE);
void initEngineContoller(DECLARE_ENGINE_PARAMETER_SIGNATURE);
@ -31,4 +29,3 @@ void setMockIatVoltage(float voltage DECLARE_ENGINE_PARAMETER_SUFFIX);
void setMockCltVoltage(float voltage DECLARE_ENGINE_PARAMETER_SUFFIX);
void printCurrentState(Logging *logging, int seconds, const char *engineTypeName, const char *firmwareBuildId);

View File

@ -7,8 +7,6 @@
#pragma once
#include "engine.h"
void initAuxValves(DECLARE_ENGINE_PARAMETER_SIGNATURE);
void recalculateAuxValveTiming(DECLARE_ENGINE_PARAMETER_SIGNATURE);
void auxPlainPinTurnOn(AuxActor *current);

View File

@ -8,10 +8,10 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#include "pin_repository.h"
#include "pch.h"
#include "high_pressure_fuel_pump.h"
#include "spark_logic.h"
#include "map.h"
#if EFI_HPFP

View File

@ -7,6 +7,4 @@
#pragma once
#include "engine.h"
void initHPFP(DECLARE_ENGINE_PARAMETER_SIGNATURE);

View File

@ -9,8 +9,6 @@
#pragma once
#include "engine.h"
#include "event_registry.h"
void initMainEventListener(DECLARE_ENGINE_PARAMETER_SIGNATURE);

View File

@ -29,7 +29,6 @@
#include "map_averaging.h"
#include "trigger_central.h"
#include "adc_inputs.h"
#if EFI_SENSOR_CHART
#include "sensor_chart.h"

View File

@ -7,8 +7,6 @@
#pragma once
#include "engine.h"
#if EFI_MAP_AVERAGING
#if HAL_USE_ADC

View File

@ -7,8 +7,6 @@
#pragma once
#include "engine.h"
void onTriggerEventSparkLogic(bool limitedSpark, uint32_t trgEventIndex, int rpm, efitick_t edgeTimestamp DECLARE_ENGINE_PARAMETER_SUFFIX);
void turnSparkPinHigh(IgnitionEvent *event);
void fireSparkAndPrepareNextSchedule(IgnitionEvent *event);

View File

@ -8,8 +8,6 @@
#pragma once
#include "engine.h"
void readFromFlash();
void initFlash();

View File

@ -8,6 +8,8 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#include "pch.h"
#include "malfunction_central.h"
static error_codes_set_s error_codes_set;

View File

@ -8,7 +8,6 @@
#pragma once
#include "global.h"
#include "obd_error_codes.h"
#define MAX_ERROR_CODES_COUNT 10

View File

@ -10,8 +10,6 @@
#pragma once
#include "engine.h"
#if EFI_MALFUNCTION_INDICATOR
bool isMilEnabled();

View File

@ -7,7 +7,5 @@
#pragma once
#include "engine.h"
void initTachometer(DECLARE_ENGINE_PARAMETER_SIGNATURE);
void tachSignalCallback(DECLARE_ENGINE_PARAMETER_SIGNATURE);

View File

@ -4,7 +4,6 @@
#include "lua_hooks.h"
#include "loggingcentral.h"
#include "adc_inputs.h"
#include "fuel_math.h"
#include "airmass.h"
#include "lua_airmass.h"

View File

@ -1,9 +1,5 @@
#pragma once
#include "engine_ptr.h"
#include "sensor.h"
#include "rusefi_generated.h"
struct stft_s;
struct ClosedLoopFuelResult {

View File

@ -7,11 +7,7 @@
#pragma once
#include "engine_configuration.h"
#include "trigger_structure.h"
#include "table_helper.h"
#include "engine.h"
void setAlgorithm(engine_load_mode_e algo DECLARE_CONFIG_PARAMETER_SUFFIX);

View File

@ -7,7 +7,6 @@
#pragma once
#include "engine.h"
#include "airmass.h"
#include "speed_density_base.h"

View File

@ -2,8 +2,9 @@
* @file Lps25Sensor.cpp
*/
#include "pch.h"
#include "Lps25Sensor.h"
#include "global.h"
Lps25Sensor::Lps25Sensor(Lps25& sensor)
: StoredValueSensor(SensorType::BarometricPressure, MS2NT(1000))

View File

@ -1,6 +1,6 @@
#include "linear_func.h"
#include "pch.h"
#include "interpolation.h"
#include "linear_func.h"
void LinearFunc::configure(float in1, float out1, float in2, float out2, float minOutput, float maxOutput) {
m_minOutput = minOutput;

View File

@ -2,9 +2,9 @@
* @author Matthew Kennedy, (c) 2019
*/
#include "thermistor_func.h"
#include "pch.h"
#include "thermistors.h"
#include "thermistor_func.h"
#include <math.h>

View File

@ -13,8 +13,6 @@
*/
#include "pch.h"
#include "ego.h"
#include "adc_inputs.h"
#include "cyclic_buffer.h"
#if EFI_CJ125

Some files were not shown because too many files have changed in this diff Show More