fome-fw/firmware
alxrMironov dd1b7ffa24 Vehicle speed switching to frequency sensor #3106 (#3148)
* Add vehicle_speed_converter.h with realization.

* Add test_vehicle_speed_converter.cpp with realization.

* Add test_vehicle_speed_converter.cpp to Makefile

* Edit "VehicleSpeedSensor" from function pointer sensor to frequency sensor

* Fix "VehicleSpeedSensor" init function args

* Remove "VehicleSpeedConverter" empty constructor

* Edit vehicle_speed_converter.h code style

* Fix args and engine injection in "VehicleSpeedSensor" initialization procedure

* Remove old "Vehicle Speed" module initialization

* Revert "Remove old "Vehicle Speed" module initialization"

This reverts commit 100b7caa8c615c20eed3d0c23a49824b4e556148.

* Remove old "Vehicle Speed" module initialization pieces

* Revert "Revert "Remove old "Vehicle Speed" module initialization""

This reverts commit f559a726f1f7f5a7acacd1b6517e571743e84327.

* Debug changes

* Revert "Debug changes"

This reverts commit f7e2be1a8a46c6f3f93f14f002b2f2db539da8e2.

* Another debug changes

* More debug changes

* And more debug changes.

* Revert "Another debug changes"

This reverts commit 914fbb1df42c37e4b5ecbb119bb45e7cffdf4064.

* Revert "More debug changes"

This reverts commit 0b2d96d461c3cd9b0f1ae97ed110b8effe6b0cc6.

* Revert "And more debug changes."

This reverts commit 06ae8daded0e6e1c025e4e5058b47283f4adfe92.

* Add "Vehicle Speed" sensor reconfiguration

* Revert "Add "Vehicle Speed" sensor reconfiguration"

This reverts commit a089a6d563dd710004ce1a7da1744b0b4b90c3b1.

* Revert "Revert "Add "Vehicle Speed" sensor reconfiguration""

This reverts commit 7b2bb8af4b3caa547236ca59e4c4bdb3ac1200cc.

* Debug changes

* Another debug changes

* Fix another debug changes

* Another debug changes 2

* Revert "Another debug changes 2"

This reverts commit cfad55141eec125b2f1d35fb95d9f46b54f666b6.

* Revert "Fix another debug changes"

This reverts commit 9bc2c74a3be6fd896827ff48cf4580e7657529c0.

* Revert "Another debug changes"

This reverts commit 4337ed8cad8dff508d093944eb3f75e9a69e4a77.

* Edit class  FrequencySensor, make it more RAII

* Debug changes

* Debug changes 2

* Debug changes 3

* Revert "Debug changes 3"

This reverts commit 52a7054c122b5157540fe45a055a84b57478d722.

* Revert "Debug changes 2"

This reverts commit dec79fb913344ccb4b8614910ad62e6c129a243e.

* Revert "Debug changes"

This reverts commit eb08d7a529b55ba397a7dd2c154b76eab42f212b.

* Revert "Edit class  FrequencySensor, make it more RAII"

This reverts commit 3a0bb1d3f1dd23c1b04e4cc1c526cfdc67ae86a3.

* Remove VSS pin definition in "Citroen Berlingo" engine config.

This reverts commit 3a0bb1d3f1dd23c1b04e4cc1c526cfdc67ae86a3.

* Remove VSS pin definition in "Dodge Neon" engine config

Co-authored-by: alxrMironov <330OMcorporative>
2021-08-24 00:55:41 -04:00
..
ChibiOS@8c8b39d8ac qspi flash updates (#3169) 2021-08-17 11:06:37 +03:00
ChibiOS-Contrib@fe3cdf8314 fresh 2021-04-15 00:43:19 -04:00
bootloader yet more pch (#3068) 2021-08-03 22:05:01 -04:00
config Vehicle speed switching to frequency sensor #3106 (#3148) 2021-08-24 00:55:41 -04:00
console Tooth logger to use engineSnifferRpmThreshold #3161 2021-08-15 14:14:13 -04:00
controllers Vehicle speed switching to frequency sensor #3106 (#3148) 2021-08-24 00:55:41 -04:00
development yet more pch (#3068) 2021-08-03 22:05:01 -04:00
docs
ext don't build OS lib (#2700) 2021-05-17 08:38:30 +03:00
ext_algo Doxygen titles (#2728) 2021-05-22 22:10:58 +03:00
hw_layer Vehicle speed switching to frequency sensor #3106 (#3148) 2021-08-24 00:55:41 -04:00
iar_egt
init Vehicle speed switching to frequency sensor #3106 (#3148) 2021-08-24 00:55:41 -04:00
integration Lua analog inputs 2021-08-22 00:05:51 -04:00
pch even more pch (#3112) 2021-08-04 19:30:52 -04:00
tunerstudio Lua analog inputs 2021-08-22 00:05:51 -04:00
util zero dwell warning at zero RPM #3153 2021-08-16 09:11:22 -04:00
.cproject
.gitattributes
.gitignore set up precompiled header (#2971) 2021-07-25 21:23:23 -04:00
.project
CHANGELOG.md Tooth logger to use engineSnifferRpmThreshold #3161 2021-08-15 13:59:18 -04:00
Doxyfile Fix doxygen (#2286) 2021-02-05 23:09:02 -05:00
DoxygenLayout.xml
Makefile Settings ext storage (#3155) 2021-08-14 09:36:08 -04:00
build-notes.txt docs 2021-07-09 13:29:03 -04:00
clean.bat
clean.sh set up precompiled header (#2971) 2021-07-25 21:23:23 -04:00
clean_build.bat
clean_compile_two_versions.bat
clean_compile_two_versions.sh Add two new V8 firing orders (#2423) 2021-03-05 19:28:17 -05:00
compile.bat
compile_and_program.bat
cov_config.bat
cov_run.bat
coverity.yml
dump.bat
dump_iar.bat
dump_release.bat
egt2can.cpp more graceful chibios assertion failure (#2859) 2021-07-05 18:18:58 -04:00
exception.txt
flash.bat
flash_dfu.bat
flash_dfu.sh
flash_erase407.bat
flash_erase407.sh
flash_erase767.bat
flash_openocd407.bat
flash_openocd407.sh
flash_openocd767.bat
flash_openocd_h7.bat H7 compilation #2284 2021-02-23 19:11:18 -05:00
flash_reboot_dfu.bat
flash_release.bat
gen_config.bat
gen_config.sh NB1 2021-08-07 05:29:13 -04:00
gen_config_board.bat
gen_config_board.sh RUSEFI MSD to contain bundle-specific URL #2848 2021-07-30 21:18:51 -04:00
gen_config_default.sh gen_config.sh code duplication fix #2451 2021-07-30 22:00:35 -04:00
gen_enum_to_string.bat typos 2021-07-30 16:28:27 -04:00
gen_enum_to_string.sh typos 2021-07-30 16:28:27 -04:00
gen_firing_order.bat
gen_fsio_example.bat
gen_fsio_example_reverse.bat
gen_live_documentation.bat
gen_live_documentation.sh
gen_ptrace_enums.bat Feature 3014 migrating to gradle (#3079) 2021-07-30 08:15:32 -04:00
gen_signature.sh RUSEFI MSD to contain bundle-specific URL #2848 2021-07-30 16:23:01 -04:00
gen_system_fsio.bat
gen_trigger_images.bat
generate_docs.bat
generate_memory_usage_report.bat
get_performance_trace.bat
global.h compile gpiochips as cpp (#2702) 2021-05-17 08:42:56 +03:00
globalaccess.h
kill_for_coverity.c
license.txt
main.cpp yet more pch (#3068) 2021-08-03 22:05:01 -04:00
main_hardfault.c
make4.bat
os_access.h trigger signal debug pins - logic level output #2959 2021-07-15 01:28:44 -04:00
readme.md docs 2021-07-09 13:29:03 -04:00
reboot_ecu.bat
run_hw_test.bat
rusefi.cpp zero dwell warning at zero RPM #3153 2021-08-16 07:00:17 -04:00
rusefi.h
rusefi.mk helping build? 2021-07-05 10:57:40 -04:00
rusefi_pch.mk set up precompiled header (#2971) 2021-07-25 21:23:23 -04:00
rusefi_rules.mk
setup_linux_environment.sh progress 2021-05-15 05:46:54 -04:00
svnversion.h poke 2021-05-24 09:18:14 -04:00
update_version.bat
update_version.sh
version_check.h version check (#2673) 2021-05-09 20:26:53 -04:00

readme.md

Doxygen

Q&A on source code

See also ../unit_tests

This directory contains the source code for the RusEFI firmware.

The ideal is that typical end users should be able to use pre-built firmware. They should not need to modify or even rebuild from the source code for basic use, but building from the source code provides the opportunity for optimization, supporting unexpected engine configurations, and specialized enhancements.

TL;DR

make PROJECT_BOARD=microrusefi PROJECT_CPU=ARCH_STM32F4

Environment

Rebuilding from source code requires this firmware, a modern C/C++ compiler for embedded ARM systems, and a platform that supports 'make' based builds.

See setup_linux_environment.sh

While many compilers have the potential to work, we suggest using the official ARM version of GCC available at launchpad.net.

Linux and MacOS systems should have the software development tools, primarily 'make', pre-installed or readily installed. MS-Windows requires selecting and installing a Unix-compatible system environment.

Note that the developers are volunteers, with varied motivations. These motivations often include using leading-edge language and build system concepts, requiring recent versions of tools. Should you encounter build problems, review the latest version of this document.