rusefi/firmware
rusefillc c97e850c8d "Wastegate position sensor" into logs 2020-12-13 23:00:39 -05:00
..
ChibiOS@1a2c5967dc
ChibiOS-Contrib@8f7c2d187b
bootloader consolidate EFI_UNIT_TEST and friends (#1940) 2020-11-11 20:34:39 -05:00
config Auto-generated configs and docs 2020-12-14 02:54:40 +00:00
console sd log afr 2 (#2052) 2020-12-10 14:05:52 -05:00
controllers Auto-generated configs and docs 2020-12-14 02:54:40 +00:00
development basic hw in the loop - pwm self validation #2028 2020-12-07 20:42:47 -05:00
docs Migrate to newer ChibiOS #710 2020-12-01 10:59:12 -05:00
ext debugging in vscode 🎉 (#1942) 2020-11-11 20:36:15 -05:00
ext_algo
hw_layer add support for ext ids (#2060) 2020-12-12 16:34:21 -05:00
iar_egt
init second lambda (x-series CAN only, for now) (#2048) 2020-12-09 20:26:23 -05:00
integration "Wastegate position sensor" into logs 2020-12-13 23:00:39 -05:00
tunerstudio Auto-generated configs and docs 2020-12-14 02:54:40 +00:00
util clang warnings again #2055 2020-12-11 12:50:10 -05:00
.cproject
.gitattributes
.gitignore Hellen says merge #1772 2020-09-26 04:13:02 -04:00
.project
CHANGELOG.md more better changelog 2020-12-11 10:34:28 -05:00
Doxyfile
DoxygenLayout.xml
Makefile consolidate EFI_UNIT_TEST and friends (#1940) 2020-11-11 20:34:39 -05: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 Update gen_config.sh 2020-09-27 11:01:06 -04:00
gen_config_board.bat
gen_config_board.sh
gen_config_default.sh
gen_enum_to_string.bat
gen_enum_to_string.sh Hellen says fix gen_enum_to_string & gen_config (#1825) 2020-09-27 10:40:37 -04:00
gen_firing_order.bat
gen_fsio_example.bat decompile_fsio_line 2020-12-12 10:40:55 -05:00
gen_fsio_example_reverse.bat decompile_fsio_line 2020-12-12 10:40:55 -05:00
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
get_performance_trace.bat get_performance_trace automation 2020-10-04 16:03:35 -04:00
global.h clang warnings again #2055 2020-12-11 10:33:00 -05:00
globalaccess.h
kill_for_coverity.c
license.txt
main.cpp
main_hardfault.c
make4.bat
os_access.h simplify getTimeNowNt() (#1876) 2020-10-15 08:57:13 -04:00
readme.md
reboot_ecu.bat
run_hw_test.bat
rusefi.cpp Remove lockAnyContext, replace with CriticalSectionLocker (#1938) 2020-11-19 06:56:02 -05:00
rusefi.h
rusefi.mk
rusefi_rules.mk
svnversion.h poke 2020-10-10 00:07:15 -04:00
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.