even more pch (#3112)

* s

* more

* s

* f7
This commit is contained in:
Matthew Kennedy 2021-08-04 16:30:52 -07:00 committed by GitHub
parent a5e708c2b0
commit d24f1462e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
42 changed files with 26 additions and 75 deletions

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,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;

View File

@ -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

View File

@ -17,7 +17,6 @@
#include "tunerstudio_io.h"
#include "bluetooth.h"
#include "thread_priority.h"
#if EFI_BLUETOOTH_SETUP

View File

@ -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

View File

@ -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"

View File

@ -10,7 +10,6 @@
#include "tunerstudio_io.h"
#if EFI_TUNER_STUDIO
#include "tunerstudio_outputs.h"
#include "thread_controller.h"
#include "thread_priority.h"

View File

@ -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"

View File

@ -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"

View File

@ -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;

View File

@ -29,7 +29,6 @@
#ifdef __cplusplus
#include "engine_ptr.h"
#include "datalogging.h"
#include "loggingcentral.h"
#include "cli_registry.h"
#endif /* __cplusplus */

View File

@ -2,7 +2,6 @@
#include "rusefi_lua.h"
#include "thread_controller.h"
#include "thread_priority.h"
#if EFI_LUA

View File

@ -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"

View File

@ -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;

View File

@ -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)

View File

@ -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)

View File

@ -1,7 +1,5 @@
#include "pch.h"
#include "loggingcentral.h"
static const char* const s_sensorNames[] = {
"Invalid",
"CLT",

View File

@ -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));

View File

@ -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

View File

@ -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;

View File

@ -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

View File

@ -1,5 +1,6 @@
#include "pch.h"
#include "ads1015.h"
#include "efilib.h"
constexpr uint8_t addr = 0x48;

View File

@ -30,7 +30,6 @@ public:
};
#if EFI_TUNER_STUDIO
#include "tunerstudio_outputs.h"
void ionPostState(TunerStudioOutputChannels *tsOutputChannels);
#endif

View File

@ -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;

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -39,7 +39,6 @@
#include "hardware.h"
#include "gpio/gpio_ext.h"
#include "os_util.h"
#include "thread_priority.h"
/*
* TODO list:

View File

@ -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);

View File

@ -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"

View File

@ -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

View File

@ -5,7 +5,8 @@
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#include "hal.h"
#include "pch.h"
#include "flash_int.h"
static bool isDualBank() {

View File

@ -15,8 +15,8 @@
*/
#include "pch.h"
#include "cj125.h"
#include "thread_priority.h"
#if EFI_CJ125

View File

@ -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"

View File

@ -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.

View File

@ -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) {}

View File

@ -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>

View File

@ -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) {

View File

@ -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

View File

@ -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)
{

View File

@ -1,6 +1,4 @@
#include "loggingcentral.h"
#include <gtest/gtest.h>
#include <gmock/gmock.h>
#include "pch.h"
using ::testing::ElementsAre;