parent
a5e708c2b0
commit
d24f1462e2
|
@ -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;
|
||||
|
|
|
@ -10,13 +10,8 @@
|
|||
* @author Andrey Belomutskiy, (c) 2012-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"
|
||||
|
||||
|
||||
static void setInjectorPins() {
|
||||
engineConfiguration->injectionPins[0] = GPIOG_7;
|
||||
|
|
|
@ -6,13 +6,7 @@
|
|||
* @author Matthew Kennedy, (c) 2019
|
||||
*/
|
||||
|
||||
#include "ch.h"
|
||||
#include "hal.h"
|
||||
|
||||
#include "mpu_util.h"
|
||||
#include "io_pins.h"
|
||||
|
||||
#include "efilib.h"
|
||||
#include "pch.h"
|
||||
|
||||
#if USE_ADC3_VBATT_HACK
|
||||
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
|
||||
#include "tunerstudio_io.h"
|
||||
#include "bluetooth.h"
|
||||
#include "thread_priority.h"
|
||||
|
||||
#if EFI_BLUETOOTH_SETUP
|
||||
|
||||
|
|
|
@ -8,7 +8,8 @@
|
|||
* @author andreika (c) 2020
|
||||
*/
|
||||
|
||||
#include "efilib.h"
|
||||
#include "pch.h"
|
||||
|
||||
#include "signature.h"
|
||||
|
||||
// We take these precautions to avoid redefinition of signature in generated .h files
|
||||
|
|
|
@ -80,10 +80,8 @@
|
|||
#include <string.h>
|
||||
#include "bench_test.h"
|
||||
#include "svnversion.h"
|
||||
#include "loggingcentral.h"
|
||||
#include "status_loop.h"
|
||||
#include "mmc_card.h"
|
||||
#include "thread_priority.h"
|
||||
|
||||
#include "signature.h"
|
||||
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
#include "tunerstudio_io.h"
|
||||
|
||||
#if EFI_TUNER_STUDIO
|
||||
#include "tunerstudio_outputs.h"
|
||||
#include "thread_controller.h"
|
||||
#include "thread_priority.h"
|
||||
|
||||
|
|
|
@ -40,7 +40,6 @@
|
|||
#include "os_util.h"
|
||||
#include "tunerstudio.h"
|
||||
#include "connector_uart_dma.h"
|
||||
#include "thread_priority.h"
|
||||
|
||||
#if EFI_SIMULATOR
|
||||
#include "rusEfiFunctionalTest.h"
|
||||
|
|
|
@ -80,7 +80,6 @@
|
|||
#include "dc_motor.h"
|
||||
#include "dc_motors.h"
|
||||
#include "pid_auto_tune.h"
|
||||
#include "thread_priority.h"
|
||||
|
||||
#if defined(HAS_OS_ACCESS)
|
||||
#error "Unexpected OS ACCESS HERE"
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
#include "can_dash.h"
|
||||
#include "obd2.h"
|
||||
#include "can_sensor.h"
|
||||
#include "thread_priority.h"
|
||||
#include "rusefi_wideband.h"
|
||||
|
||||
extern CanListener* canListeners_head;
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#ifdef __cplusplus
|
||||
#include "engine_ptr.h"
|
||||
#include "datalogging.h"
|
||||
#include "loggingcentral.h"
|
||||
#include "cli_registry.h"
|
||||
#endif /* __cplusplus */
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
#include "rusefi_lua.h"
|
||||
#include "thread_controller.h"
|
||||
#include "thread_priority.h"
|
||||
|
||||
#if EFI_LUA
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
#include "lua.hpp"
|
||||
#include "lua_hooks.h"
|
||||
|
||||
#include "loggingcentral.h"
|
||||
#include "fuel_math.h"
|
||||
#include "airmass.h"
|
||||
#include "lua_airmass.h"
|
||||
|
|
|
@ -23,9 +23,9 @@
|
|||
// IEEE Transactions on Control Systems Technology, vol 6 no 1, January 1998.
|
||||
// as reported on http://www.mstarlabs.com/control/znrule.html
|
||||
|
||||
#include "pch.h"
|
||||
|
||||
#include "pid_auto_tune.h"
|
||||
#include "efilib.h"
|
||||
#include "efitime.h"
|
||||
|
||||
#if EFI_UNIT_TEST
|
||||
extern bool verboseMode;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "redundant_ford_tps.h"
|
||||
#include "pch.h"
|
||||
|
||||
#include "efilib.h"
|
||||
#include "redundant_ford_tps.h"
|
||||
|
||||
RedundantFordTps::RedundantFordTps(SensorType outputType, SensorType first, SensorType second)
|
||||
: Sensor(outputType)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "redundant_sensor.h"
|
||||
#include "pch.h"
|
||||
|
||||
#include "efilib.h"
|
||||
#include "redundant_sensor.h"
|
||||
|
||||
RedundantSensor::RedundantSensor(SensorType outputType, SensorType first, SensorType second)
|
||||
: Sensor(outputType)
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
#include "pch.h"
|
||||
|
||||
#include "loggingcentral.h"
|
||||
|
||||
static const char* const s_sensorNames[] = {
|
||||
"Invalid",
|
||||
"CLT",
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
#include "linear_func.h"
|
||||
#include "resistance_func.h"
|
||||
#include "thermistor_func.h"
|
||||
#include "loggingcentral.h"
|
||||
|
||||
void ProxySensor::showInfo(const char* sensorName) const {
|
||||
efiPrintf("Sensor \"%s\" proxied from sensor \"%s\"", sensorName, getSensorName(m_proxiedSensor));
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
#include "thread_controller.h"
|
||||
#include "knock_logic.h"
|
||||
#include "software_knock.h"
|
||||
#include "thread_priority.h"
|
||||
#include "peak_detect.h"
|
||||
|
||||
#if EFI_SOFTWARE_KNOCK
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
#include "serial_sensor.h"
|
||||
|
||||
#include "vehicle_speed.h"
|
||||
#include "thread_priority.h"
|
||||
|
||||
uint8_t ser_buffer[SERBUFFLEN] = {};
|
||||
size_t innovate_msg_len = 1;
|
||||
|
|
|
@ -29,8 +29,6 @@
|
|||
#include "mpu_util.h"
|
||||
#include "periodic_thread_controller.h"
|
||||
|
||||
#include "thread_priority.h"
|
||||
|
||||
/* Depth of the conversion buffer, channels are sampled X times each.*/
|
||||
#ifndef ADC_BUF_DEPTH_FAST
|
||||
#define ADC_BUF_DEPTH_FAST 4
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#include "pch.h"
|
||||
|
||||
#include "ads1015.h"
|
||||
#include "efilib.h"
|
||||
|
||||
constexpr uint8_t addr = 0x48;
|
||||
|
||||
|
|
|
@ -30,7 +30,6 @@ public:
|
|||
};
|
||||
|
||||
#if EFI_TUNER_STUDIO
|
||||
#include "tunerstudio_outputs.h"
|
||||
void ionPostState(TunerStudioOutputChannels *tsOutputChannels);
|
||||
#endif
|
||||
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#include "can_msg_tx.h"
|
||||
#include "string.h"
|
||||
#include "mpu_util.h"
|
||||
#include "thread_priority.h"
|
||||
|
||||
static int canReadCounter = 0;
|
||||
int canWriteOk = 0;
|
||||
|
|
|
@ -13,10 +13,10 @@
|
|||
*/
|
||||
|
||||
#include "pch.h"
|
||||
|
||||
#include "gpio/gpio_ext.h"
|
||||
#include "gpio/drv8860.h"
|
||||
#include "os_util.h"
|
||||
#include "thread_priority.h"
|
||||
|
||||
#if (BOARD_DRV8860_COUNT > 0)
|
||||
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
#include "gpio/gpio_ext.h"
|
||||
#include "gpio/mc33810.h"
|
||||
#include "os_util.h"
|
||||
#include "thread_priority.h"
|
||||
|
||||
#if (BOARD_MC33810_COUNT > 0)
|
||||
|
||||
|
|
|
@ -17,8 +17,6 @@
|
|||
#include "global.h"
|
||||
#include "gpio/gpio_ext.h"
|
||||
#include "gpio/mc33972.h"
|
||||
#include "pin_repository.h"
|
||||
#include "thread_priority.h"
|
||||
|
||||
#if (BOARD_MC33972_COUNT > 0)
|
||||
|
||||
|
|
|
@ -21,10 +21,10 @@
|
|||
*/
|
||||
|
||||
#include "pch.h"
|
||||
|
||||
#include "gpio/gpio_ext.h"
|
||||
#include "gpio/tle6240.h"
|
||||
#include "os_util.h"
|
||||
#include "thread_priority.h"
|
||||
|
||||
#if (BOARD_TLE6240_COUNT > 0)
|
||||
|
||||
|
|
|
@ -39,7 +39,6 @@
|
|||
#include "hardware.h"
|
||||
#include "gpio/gpio_ext.h"
|
||||
#include "os_util.h"
|
||||
#include "thread_priority.h"
|
||||
|
||||
/*
|
||||
* TODO list:
|
||||
|
|
|
@ -8,11 +8,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "efifeatures.h"
|
||||
#if EFI_TUNER_STUDIO
|
||||
#include "tunerstudio_outputs.h"
|
||||
#endif /* EFI_TUNER_STUDIO */
|
||||
|
||||
void initAuxSerial(void);
|
||||
#if EFI_AUX_SERIAL
|
||||
void stopAuxSerialPins(DECLARE_ENGINE_PARAMETER_SIGNATURE);
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
#include "status_loop.h"
|
||||
#include "buffered_writer.h"
|
||||
#include "mass_storage_init.h"
|
||||
#include "thread_priority.h"
|
||||
|
||||
#include "rtc_helper.h"
|
||||
|
||||
|
|
|
@ -14,8 +14,7 @@
|
|||
* (PLLM is set to N for an N-MHz HSE crystal).
|
||||
*/
|
||||
|
||||
#include "hal.h"
|
||||
#include "efilib.h"
|
||||
#include "pch.h"
|
||||
|
||||
#ifdef ENABLE_AUTO_DETECT_HSE
|
||||
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
* @author Andrey Belomutskiy, (c) 2012-2020
|
||||
*/
|
||||
|
||||
#include "hal.h"
|
||||
#include "pch.h"
|
||||
|
||||
#include "flash_int.h"
|
||||
|
||||
static bool isDualBank() {
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
*/
|
||||
|
||||
#include "pch.h"
|
||||
|
||||
#include "cj125.h"
|
||||
#include "thread_priority.h"
|
||||
|
||||
#if EFI_CJ125
|
||||
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#include "trigger_central.h"
|
||||
#include "hip9011_logic.h"
|
||||
#include "hip9011.h"
|
||||
#include "thread_priority.h"
|
||||
|
||||
#if EFI_PROD_CODE
|
||||
#include "mpu_util.h"
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
|
||||
#if EFI_SERVO || EFI_SIMULATOR
|
||||
#include "servo.h"
|
||||
#include "thread_priority.h"
|
||||
|
||||
// This thread calls scheduleForLater which eventually could trip the main trigger callback
|
||||
// if self stimulation (heh) is enabled, which uses a TON of stack space.
|
||||
|
|
|
@ -86,8 +86,6 @@ protected:
|
|||
|
||||
#if !EFI_UNIT_TEST
|
||||
|
||||
#include "thread_priority.h"
|
||||
|
||||
class StepperMotor final : public StepperMotorBase, private ThreadController<UTILITY_THREAD_STACK_SIZE> {
|
||||
public:
|
||||
StepperMotor() : ThreadController("stepper", PRIO_STEPPER) {}
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
|
||||
#include "efifeatures.h"
|
||||
#include "rusefi_generated.h"
|
||||
#include "loggingcentral.h"
|
||||
#include "engine_ptr.h"
|
||||
#include "error_handling.h"
|
||||
#include "global.h"
|
||||
|
@ -27,6 +28,7 @@
|
|||
#include "interpolation.h"
|
||||
#include "perf_trace.h"
|
||||
#include "hardware.h"
|
||||
#include "thread_priority.h"
|
||||
|
||||
#if EFI_UNIT_TEST
|
||||
#include <gtest/gtest.h>
|
||||
|
|
|
@ -22,10 +22,9 @@
|
|||
*/
|
||||
|
||||
#include "pch.h"
|
||||
|
||||
#include "os_access.h"
|
||||
#include "loggingcentral.h"
|
||||
#include "thread_controller.h"
|
||||
#include "thread_priority.h"
|
||||
|
||||
template <size_t TBufferSize>
|
||||
void LogBuffer<TBufferSize>::writeLine(LogLineBuffer* line) {
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#include "pch.h"
|
||||
|
||||
#include "error_accumulator.h"
|
||||
#include "efilib.h"
|
||||
|
||||
float ErrorAccumulator::accumulate(float error) {
|
||||
// We only care about the absolute value of the error
|
||||
|
|
|
@ -5,10 +5,7 @@
|
|||
* @author Matthew Kennedy, (c) 2019
|
||||
*/
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
#include "efilib.h"
|
||||
#include <math.h>
|
||||
#include "pch.h"
|
||||
|
||||
TEST(EfiLibTest, ExpTaylor)
|
||||
{
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
#include "loggingcentral.h"
|
||||
#include <gtest/gtest.h>
|
||||
#include <gmock/gmock.h>
|
||||
#include "pch.h"
|
||||
|
||||
using ::testing::ElementsAre;
|
||||
|
||||
|
|
Loading…
Reference in New Issue