rusefi/firmware
shadowm60 8d8e8ec260
Launch control - experimental (#1816)
* Update tachometer.cpp

Initial implementation of E30 M3 Tach output solution #907, unit_test plus debugging next

* tacho unit tests

First successfull unit test for tachometer

* RAM adjustment so it would link

* refactoring tacho, broken!

* starting to make some progress...still fails after a few seconds

* Rework with SW PWM

* Update after code review

* unit_test update

* First working unit_test

* Update .gitignore

* Update engine_controller.cpp

* Update engine_controller.cpp

* Update tachometer.h

* Update test_tacho.cpp

* Switched UART DMA on

* Revert "Switched UART DMA on"

This reverts commit 4a23974c431e0e7fd760595d2161e74e6854897e.

* enable launch control

make use of already existent code + integration

* Delete compile_frankenso_all.sh

remove it since it is not part of the project

* Update main_trigger_callback.cpp

broke unit_Tests

Co-authored-by: rusefi <rusefi@users.noreply.github.com>
2020-09-22 16:25:27 -04:00
..
ChibiOS@1a2c5967dc
ChibiOS-Contrib@8f7c2d187b
bootloader
config Launch control - experimental (#1816) 2020-09-22 16:25:27 -04:00
console Dedicated sensors for wastegate + idle position (#1805) 2020-09-18 10:04:07 +03:00
controllers Launch control - experimental (#1816) 2020-09-22 16:25:27 -04:00
development logging simplification: switch bare functions to member functions: try the second (#1794) 2020-09-13 11:49:25 +03:00
docs
ext
ext_algo
hw_layer Fix debounce (#1814) 2020-09-21 18:25:24 -04:00
iar_egt
init move AEM xseries lambda to new sensor (#1764) 2020-09-21 06:01:54 -04:00
integration https://rusefi.com/forum/viewtopic.php?f=3&t=1523 2020-09-22 04:57:43 -04:00
tunerstudio Launch control - experimental (#1816) 2020-09-22 16:25:27 -04:00
util logging simplification: switch bare functions to member functions: try the second (#1794) 2020-09-13 11:49:25 +03:00
.cproject
.gitattributes
.gitignore
.project
Doxyfile
DoxygenLayout.xml
Makefile Merge remote-tracking branch 'origin/Hellen_fork_point' into master 2020-09-09 17:19:41 -04:00
build-notes.txt
clean.bat
clean.sh
clean_build.bat
clean_compile_two_versions.bat
clean_compile_two_versions.sh
compile.bat
compile_and_program.bat
cov_config.bat
cov_run.bat
coverity.yml
dump.bat
dump_iar.bat
dump_release.bat
egt2can.cpp
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_reboot_dfu.bat
flash_release.bat
gen_config.bat
gen_config.sh
gen_config_board.bat
gen_config_board.sh
gen_config_default.sh
gen_enum_to_string.bat
gen_enum_to_string.sh
gen_firing_order.bat
gen_fsio_example.bat
gen_live_documentation.bat
gen_live_documentation.sh
gen_ptrace_enums.bat
gen_signature.sh
gen_system_fsio.bat
gen_trigger_images.bat
generate_docs.bat
generate_memory_usage_report.bat
global.h
globalaccess.h
kill_for_coverity.c
license.txt
main.cpp
main_hardfault.c
make4.bat
os_access.h
readme.md
reboot_ecu.bat
run_hw_test.bat
rusefi.cpp better QC procedure 2020-09-19 04:39:32 -04:00
rusefi.h
rusefi.mk
rusefi_rules.mk
svnversion.h
update_version.bat
update_version.sh

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.

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.

Expected Future Changes

The firmware build is moving toward a system that separates board features from processor features. This will require specifying both the board type and specific processor.

The existing system evolved based on the original RusEFI boards. Those used 'STM32 Discovery' development boards plugged into base boards that held the ECU-specific chips. That approach resulted in hard-coded assumption about pin assignments, and associations of hardware with a specific processor variant. That legacy is slowly being cleaned up, but is still evident in some settings and limitations.