From bd2b99291815f64c644c1c8c40a7be1b8f730663 Mon Sep 17 00:00:00 2001 From: rusefi Date: Fri, 29 Mar 2019 09:11:13 -0400 Subject: [PATCH] unifying_file_naming --- firmware/bootloader/src/dfu.cpp | 2 +- firmware/bootloader/src/main.cpp | 2 +- firmware/bootloader/src/rusefi_stubs.cpp | 4 ++-- .../!compile-ME7_PNP.bat => me7_pnp/!compile-me7_pnp.bat} | 0 firmware/config/boards/{ME7_PNP => me7_pnp}/board.mk | 0 .../boards/{ME7_PNP => me7_pnp}/board_configuration.cpp | 0 .../{NUCLEO_F746 => nucleo_f746}/!compile-nucleo_f746.bat | 0 .../boards/{NUCLEO_F746 => nucleo_f746}/STM32F746xG.ld | 0 .../config/boards/{NUCLEO_F746 => nucleo_f746}/board.h | 0 .../config/boards/{NUCLEO_F746 => nucleo_f746}/board.mk | 0 .../boards/{NUCLEO_F767 => nucleo_f767}/!compile-f767.bat | 0 .../{NUCLEO_F767 => nucleo_f767}/!compile-nucleo_f767.bat | 0 .../boards/{NUCLEO_F767 => nucleo_f767}/STM32F76xxI.ld | 0 .../config/boards/{NUCLEO_F767 => nucleo_f767}/board.c | 0 .../config/boards/{NUCLEO_F767 => nucleo_f767}/board.h | 0 .../config/boards/{NUCLEO_F767 => nucleo_f767}/board.mk | 0 .../{NUCLEO_F767 => nucleo_f767}/board_configuration.cpp | 0 .../config/boards/{NUCLEO_F767 => nucleo_f767}/readme.txt | 0 .../config/boards/{NUCLEO_H743 => nucleo_h743}/board.c | 0 .../config/boards/{NUCLEO_H743 => nucleo_h743}/board.h | 0 .../config/boards/{NUCLEO_H743 => nucleo_h743}/board.mk | 0 .../!compile-prometheus-405.bat | 0 .../!compile-prometheus-469.bat | 0 .../boards/{Prometheus => prometheus}/STM32F405xG.ld | 0 .../boards/{Prometheus => prometheus}/STM32F469xI.ld | 0 firmware/config/boards/{Prometheus => prometheus}/board.c | 0 firmware/config/boards/{Prometheus => prometheus}/board.h | 0 .../config/boards/{Prometheus => prometheus}/board.mk | 0 .../{Prometheus => prometheus}/board_configuration.cpp | 0 .../boards/{Prometheus => prometheus}/efifeatures.h | 0 .../config/boards/{Prometheus => prometheus}/halconf.h | 0 .../config/boards/{Prometheus => prometheus}/mcuconf.h | 0 .../config/boards/{Prometheus => prometheus}/readme.txt | 0 firmware/config/boards/{ST_STM32F4 => st_stm32F4}/board.c | 0 firmware/config/boards/{ST_STM32F4 => st_stm32F4}/board.h | 0 .../config/boards/{ST_STM32F4 => st_stm32F4}/board.mk | 0 .../config/boards/{ST_STM32F4 => st_stm32F4}/readme.txt | 0 firmware/console/status_loop.cpp | 6 +++--- firmware/controllers/algo/aux_pid.cpp | 2 +- firmware/controllers/algo/engine.cpp | 2 +- firmware/controllers/algo/engine.h | 2 +- firmware/controllers/algo/signal_executor.cpp | 4 ++-- firmware/controllers/algo/signal_executor.h | 2 +- firmware/controllers/alternatorController.cpp | 2 +- firmware/controllers/controllers.mk | 2 +- firmware/controllers/core/core.mk | 2 +- firmware/controllers/core/{EfiWave.cpp => efi_wave.cpp} | 2 +- firmware/controllers/core/{EfiWave.h => efi_wave.h} | 2 +- firmware/controllers/core/fsio_impl.cpp | 2 +- firmware/controllers/electronic_throttle.cpp | 4 ++-- firmware/controllers/engine_controller.cpp | 2 +- firmware/controllers/idle_thread.cpp | 2 +- firmware/controllers/injector_central.cpp | 4 ++-- firmware/controllers/lcd_controller.cpp | 2 +- firmware/controllers/malfunction_indicator.cpp | 4 ++-- firmware/controllers/math/engine_math.cpp | 2 +- firmware/controllers/{obd2viaCAN.c => obd2_via_can.c} | 0 firmware/controllers/{PwmTester.cpp => pwm_tester.cpp} | 4 ++-- firmware/controllers/{PwmTester.h => pwm_tester.h} | 2 +- firmware/controllers/settings.cpp | 2 +- .../system/{ControllerBase.h => controller_base.h} | 2 +- firmware/controllers/system/{DcMotor.cpp => dc_motor.cpp} | 2 +- firmware/controllers/system/{DcMotor.h => dc_motor.h} | 2 +- firmware/controllers/system/{efiGpio.cpp => efi_gpio.cpp} | 4 ++-- firmware/controllers/system/{efiGpio.h => efi_gpio.h} | 8 ++++---- .../{PeriodicController.h => periodic_controller.h} | 4 ++-- firmware/controllers/system/pwm_generator_logic.h | 4 ++-- firmware/controllers/system/signal_executor_sleep.cpp | 2 +- ...{SingleTimerExecutor.cpp => single_timer_executor.cpp} | 2 +- .../{SingleTimerExecutor.h => single_timer_executor.h} | 2 +- firmware/controllers/system/system.mk | 6 +++--- .../system/{ThreadController.h => thread_controller.h} | 4 ++-- firmware/controllers/trigger/decoders/trigger_structure.h | 2 +- firmware/controllers/trigger/main_trigger_callback.cpp | 4 ++-- firmware/controllers/trigger/trigger_decoder.cpp | 2 +- firmware/controllers/trigger/trigger_emulator_algo.cpp | 2 +- firmware/development/rfi_perftest.cpp | 2 +- firmware/ext_algo/{readme.txt => readme.md} | 0 firmware/hw_layer/accelerometer.cpp | 2 +- firmware/hw_layer/backup_ram.h | 2 +- firmware/hw_layer/board_test.cpp | 2 +- firmware/hw_layer/digital_input_exti.cpp | 2 +- firmware/hw_layer/{HIP9011.cpp => hip9011.cpp} | 0 firmware/hw_layer/{HIP9011.h => hip9011.h} | 0 .../hw_layer/{HIP9011_logic.cpp => hip9011_logic.cpp} | 0 firmware/hw_layer/{HIP9011_logic.h => hip9011_logic.h} | 0 firmware/hw_layer/hw_layer.mk | 4 ++-- firmware/hw_layer/io_pins.cpp | 2 +- firmware/hw_layer/microsecond_timer.cpp | 2 +- firmware/hw_layer/pin_repository.h | 2 +- firmware/hw_layer/pwm_generator.h | 2 +- firmware/hw_layer/stepper.h | 2 +- firmware/rusefi.cpp | 2 +- misc/jenkins/compile_other_versions/run.bat | 6 +++--- unit_tests/tests/test_fuel_map.cpp | 2 +- unit_tests/tests/test_util.cpp | 2 +- 96 files changed, 77 insertions(+), 77 deletions(-) rename firmware/config/boards/{ME7_PNP/!compile-ME7_PNP.bat => me7_pnp/!compile-me7_pnp.bat} (100%) rename firmware/config/boards/{ME7_PNP => me7_pnp}/board.mk (100%) rename firmware/config/boards/{ME7_PNP => me7_pnp}/board_configuration.cpp (100%) rename firmware/config/boards/{NUCLEO_F746 => nucleo_f746}/!compile-nucleo_f746.bat (100%) rename firmware/config/boards/{NUCLEO_F746 => nucleo_f746}/STM32F746xG.ld (100%) rename firmware/config/boards/{NUCLEO_F746 => nucleo_f746}/board.h (100%) rename firmware/config/boards/{NUCLEO_F746 => nucleo_f746}/board.mk (100%) rename firmware/config/boards/{NUCLEO_F767 => nucleo_f767}/!compile-f767.bat (100%) rename firmware/config/boards/{NUCLEO_F767 => nucleo_f767}/!compile-nucleo_f767.bat (100%) rename firmware/config/boards/{NUCLEO_F767 => nucleo_f767}/STM32F76xxI.ld (100%) rename firmware/config/boards/{NUCLEO_F767 => nucleo_f767}/board.c (100%) rename firmware/config/boards/{NUCLEO_F767 => nucleo_f767}/board.h (100%) rename firmware/config/boards/{NUCLEO_F767 => nucleo_f767}/board.mk (100%) rename firmware/config/boards/{NUCLEO_F767 => nucleo_f767}/board_configuration.cpp (100%) rename firmware/config/boards/{NUCLEO_F767 => nucleo_f767}/readme.txt (100%) rename firmware/config/boards/{NUCLEO_H743 => nucleo_h743}/board.c (100%) rename firmware/config/boards/{NUCLEO_H743 => nucleo_h743}/board.h (100%) rename firmware/config/boards/{NUCLEO_H743 => nucleo_h743}/board.mk (100%) rename firmware/config/boards/{Prometheus => prometheus}/!compile-prometheus-405.bat (100%) rename firmware/config/boards/{Prometheus => prometheus}/!compile-prometheus-469.bat (100%) rename firmware/config/boards/{Prometheus => prometheus}/STM32F405xG.ld (100%) rename firmware/config/boards/{Prometheus => prometheus}/STM32F469xI.ld (100%) rename firmware/config/boards/{Prometheus => prometheus}/board.c (100%) rename firmware/config/boards/{Prometheus => prometheus}/board.h (100%) rename firmware/config/boards/{Prometheus => prometheus}/board.mk (100%) rename firmware/config/boards/{Prometheus => prometheus}/board_configuration.cpp (100%) rename firmware/config/boards/{Prometheus => prometheus}/efifeatures.h (100%) rename firmware/config/boards/{Prometheus => prometheus}/halconf.h (100%) rename firmware/config/boards/{Prometheus => prometheus}/mcuconf.h (100%) rename firmware/config/boards/{Prometheus => prometheus}/readme.txt (100%) rename firmware/config/boards/{ST_STM32F4 => st_stm32F4}/board.c (100%) rename firmware/config/boards/{ST_STM32F4 => st_stm32F4}/board.h (100%) rename firmware/config/boards/{ST_STM32F4 => st_stm32F4}/board.mk (100%) rename firmware/config/boards/{ST_STM32F4 => st_stm32F4}/readme.txt (100%) rename firmware/controllers/core/{EfiWave.cpp => efi_wave.cpp} (99%) rename firmware/controllers/core/{EfiWave.h => efi_wave.h} (99%) rename firmware/controllers/{obd2viaCAN.c => obd2_via_can.c} (100%) rename firmware/controllers/{PwmTester.cpp => pwm_tester.cpp} (98%) rename firmware/controllers/{PwmTester.h => pwm_tester.h} (88%) rename firmware/controllers/system/{ControllerBase.h => controller_base.h} (91%) rename firmware/controllers/system/{DcMotor.cpp => dc_motor.cpp} (98%) rename firmware/controllers/system/{DcMotor.h => dc_motor.h} (98%) rename firmware/controllers/system/{efiGpio.cpp => efi_gpio.cpp} (99%) rename firmware/controllers/system/{efiGpio.h => efi_gpio.h} (98%) rename firmware/controllers/system/{PeriodicController.h => periodic_controller.h} (97%) rename firmware/controllers/system/{SingleTimerExecutor.cpp => single_timer_executor.cpp} (99%) rename firmware/controllers/system/{SingleTimerExecutor.h => single_timer_executor.h} (95%) rename firmware/controllers/system/{ThreadController.h => thread_controller.h} (96%) rename firmware/ext_algo/{readme.txt => readme.md} (100%) rename firmware/hw_layer/{HIP9011.cpp => hip9011.cpp} (100%) rename firmware/hw_layer/{HIP9011.h => hip9011.h} (100%) rename firmware/hw_layer/{HIP9011_logic.cpp => hip9011_logic.cpp} (100%) rename firmware/hw_layer/{HIP9011_logic.h => hip9011_logic.h} (100%) diff --git a/firmware/bootloader/src/dfu.cpp b/firmware/bootloader/src/dfu.cpp index 5fd678d8ed..80af6da466 100644 --- a/firmware/bootloader/src/dfu.cpp +++ b/firmware/bootloader/src/dfu.cpp @@ -1,6 +1,6 @@ #include "global.h" #include "hardware.h" -#include "efiGpio.h" +#include "efi_gpio.h" #include "flash.h" diff --git a/firmware/bootloader/src/main.cpp b/firmware/bootloader/src/main.cpp index db3d95bb6b..6d0115ef23 100644 --- a/firmware/bootloader/src/main.cpp +++ b/firmware/bootloader/src/main.cpp @@ -1,7 +1,7 @@ #include "global.h" #include "hardware.h" -#include "efiGpio.h" +#include "efi_gpio.h" #ifdef __cplusplus extern "C" diff --git a/firmware/bootloader/src/rusefi_stubs.cpp b/firmware/bootloader/src/rusefi_stubs.cpp index 7c8645675b..bf02167e94 100644 --- a/firmware/bootloader/src/rusefi_stubs.cpp +++ b/firmware/bootloader/src/rusefi_stubs.cpp @@ -1,10 +1,10 @@ #include "global.h" #include "hardware.h" -#include "efiGpio.h" +#include "efi_gpio.h" /* * We need only a small portion of code from rusEFI codebase in the bootloader. - * Mostly it's tunerstudio_io.cpp. And other files like efiGpio.cpp etc. needed only to make it work. + * Mostly it's tunerstudio_io.cpp. And other files like efi_gpio.cpp etc. needed only to make it work. * And stubs needed just to settle down compiler errors. * The whole idea of bootloader is to make it as small as possible. And reasonably independent. */ diff --git a/firmware/config/boards/ME7_PNP/!compile-ME7_PNP.bat b/firmware/config/boards/me7_pnp/!compile-me7_pnp.bat similarity index 100% rename from firmware/config/boards/ME7_PNP/!compile-ME7_PNP.bat rename to firmware/config/boards/me7_pnp/!compile-me7_pnp.bat diff --git a/firmware/config/boards/ME7_PNP/board.mk b/firmware/config/boards/me7_pnp/board.mk similarity index 100% rename from firmware/config/boards/ME7_PNP/board.mk rename to firmware/config/boards/me7_pnp/board.mk diff --git a/firmware/config/boards/ME7_PNP/board_configuration.cpp b/firmware/config/boards/me7_pnp/board_configuration.cpp similarity index 100% rename from firmware/config/boards/ME7_PNP/board_configuration.cpp rename to firmware/config/boards/me7_pnp/board_configuration.cpp diff --git a/firmware/config/boards/NUCLEO_F746/!compile-nucleo_f746.bat b/firmware/config/boards/nucleo_f746/!compile-nucleo_f746.bat similarity index 100% rename from firmware/config/boards/NUCLEO_F746/!compile-nucleo_f746.bat rename to firmware/config/boards/nucleo_f746/!compile-nucleo_f746.bat diff --git a/firmware/config/boards/NUCLEO_F746/STM32F746xG.ld b/firmware/config/boards/nucleo_f746/STM32F746xG.ld similarity index 100% rename from firmware/config/boards/NUCLEO_F746/STM32F746xG.ld rename to firmware/config/boards/nucleo_f746/STM32F746xG.ld diff --git a/firmware/config/boards/NUCLEO_F746/board.h b/firmware/config/boards/nucleo_f746/board.h similarity index 100% rename from firmware/config/boards/NUCLEO_F746/board.h rename to firmware/config/boards/nucleo_f746/board.h diff --git a/firmware/config/boards/NUCLEO_F746/board.mk b/firmware/config/boards/nucleo_f746/board.mk similarity index 100% rename from firmware/config/boards/NUCLEO_F746/board.mk rename to firmware/config/boards/nucleo_f746/board.mk diff --git a/firmware/config/boards/NUCLEO_F767/!compile-f767.bat b/firmware/config/boards/nucleo_f767/!compile-f767.bat similarity index 100% rename from firmware/config/boards/NUCLEO_F767/!compile-f767.bat rename to firmware/config/boards/nucleo_f767/!compile-f767.bat diff --git a/firmware/config/boards/NUCLEO_F767/!compile-nucleo_f767.bat b/firmware/config/boards/nucleo_f767/!compile-nucleo_f767.bat similarity index 100% rename from firmware/config/boards/NUCLEO_F767/!compile-nucleo_f767.bat rename to firmware/config/boards/nucleo_f767/!compile-nucleo_f767.bat diff --git a/firmware/config/boards/NUCLEO_F767/STM32F76xxI.ld b/firmware/config/boards/nucleo_f767/STM32F76xxI.ld similarity index 100% rename from firmware/config/boards/NUCLEO_F767/STM32F76xxI.ld rename to firmware/config/boards/nucleo_f767/STM32F76xxI.ld diff --git a/firmware/config/boards/NUCLEO_F767/board.c b/firmware/config/boards/nucleo_f767/board.c similarity index 100% rename from firmware/config/boards/NUCLEO_F767/board.c rename to firmware/config/boards/nucleo_f767/board.c diff --git a/firmware/config/boards/NUCLEO_F767/board.h b/firmware/config/boards/nucleo_f767/board.h similarity index 100% rename from firmware/config/boards/NUCLEO_F767/board.h rename to firmware/config/boards/nucleo_f767/board.h diff --git a/firmware/config/boards/NUCLEO_F767/board.mk b/firmware/config/boards/nucleo_f767/board.mk similarity index 100% rename from firmware/config/boards/NUCLEO_F767/board.mk rename to firmware/config/boards/nucleo_f767/board.mk diff --git a/firmware/config/boards/NUCLEO_F767/board_configuration.cpp b/firmware/config/boards/nucleo_f767/board_configuration.cpp similarity index 100% rename from firmware/config/boards/NUCLEO_F767/board_configuration.cpp rename to firmware/config/boards/nucleo_f767/board_configuration.cpp diff --git a/firmware/config/boards/NUCLEO_F767/readme.txt b/firmware/config/boards/nucleo_f767/readme.txt similarity index 100% rename from firmware/config/boards/NUCLEO_F767/readme.txt rename to firmware/config/boards/nucleo_f767/readme.txt diff --git a/firmware/config/boards/NUCLEO_H743/board.c b/firmware/config/boards/nucleo_h743/board.c similarity index 100% rename from firmware/config/boards/NUCLEO_H743/board.c rename to firmware/config/boards/nucleo_h743/board.c diff --git a/firmware/config/boards/NUCLEO_H743/board.h b/firmware/config/boards/nucleo_h743/board.h similarity index 100% rename from firmware/config/boards/NUCLEO_H743/board.h rename to firmware/config/boards/nucleo_h743/board.h diff --git a/firmware/config/boards/NUCLEO_H743/board.mk b/firmware/config/boards/nucleo_h743/board.mk similarity index 100% rename from firmware/config/boards/NUCLEO_H743/board.mk rename to firmware/config/boards/nucleo_h743/board.mk diff --git a/firmware/config/boards/Prometheus/!compile-prometheus-405.bat b/firmware/config/boards/prometheus/!compile-prometheus-405.bat similarity index 100% rename from firmware/config/boards/Prometheus/!compile-prometheus-405.bat rename to firmware/config/boards/prometheus/!compile-prometheus-405.bat diff --git a/firmware/config/boards/Prometheus/!compile-prometheus-469.bat b/firmware/config/boards/prometheus/!compile-prometheus-469.bat similarity index 100% rename from firmware/config/boards/Prometheus/!compile-prometheus-469.bat rename to firmware/config/boards/prometheus/!compile-prometheus-469.bat diff --git a/firmware/config/boards/Prometheus/STM32F405xG.ld b/firmware/config/boards/prometheus/STM32F405xG.ld similarity index 100% rename from firmware/config/boards/Prometheus/STM32F405xG.ld rename to firmware/config/boards/prometheus/STM32F405xG.ld diff --git a/firmware/config/boards/Prometheus/STM32F469xI.ld b/firmware/config/boards/prometheus/STM32F469xI.ld similarity index 100% rename from firmware/config/boards/Prometheus/STM32F469xI.ld rename to firmware/config/boards/prometheus/STM32F469xI.ld diff --git a/firmware/config/boards/Prometheus/board.c b/firmware/config/boards/prometheus/board.c similarity index 100% rename from firmware/config/boards/Prometheus/board.c rename to firmware/config/boards/prometheus/board.c diff --git a/firmware/config/boards/Prometheus/board.h b/firmware/config/boards/prometheus/board.h similarity index 100% rename from firmware/config/boards/Prometheus/board.h rename to firmware/config/boards/prometheus/board.h diff --git a/firmware/config/boards/Prometheus/board.mk b/firmware/config/boards/prometheus/board.mk similarity index 100% rename from firmware/config/boards/Prometheus/board.mk rename to firmware/config/boards/prometheus/board.mk diff --git a/firmware/config/boards/Prometheus/board_configuration.cpp b/firmware/config/boards/prometheus/board_configuration.cpp similarity index 100% rename from firmware/config/boards/Prometheus/board_configuration.cpp rename to firmware/config/boards/prometheus/board_configuration.cpp diff --git a/firmware/config/boards/Prometheus/efifeatures.h b/firmware/config/boards/prometheus/efifeatures.h similarity index 100% rename from firmware/config/boards/Prometheus/efifeatures.h rename to firmware/config/boards/prometheus/efifeatures.h diff --git a/firmware/config/boards/Prometheus/halconf.h b/firmware/config/boards/prometheus/halconf.h similarity index 100% rename from firmware/config/boards/Prometheus/halconf.h rename to firmware/config/boards/prometheus/halconf.h diff --git a/firmware/config/boards/Prometheus/mcuconf.h b/firmware/config/boards/prometheus/mcuconf.h similarity index 100% rename from firmware/config/boards/Prometheus/mcuconf.h rename to firmware/config/boards/prometheus/mcuconf.h diff --git a/firmware/config/boards/Prometheus/readme.txt b/firmware/config/boards/prometheus/readme.txt similarity index 100% rename from firmware/config/boards/Prometheus/readme.txt rename to firmware/config/boards/prometheus/readme.txt diff --git a/firmware/config/boards/ST_STM32F4/board.c b/firmware/config/boards/st_stm32F4/board.c similarity index 100% rename from firmware/config/boards/ST_STM32F4/board.c rename to firmware/config/boards/st_stm32F4/board.c diff --git a/firmware/config/boards/ST_STM32F4/board.h b/firmware/config/boards/st_stm32F4/board.h similarity index 100% rename from firmware/config/boards/ST_STM32F4/board.h rename to firmware/config/boards/st_stm32F4/board.h diff --git a/firmware/config/boards/ST_STM32F4/board.mk b/firmware/config/boards/st_stm32F4/board.mk similarity index 100% rename from firmware/config/boards/ST_STM32F4/board.mk rename to firmware/config/boards/st_stm32F4/board.mk diff --git a/firmware/config/boards/ST_STM32F4/readme.txt b/firmware/config/boards/st_stm32F4/readme.txt similarity index 100% rename from firmware/config/boards/ST_STM32F4/readme.txt rename to firmware/config/boards/st_stm32F4/readme.txt diff --git a/firmware/console/status_loop.cpp b/firmware/console/status_loop.cpp index cc553cd143..b671da2f8b 100644 --- a/firmware/console/status_loop.cpp +++ b/firmware/console/status_loop.cpp @@ -37,7 +37,7 @@ #include "trigger_central.h" #include "engine_state.h" #include "io_pins.h" -#include "efiGpio.h" +#include "efi_gpio.h" #include "mmc_card.h" #include "console_io.h" #include "malfunction_central.h" @@ -57,7 +57,7 @@ #include "lcd_controller.h" #include "settings.h" #include "can_hw.h" -#include "PeriodicController.h" +#include "periodic_controller.h" #include "cdm_ion_sense.h" extern afr_Map3D_t afrMap; @@ -72,7 +72,7 @@ extern bool main_loop_started; #include "flash_main.h" #include "max31855.h" #include "vehicle_speed.h" -#include "SingleTimerExecutor.h" +#include "single_timer_executor.h" #endif /* EFI_PROD_CODE */ #if EFI_CJ125 || defined(__DOXYGEN__) diff --git a/firmware/controllers/algo/aux_pid.cpp b/firmware/controllers/algo/aux_pid.cpp index 0b3915f0de..89773b58c7 100644 --- a/firmware/controllers/algo/aux_pid.cpp +++ b/firmware/controllers/algo/aux_pid.cpp @@ -17,7 +17,7 @@ #include "fsio_impl.h" #include "engine_math.h" #include "pin_repository.h" -#include "PeriodicController.h" +#include "periodic_controller.h" EXTERN_ENGINE ; diff --git a/firmware/controllers/algo/engine.cpp b/firmware/controllers/algo/engine.cpp index ff7d7e5a87..324c5f54d8 100644 --- a/firmware/controllers/algo/engine.cpp +++ b/firmware/controllers/algo/engine.cpp @@ -12,7 +12,7 @@ #include "global.h" #include "engine.h" #include "engine_state.h" -#include "efiGpio.h" +#include "efi_gpio.h" #include "trigger_central.h" #include "fuel_math.h" #include "engine_math.h" diff --git a/firmware/controllers/algo/engine.h b/firmware/controllers/algo/engine.h index 6b691c854c..4e893ecfe9 100644 --- a/firmware/controllers/algo/engine.h +++ b/firmware/controllers/algo/engine.h @@ -20,7 +20,7 @@ #if EFI_SIGNAL_EXECUTOR_ONE_TIMER // PROD real firmware uses this implementation -#include "SingleTimerExecutor.h" +#include "single_timer_executor.h" #endif /* EFI_SIGNAL_EXECUTOR_ONE_TIMER */ #if EFI_SIGNAL_EXECUTOR_SLEEP #include "signal_executor_sleep.h" diff --git a/firmware/controllers/algo/signal_executor.cpp b/firmware/controllers/algo/signal_executor.cpp index 157f15a0d8..9394bc4d0f 100644 --- a/firmware/controllers/algo/signal_executor.cpp +++ b/firmware/controllers/algo/signal_executor.cpp @@ -24,7 +24,7 @@ #include "global.h" #include "signal_executor.h" -#include "efiGpio.h" +#include "efi_gpio.h" #include "engine.h" /** @@ -39,7 +39,7 @@ EXTERN_ENGINE; extern WaveChart waveChart; #endif /* EFI_ENGINE_SNIFFER */ -#include "efiGpio.h" +#include "efi_gpio.h" InjectionSignalPair::InjectionSignalPair() { isScheduled = false; diff --git a/firmware/controllers/algo/signal_executor.h b/firmware/controllers/algo/signal_executor.h index 5b9ee3a045..0e01dac893 100644 --- a/firmware/controllers/algo/signal_executor.h +++ b/firmware/controllers/algo/signal_executor.h @@ -11,7 +11,7 @@ #include "global.h" #include "scheduler.h" -#include "efiGpio.h" +#include "efi_gpio.h" #if EFI_SIGNAL_EXECUTOR_SLEEP #include "signal_executor_sleep.h" diff --git a/firmware/controllers/alternatorController.cpp b/firmware/controllers/alternatorController.cpp index 9f8b323b76..57b6192e67 100644 --- a/firmware/controllers/alternatorController.cpp +++ b/firmware/controllers/alternatorController.cpp @@ -13,7 +13,7 @@ #include "voltage.h" #include "pid.h" #include "LocalVersionHolder.h" -#include "PeriodicController.h" +#include "periodic_controller.h" #if EFI_ALTERNATOR_CONTROL || defined(__DOXYGEN__) #include "pwm_generator.h" diff --git a/firmware/controllers/controllers.mk b/firmware/controllers/controllers.mk index d4d0708602..1268c0aff6 100644 --- a/firmware/controllers/controllers.mk +++ b/firmware/controllers/controllers.mk @@ -8,7 +8,7 @@ CONTROLLERS_SRC_CPP = $(PROJECT_DIR)/controllers/settings.cpp \ $(PROJECT_DIR)/controllers/flash_main.cpp \ $(PROJECT_DIR)/controllers/injector_central.cpp \ $(PROJECT_DIR)/controllers/idle_thread.cpp \ - $(PROJECT_DIR)/controllers/PwmTester.cpp \ + $(PROJECT_DIR)/controllers/pwm_tester.cpp \ $(PROJECT_DIR)/controllers/obd2.cpp \ $(PROJECT_DIR)/controllers/malfunction_indicator.cpp \ $(PROJECT_DIR)/controllers/alternatorController.cpp \ diff --git a/firmware/controllers/core/core.mk b/firmware/controllers/core/core.mk index 2511956daa..347a250018 100644 --- a/firmware/controllers/core/core.mk +++ b/firmware/controllers/core/core.mk @@ -1,5 +1,5 @@ -CONTROLLERS_CORE_SRC_CPP = $(PROJECT_DIR)/controllers/core/EfiWave.cpp \ +CONTROLLERS_CORE_SRC_CPP = $(PROJECT_DIR)/controllers/core/efi_wave.cpp \ $(PROJECT_DIR)/controllers/core/avg_values.cpp \ $(PROJECT_DIR)/controllers/core/table_helper.cpp \ $(PROJECT_DIR)/controllers/core/fsio_core.cpp \ diff --git a/firmware/controllers/core/EfiWave.cpp b/firmware/controllers/core/efi_wave.cpp similarity index 99% rename from firmware/controllers/core/EfiWave.cpp rename to firmware/controllers/core/efi_wave.cpp index d84a2f38a3..1f89254dad 100644 --- a/firmware/controllers/core/EfiWave.cpp +++ b/firmware/controllers/core/efi_wave.cpp @@ -6,7 +6,7 @@ */ #include "global.h" -#include "EfiWave.h" +#include "efi_wave.h" #include "trigger_structure.h" SingleWave::SingleWave() { diff --git a/firmware/controllers/core/EfiWave.h b/firmware/controllers/core/efi_wave.h similarity index 99% rename from firmware/controllers/core/EfiWave.h rename to firmware/controllers/core/efi_wave.h index 266a6c31ed..2705654dcb 100644 --- a/firmware/controllers/core/EfiWave.h +++ b/firmware/controllers/core/efi_wave.h @@ -1,5 +1,5 @@ /** - * @file EfiWave.h + * @file efi_wave.h * * @date May 18, 2014 * @author Andrey Belomutskiy, (c) 2012-2017 diff --git a/firmware/controllers/core/fsio_impl.cpp b/firmware/controllers/core/fsio_impl.cpp index 6de39d25e3..fbc924b3d5 100644 --- a/firmware/controllers/core/fsio_impl.cpp +++ b/firmware/controllers/core/fsio_impl.cpp @@ -17,7 +17,7 @@ #include "settings.h" #include "allsensors.h" #include "rpm_calculator.h" -#include "efiGpio.h" +#include "efi_gpio.h" #include "pwm_generator_logic.h" /** diff --git a/firmware/controllers/electronic_throttle.cpp b/firmware/controllers/electronic_throttle.cpp index 81f913af3f..0fd22bac60 100644 --- a/firmware/controllers/electronic_throttle.cpp +++ b/firmware/controllers/electronic_throttle.cpp @@ -72,14 +72,14 @@ #include "pwm_generator_logic.h" #include "pid.h" #include "engine_controller.h" -#include "PeriodicController.h" +#include "periodic_controller.h" #define ETB_MAX_COUNT 2 #if EFI_ELECTRONIC_THROTTLE_BODY || defined(__DOXYGEN__) #include "pin_repository.h" #include "pwm_generator.h" -#include "DcMotor.h" +#include "dc_motor.h" #include "pid_auto_tune.h" #if EFI_TUNER_STUDIO || defined(__DOXYGEN__) extern TunerStudioOutputChannels tsOutputChannels; diff --git a/firmware/controllers/engine_controller.cpp b/firmware/controllers/engine_controller.cpp index 4fd953f734..676b9717dc 100644 --- a/firmware/controllers/engine_controller.cpp +++ b/firmware/controllers/engine_controller.cpp @@ -67,7 +67,7 @@ #include "pwm_generator.h" #include "adc_inputs.h" #include "efilib2.h" -#include "PwmTester.h" +#include "pwm_tester.h" #include "pwm_generator.h" #include "lcd_controller.h" #include "pin_repository.h" diff --git a/firmware/controllers/idle_thread.cpp b/firmware/controllers/idle_thread.cpp index 0b8c3388b3..a7bb56426f 100644 --- a/firmware/controllers/idle_thread.cpp +++ b/firmware/controllers/idle_thread.cpp @@ -31,7 +31,7 @@ #include "idle_thread.h" #include "pin_repository.h" #include "engine.h" -#include "PeriodicController.h" +#include "periodic_controller.h" #include "stepper.h" #if EFI_IDLE_CONTROL || defined(__DOXYGEN__) diff --git a/firmware/controllers/injector_central.cpp b/firmware/controllers/injector_central.cpp index 54986a6cc3..49ba66068c 100644 --- a/firmware/controllers/injector_central.cpp +++ b/firmware/controllers/injector_central.cpp @@ -31,10 +31,10 @@ #include "main_trigger_callback.h" #include "engine_configuration.h" #include "pin_repository.h" -#include "efiGpio.h" +#include "efi_gpio.h" #include "settings.h" #include "idle_thread.h" -#include "PeriodicController.h" +#include "periodic_controller.h" EXTERN_ENGINE ; diff --git a/firmware/controllers/lcd_controller.cpp b/firmware/controllers/lcd_controller.cpp index 90f2848b77..e28ff5357c 100644 --- a/firmware/controllers/lcd_controller.cpp +++ b/firmware/controllers/lcd_controller.cpp @@ -27,7 +27,7 @@ #include "engine.h" #include "rtc_helper.h" #include "io_pins.h" -#include "efiGpio.h" +#include "efi_gpio.h" #include "svnversion.h" #include "joystick.h" #include "utlist.h" diff --git a/firmware/controllers/malfunction_indicator.cpp b/firmware/controllers/malfunction_indicator.cpp index 435616b24b..877ab4db68 100644 --- a/firmware/controllers/malfunction_indicator.cpp +++ b/firmware/controllers/malfunction_indicator.cpp @@ -29,8 +29,8 @@ #include "io_pins.h" #include "malfunction_central.h" #include "malfunction_indicator.h" -#include "efiGpio.h" -#include "PeriodicController.h" +#include "efi_gpio.h" +#include "periodic_controller.h" #if EFI_MALFUNCTION_INDICATOR || defined(__DOXYGEN__) diff --git a/firmware/controllers/math/engine_math.cpp b/firmware/controllers/math/engine_math.cpp index 4563e79600..c27ac6d160 100644 --- a/firmware/controllers/math/engine_math.cpp +++ b/firmware/controllers/math/engine_math.cpp @@ -25,7 +25,7 @@ #include "interpolation.h" #include "allsensors.h" #include "event_registry.h" -#include "efiGpio.h" +#include "efi_gpio.h" #include "fuel_math.h" #include "advance_map.h" #include "config_engine_specs.h" diff --git a/firmware/controllers/obd2viaCAN.c b/firmware/controllers/obd2_via_can.c similarity index 100% rename from firmware/controllers/obd2viaCAN.c rename to firmware/controllers/obd2_via_can.c diff --git a/firmware/controllers/PwmTester.cpp b/firmware/controllers/pwm_tester.cpp similarity index 98% rename from firmware/controllers/PwmTester.cpp rename to firmware/controllers/pwm_tester.cpp index 86ab76c8a9..4a262dc714 100644 --- a/firmware/controllers/PwmTester.cpp +++ b/firmware/controllers/pwm_tester.cpp @@ -10,8 +10,8 @@ #if EFI_PWM_TESTER || defined(__DOXYGEN__) -#include "PwmTester.h" -#include "EfiWave.h" +#include "pwm_tester.h" +#include "efi_wave.h" #include "pwm_generator_logic.h" #include "engine.h" #include "pwm_generator.h" diff --git a/firmware/controllers/PwmTester.h b/firmware/controllers/pwm_tester.h similarity index 88% rename from firmware/controllers/PwmTester.h rename to firmware/controllers/pwm_tester.h index a96b90b993..d1c9816a75 100644 --- a/firmware/controllers/PwmTester.h +++ b/firmware/controllers/pwm_tester.h @@ -1,5 +1,5 @@ /** - * @file PwmTester.h + * @file pwm_tester.h * * @date Apr 29, 2014 * @author Andrey Belomutskiy, (c) 2012-2017 diff --git a/firmware/controllers/settings.cpp b/firmware/controllers/settings.cpp index f854bcaee4..44872db768 100644 --- a/firmware/controllers/settings.cpp +++ b/firmware/controllers/settings.cpp @@ -20,7 +20,7 @@ #include "trigger_decoder.h" #include "console_io.h" #include "engine.h" -#include "efiGpio.h" +#include "efi_gpio.h" #include "engine_math.h" #include "alternatorController.h" #include "idle_thread.h" diff --git a/firmware/controllers/system/ControllerBase.h b/firmware/controllers/system/controller_base.h similarity index 91% rename from firmware/controllers/system/ControllerBase.h rename to firmware/controllers/system/controller_base.h index abe4382f90..14740fe3f2 100644 --- a/firmware/controllers/system/ControllerBase.h +++ b/firmware/controllers/system/controller_base.h @@ -1,5 +1,5 @@ /** - * @file ControllerBase.h + * @file controller_base.h * * @date Jan 5, 2019 * @author Matthew Kennedy, (c) 2019 diff --git a/firmware/controllers/system/DcMotor.cpp b/firmware/controllers/system/dc_motor.cpp similarity index 98% rename from firmware/controllers/system/DcMotor.cpp rename to firmware/controllers/system/dc_motor.cpp index ebf84b0964..425a20bb52 100644 --- a/firmware/controllers/system/DcMotor.cpp +++ b/firmware/controllers/system/dc_motor.cpp @@ -6,7 +6,7 @@ * @author Matthew Kennedy */ -#include "DcMotor.h" +#include "dc_motor.h" TwoPinDcMotor::TwoPinDcMotor(SimplePwm* pwm, OutputPin* dir1, OutputPin* dir2) : m_pwm(pwm) diff --git a/firmware/controllers/system/DcMotor.h b/firmware/controllers/system/dc_motor.h similarity index 98% rename from firmware/controllers/system/DcMotor.h rename to firmware/controllers/system/dc_motor.h index b90cd796ee..9ba747f6f5 100644 --- a/firmware/controllers/system/DcMotor.h +++ b/firmware/controllers/system/dc_motor.h @@ -1,5 +1,5 @@ /** - * @file DcMotor.h + * @file dc_motor.h * * @date Dec 22, 2018 * @author Matthew Kennedy, (c) 2018 diff --git a/firmware/controllers/system/efiGpio.cpp b/firmware/controllers/system/efi_gpio.cpp similarity index 99% rename from firmware/controllers/system/efiGpio.cpp rename to firmware/controllers/system/efi_gpio.cpp index 2f06d2f0c5..9366ab59cb 100644 --- a/firmware/controllers/system/efiGpio.cpp +++ b/firmware/controllers/system/efi_gpio.cpp @@ -1,5 +1,5 @@ /** - * @file efiGpio.cpp + * @file efi_gpio.cpp * @brief EFI-related GPIO code * * @date Sep 26, 2014 @@ -8,7 +8,7 @@ #include "global.h" #include "engine.h" -#include "efiGpio.h" +#include "efi_gpio.h" #if EFI_GPIO_HARDWARE || defined(__DOXYGEN__) #include "pin_repository.h" diff --git a/firmware/controllers/system/efiGpio.h b/firmware/controllers/system/efi_gpio.h similarity index 98% rename from firmware/controllers/system/efiGpio.h rename to firmware/controllers/system/efi_gpio.h index a22a7d8b43..91961886f8 100644 --- a/firmware/controllers/system/efiGpio.h +++ b/firmware/controllers/system/efi_gpio.h @@ -1,13 +1,13 @@ /** - * @file efiGpio.h + * @file efi_gpio.h * @brief EFI-related GPIO code * * * @date Sep 26, 2014 * @author Andrey Belomutskiy, (c) 2012-2017 */ -#ifndef EFIGPIO_H_ -#define EFIGPIO_H_ +#ifndef efi_gpio_H_ +#define efi_gpio_H_ #include "io_pins.h" #include "global.h" @@ -170,4 +170,4 @@ const char *portname(ioportid_t GPIOx); brain_pin_e parseBrainPin(const char *str); const char *hwPortname(brain_pin_e brainPin); -#endif /* EFIGPIO_H_ */ +#endif /* efi_gpio_H_ */ diff --git a/firmware/controllers/system/PeriodicController.h b/firmware/controllers/system/periodic_controller.h similarity index 97% rename from firmware/controllers/system/PeriodicController.h rename to firmware/controllers/system/periodic_controller.h index 7bc43657d2..885cb987ad 100644 --- a/firmware/controllers/system/PeriodicController.h +++ b/firmware/controllers/system/periodic_controller.h @@ -1,5 +1,5 @@ /** - * @file PeriodicController.h + * @file periodic_controller.h * * @date Jan 5, 2019 * @author Matthew Kennedy, (c) 2019 @@ -7,7 +7,7 @@ #pragma once -#include "ThreadController.h" +#include "thread_controller.h" #include "efitime.h" diff --git a/firmware/controllers/system/pwm_generator_logic.h b/firmware/controllers/system/pwm_generator_logic.h index 90d5ca3ca8..93b1003acd 100644 --- a/firmware/controllers/system/pwm_generator_logic.h +++ b/firmware/controllers/system/pwm_generator_logic.h @@ -9,9 +9,9 @@ #define PWM_GENERATOR_LOGIC_H_ #include "global.h" -#include "EfiWave.h" +#include "efi_wave.h" #include "scheduler.h" -#include "efiGpio.h" +#include "efi_gpio.h" #define NAN_FREQUENCY_SLEEP_PERIOD_MS 100 diff --git a/firmware/controllers/system/signal_executor_sleep.cpp b/firmware/controllers/system/signal_executor_sleep.cpp index 6ccf332037..35542b687c 100644 --- a/firmware/controllers/system/signal_executor_sleep.cpp +++ b/firmware/controllers/system/signal_executor_sleep.cpp @@ -29,7 +29,7 @@ #if EFI_SIMULATOR || defined(__DOXYGEN__) // this is about debugging -#include "efiGpio.h" +#include "efi_gpio.h" #endif /* EFI_SIMULATOR */ #if EFI_SIGNAL_EXECUTOR_SLEEP || defined(__DOXYGEN__) diff --git a/firmware/controllers/system/SingleTimerExecutor.cpp b/firmware/controllers/system/single_timer_executor.cpp similarity index 99% rename from firmware/controllers/system/SingleTimerExecutor.cpp rename to firmware/controllers/system/single_timer_executor.cpp index 633a748b00..c9a8afddd3 100644 --- a/firmware/controllers/system/SingleTimerExecutor.cpp +++ b/firmware/controllers/system/single_timer_executor.cpp @@ -17,7 +17,7 @@ * @author Andrey Belomutskiy, (c) 2012-2018 */ -#include "SingleTimerExecutor.h" +#include "single_timer_executor.h" #include "efitime.h" #include "efilib2.h" diff --git a/firmware/controllers/system/SingleTimerExecutor.h b/firmware/controllers/system/single_timer_executor.h similarity index 95% rename from firmware/controllers/system/SingleTimerExecutor.h rename to firmware/controllers/system/single_timer_executor.h index cc56c7b479..49461ab8d8 100644 --- a/firmware/controllers/system/SingleTimerExecutor.h +++ b/firmware/controllers/system/single_timer_executor.h @@ -1,5 +1,5 @@ /** - * @file SingleTimerExecutor.h + * @file single_timer_executor.h * * @date: Apr 18, 2014 * @author Andrey Belomutskiy, (c) 2012-2017 diff --git a/firmware/controllers/system/system.mk b/firmware/controllers/system/system.mk index 20b90ca958..11bdf575e2 100644 --- a/firmware/controllers/system/system.mk +++ b/firmware/controllers/system/system.mk @@ -4,6 +4,6 @@ SYSTEMSRC = SYSTEMSRC_CPP = $(PROJECT_DIR)/controllers/system/pwm_generator_logic.cpp \ $(PROJECT_DIR)/controllers/system/signal_executor_sleep.cpp \ $(PROJECT_DIR)/controllers/system/event_queue.cpp \ - $(PROJECT_DIR)/controllers/system/efiGpio.cpp \ - $(PROJECT_DIR)/controllers/system/DcMotor.cpp \ - $(PROJECT_DIR)/controllers/system/SingleTimerExecutor.cpp \ No newline at end of file + $(PROJECT_DIR)/controllers/system/efi_gpio.cpp \ + $(PROJECT_DIR)/controllers/system/dc_motor.cpp \ + $(PROJECT_DIR)/controllers/system/single_timer_executor.cpp \ No newline at end of file diff --git a/firmware/controllers/system/ThreadController.h b/firmware/controllers/system/thread_controller.h similarity index 96% rename from firmware/controllers/system/ThreadController.h rename to firmware/controllers/system/thread_controller.h index 5012a906ad..2c6761fdd8 100644 --- a/firmware/controllers/system/ThreadController.h +++ b/firmware/controllers/system/thread_controller.h @@ -1,5 +1,5 @@ /** - * @file ThreadController.h + * @file thread_controller.h * * @date Jan 5, 2019 * @author Matthew Kennedy, (c) 2019 @@ -7,7 +7,7 @@ #pragma once -#include "ControllerBase.h" +#include "controller_base.h" #include "ch.h" diff --git a/firmware/controllers/trigger/decoders/trigger_structure.h b/firmware/controllers/trigger/decoders/trigger_structure.h index 7de8cfd1fd..0b841636ac 100644 --- a/firmware/controllers/trigger/decoders/trigger_structure.h +++ b/firmware/controllers/trigger/decoders/trigger_structure.h @@ -10,7 +10,7 @@ #include "global.h" #include "engine_configuration_generated_structures.h" -#include "EfiWave.h" +#include "efi_wave.h" #include "globalaccess.h" #define FOUR_STROKE_ENGINE_CYCLE 720 diff --git a/firmware/controllers/trigger/main_trigger_callback.cpp b/firmware/controllers/trigger/main_trigger_callback.cpp index 3ce824752f..46405aaefe 100644 --- a/firmware/controllers/trigger/main_trigger_callback.cpp +++ b/firmware/controllers/trigger/main_trigger_callback.cpp @@ -29,7 +29,7 @@ #if (EFI_ENGINE_CONTROL && EFI_SHAFT_POSITION_INPUT) || defined(__DOXYGEN__) #include "main_trigger_callback.h" -#include "efiGpio.h" +#include "efi_gpio.h" #include "engine_math.h" #include "trigger_central.h" #include "spark_logic.h" @@ -44,7 +44,7 @@ #include "fuel_math.h" #include "histogram.h" #include "engine_controller.h" -#include "efiGpio.h" +#include "efi_gpio.h" #if EFI_PROD_CODE || defined(__DOXYGEN__) #include "rfiutil.h" #endif /* EFI_HISTOGRAMS */ diff --git a/firmware/controllers/trigger/trigger_decoder.cpp b/firmware/controllers/trigger/trigger_decoder.cpp index 74fb8a8188..b600b90c04 100644 --- a/firmware/controllers/trigger/trigger_decoder.cpp +++ b/firmware/controllers/trigger/trigger_decoder.cpp @@ -23,7 +23,7 @@ #include "obd_error_codes.h" #include "trigger_decoder.h" #include "cyclic_buffer.h" -#include "efiGpio.h" +#include "efi_gpio.h" #include "engine.h" #include "engine_math.h" #include "trigger_central.h" diff --git a/firmware/controllers/trigger/trigger_emulator_algo.cpp b/firmware/controllers/trigger/trigger_emulator_algo.cpp index 146390cc54..a13aeac47f 100644 --- a/firmware/controllers/trigger/trigger_emulator_algo.cpp +++ b/firmware/controllers/trigger/trigger_emulator_algo.cpp @@ -14,7 +14,7 @@ * @author Andrey Belomutskiy, (c) 2012-2018 */ #include "global.h" -#include "EfiWave.h" +#include "efi_wave.h" int getPreviousIndex(const int currentIndex, const int size) { return (currentIndex + size - 1) % size; diff --git a/firmware/development/rfi_perftest.cpp b/firmware/development/rfi_perftest.cpp index 6c747dce29..c81ecd376b 100644 --- a/firmware/development/rfi_perftest.cpp +++ b/firmware/development/rfi_perftest.cpp @@ -12,7 +12,7 @@ #include "eficonsole.h" #include "time.h" -#include "efiGpio.h" +#include "efi_gpio.h" #include "efilib2.h" #include "console_io.h" #include "engine.h" diff --git a/firmware/ext_algo/readme.txt b/firmware/ext_algo/readme.md similarity index 100% rename from firmware/ext_algo/readme.txt rename to firmware/ext_algo/readme.md diff --git a/firmware/hw_layer/accelerometer.cpp b/firmware/hw_layer/accelerometer.cpp index ee61452d40..a3d0a5a80b 100644 --- a/firmware/hw_layer/accelerometer.cpp +++ b/firmware/hw_layer/accelerometer.cpp @@ -24,7 +24,7 @@ EXTERN_ENGINE; #if EFI_MEMS || defined(__DOXYGEN__) #include "mpu_util.h" #include "lis302dl.h" -#include "PeriodicController.h" +#include "periodic_controller.h" static SPIDriver *driver; diff --git a/firmware/hw_layer/backup_ram.h b/firmware/hw_layer/backup_ram.h index a09de3ca78..84bb7e5949 100644 --- a/firmware/hw_layer/backup_ram.h +++ b/firmware/hw_layer/backup_ram.h @@ -9,7 +9,7 @@ #define BACKUP_RAM_H_ #include "global.h" -#include "efiGpio.h" +#include "efi_gpio.h" typedef enum { /** diff --git a/firmware/hw_layer/board_test.cpp b/firmware/hw_layer/board_test.cpp index 24db2d5301..ec2adde098 100644 --- a/firmware/hw_layer/board_test.cpp +++ b/firmware/hw_layer/board_test.cpp @@ -27,7 +27,7 @@ #include "engine.h" #include "board_test.h" #include "pin_repository.h" -#include "efiGpio.h" +#include "efi_gpio.h" #include "adc_inputs.h" #include "AdcConfiguration.h" diff --git a/firmware/hw_layer/digital_input_exti.cpp b/firmware/hw_layer/digital_input_exti.cpp index a8f04a2840..1282fff743 100644 --- a/firmware/hw_layer/digital_input_exti.cpp +++ b/firmware/hw_layer/digital_input_exti.cpp @@ -9,7 +9,7 @@ #if HAL_USE_PAL && EFI_PROD_CODE || defined(__DOXYGEN__) #include "digital_input_exti.h" -#include "efiGpio.h" +#include "efi_gpio.h" /** * EXTI is a funny thing: you can only use same pin on one port. For example, you can use diff --git a/firmware/hw_layer/HIP9011.cpp b/firmware/hw_layer/hip9011.cpp similarity index 100% rename from firmware/hw_layer/HIP9011.cpp rename to firmware/hw_layer/hip9011.cpp diff --git a/firmware/hw_layer/HIP9011.h b/firmware/hw_layer/hip9011.h similarity index 100% rename from firmware/hw_layer/HIP9011.h rename to firmware/hw_layer/hip9011.h diff --git a/firmware/hw_layer/HIP9011_logic.cpp b/firmware/hw_layer/hip9011_logic.cpp similarity index 100% rename from firmware/hw_layer/HIP9011_logic.cpp rename to firmware/hw_layer/hip9011_logic.cpp diff --git a/firmware/hw_layer/HIP9011_logic.h b/firmware/hw_layer/hip9011_logic.h similarity index 100% rename from firmware/hw_layer/HIP9011_logic.h rename to firmware/hw_layer/hip9011_logic.h diff --git a/firmware/hw_layer/hw_layer.mk b/firmware/hw_layer/hw_layer.mk index 4b4ec0077e..b9fef485db 100644 --- a/firmware/hw_layer/hw_layer.mk +++ b/firmware/hw_layer/hw_layer.mk @@ -22,8 +22,8 @@ HW_LAYER_EMS_CPP = $(HW_LAYER_EGT_CPP) \ $(PROJECT_DIR)/hw_layer/board_test.cpp \ $(PROJECT_DIR)/hw_layer/pwm_generator.cpp \ $(PROJECT_DIR)/hw_layer/trigger_input.cpp \ - $(PROJECT_DIR)/hw_layer/HIP9011.cpp \ - $(PROJECT_DIR)/hw_layer/HIP9011_logic.cpp \ + $(PROJECT_DIR)/hw_layer/hip9011.cpp \ + $(PROJECT_DIR)/hw_layer/hip9011_logic.cpp \ $(PROJECT_DIR)/hw_layer/vehicle_speed.cpp \ $(PROJECT_DIR)/hw_layer/joystick.cpp \ $(PROJECT_DIR)/hw_layer/stepper.cpp \ diff --git a/firmware/hw_layer/io_pins.cpp b/firmware/hw_layer/io_pins.cpp index 24f4e64eb8..7dca27b1b1 100644 --- a/firmware/hw_layer/io_pins.cpp +++ b/firmware/hw_layer/io_pins.cpp @@ -11,7 +11,7 @@ #if EFI_PROD_CODE #include "io_pins.h" -#include "efiGpio.h" +#include "efi_gpio.h" #include "pin_repository.h" #include "status_loop.h" diff --git a/firmware/hw_layer/microsecond_timer.cpp b/firmware/hw_layer/microsecond_timer.cpp index 75f6faedb3..0b5bff9e43 100644 --- a/firmware/hw_layer/microsecond_timer.cpp +++ b/firmware/hw_layer/microsecond_timer.cpp @@ -20,7 +20,7 @@ #if (EFI_PROD_CODE && HAL_USE_GPT) || defined(__DOXYGEN__) #include "efilib2.h" -#include "PeriodicController.h" +#include "periodic_controller.h" /** * Maximum duration of complete timer callback, all pending events together diff --git a/firmware/hw_layer/pin_repository.h b/firmware/hw_layer/pin_repository.h index c4d27d1546..d8a040e392 100644 --- a/firmware/hw_layer/pin_repository.h +++ b/firmware/hw_layer/pin_repository.h @@ -15,7 +15,7 @@ #include "io_pins.h" #ifdef __cplusplus -#include "efiGpio.h" +#include "efi_gpio.h" class PinRepository { public: diff --git a/firmware/hw_layer/pwm_generator.h b/firmware/hw_layer/pwm_generator.h index 5c01279ef5..7654713ae6 100644 --- a/firmware/hw_layer/pwm_generator.h +++ b/firmware/hw_layer/pwm_generator.h @@ -13,7 +13,7 @@ #define DEBUG_PWM FALSE -#include "efiGpio.h" +#include "efi_gpio.h" void initPwmGenerator(void); diff --git a/firmware/hw_layer/stepper.h b/firmware/hw_layer/stepper.h index 6ca8d6d474..4fc969e584 100644 --- a/firmware/hw_layer/stepper.h +++ b/firmware/hw_layer/stepper.h @@ -8,7 +8,7 @@ #define STEPPER_H_ #include "global.h" -#include "efiGpio.h" +#include "efi_gpio.h" #include "backup_ram.h" class StepperMotor { diff --git a/firmware/rusefi.cpp b/firmware/rusefi.cpp index f62c1a369c..dc2224ab76 100644 --- a/firmware/rusefi.cpp +++ b/firmware/rusefi.cpp @@ -108,7 +108,7 @@ #include "trigger_structure.h" #include "hardware.h" #include "engine_controller.h" -#include "efiGpio.h" +#include "efi_gpio.h" #include "rfi_perftest.h" #include "rusefi.h" diff --git a/misc/jenkins/compile_other_versions/run.bat b/misc/jenkins/compile_other_versions/run.bat index 884e1c3617..93ae5a7701 100644 --- a/misc/jenkins/compile_other_versions/run.bat +++ b/misc/jenkins/compile_other_versions/run.bat @@ -12,7 +12,7 @@ cd firmware call clean.bat cd .. cho Compiling F746 -cd firmware\config\boards\NUCLEO_F746 +cd firmware\config\boards\nucleo_f746 call !compile-nucleo_f746.bat cd .. pwd @@ -25,7 +25,7 @@ cd firmware call clean.bat cd .. echo Compiling F767 -cd firmware\config\boards\NUCLEO_F767 +cd firmware\config\boards\nucleo_f767 call !compile-nucleo_f767.bat cd .. pwd @@ -37,7 +37,7 @@ cd firmware call clean.bat cd .. echo Compiling F767 -cd firmware\config\boards\NUCLEO_F767 +cd firmware\config\boards\nucleo_f767 call !compile-f767.bat cd .. pwd diff --git a/unit_tests/tests/test_fuel_map.cpp b/unit_tests/tests/test_fuel_map.cpp index 443221833f..8ee0f44335 100644 --- a/unit_tests/tests/test_fuel_map.cpp +++ b/unit_tests/tests/test_fuel_map.cpp @@ -13,7 +13,7 @@ #include "engine_math.h" #include "trigger_decoder.h" #include "engine_test_helper.h" -#include "efiGpio.h" +#include "efi_gpio.h" #include "advance_map.h" extern float testMafValue; diff --git a/unit_tests/tests/test_util.cpp b/unit_tests/tests/test_util.cpp index 11855a77e7..4a6714828d 100644 --- a/unit_tests/tests/test_util.cpp +++ b/unit_tests/tests/test_util.cpp @@ -22,7 +22,7 @@ #include "crc.h" #include "fl_stack.h" #include "io_pins.h" -#include "efiGpio.h" +#include "efi_gpio.h" #include "efilib.h" #include "gtest/gtest.h"