rusefi/firmware
rusefillc d567f2f852 reducing magic constants & pedal calibration 2022-01-27 18:28:42 -05:00
..
ChibiOS@8f0926be79 Catch up with Chibios 20.3 #2555 2022-01-15 21:04:34 -05:00
ChibiOS-Contrib@fe3cdf8314
bootloader Catch up with Chibios 20.3 #2555 2022-01-15 22:09:33 -05:00
config Auto-generated configs and docs 2022-01-27 22:59:57 +00:00
console reducing magic constants 2022-01-27 17:39:46 -05:00
controllers reducing magic constants & pedal calibration 2022-01-27 18:28:42 -05:00
development migrating to SensorType::Rpm API 2022-01-20 22:38:08 -05:00
docs
ext OpenBLT: add as submodule under firmware/ext (#3432) 2021-10-31 14:46:28 -04:00
ext_algo
hw_layer docs 2022-01-26 13:13:06 -05:00
init vss and flex are filtered (#3839) 2022-01-26 17:33:04 -05:00
integration vss based dfco (#3845) 2022-01-27 14:05:18 -05:00
pch Do compiler check first (#3706) 2021-12-20 16:17:53 -05:00
tunerstudio Auto-generated configs and docs 2022-01-27 22:59:57 +00:00
util baro fully in sensor model (#3829) 2022-01-23 09:42:11 -05:00
.cproject
.gitattributes
.gitignore
.project
CHANGELOG.md ## January 2022 Release - "Green Juice" 2022-01-26 17:34:41 -05:00
Doxyfile
DoxygenLayout.xml
Makefile Catch up with Chibios 20.3 #2555 2022-01-15 21:13:37 -05:00
build-notes.txt
check.c GCC-10 and C++ 2a: supress depricated volatile use errors (#3711) 2021-12-21 14:38:49 -05:00
clean.bat
clean.sh
clean_build.bat
clean_compile_two_versions.bat
clean_compile_two_versions.sh
common.mk mk files refactoring 2022-01-06 22:19:00 -05:00
compile.bat
compile_and_program.bat
cov_config.bat
cov_run.bat
coverity.yml
dump.bat
dump_release.bat
egt2can.cpp
exception.txt
flash.bat
flash_can.sh Openblt scripts (#3801) 2022-01-17 16:56:06 -05:00
flash_dfu.bat Better Windows build-in DFU #3338 2021-10-23 15:17:51 -04:00
flash_dfu.sh UPS: no need to define load addr for dfu file (#3800) 2022-01-17 16:38:23 -05:00
flash_dfu_openblt_only.sh Openblt scripts (#3801) 2022-01-17 16:56:06 -05:00
flash_erase407.bat
flash_erase407.sh
flash_erase767.bat
flash_erase_dfu.bat maybe lua freezes proteus h7 after 7 seconds of run #3539 2021-11-12 12:45:53 -05:00
flash_openocd407.bat
flash_openocd407.sh
flash_openocd767.bat
flash_openocd_h7.bat
flash_reboot_dfu.bat Better Windows build-in DFU #3338 2021-10-23 15:47:39 -04:00
flash_release.bat
gen_config.bat
gen_config.sh add proteus h7 to list (#3819) 2022-01-20 15:14:47 -05:00
gen_config_board.bat
gen_config_board.sh reducing code duplication 2022-01-05 01:02:50 -05:00
gen_config_common.sh reducing code duplication 2022-01-05 01:02:50 -05:00
gen_config_default.sh
gen_enum_to_string.bat
gen_enum_to_string.sh Revert "forced 4 byte thing is actually no longer needed so much" (#3785) 2022-01-12 21:59:21 -05:00
gen_live_documentation.bat
gen_live_documentation.sh live data progress 2022-01-05 01:34:48 -05:00
gen_output_channels.sh dead code 2022-01-05 00:53:44 -05:00
gen_ptrace_enums.bat
gen_signature.sh simplify signature.h generation (#3480) 2021-11-06 23:19:53 -04:00
gen_system_fsio.bat
gen_trigger_images.bat
generate_docs.bat
generate_memory_usage_report.bat
generate_memory_usage_report.sh this one is for Scott 2021-11-08 19:02:34 -05:00
get_performance_trace.bat
global.h Ports: STM32F4: add optional external SDRAM (#3762) 2022-01-09 17:39:10 -05:00
globalaccess.h remove engine pointer passing (#3556) 2021-11-16 04:15:29 -05:00
kill_for_coverity.c
license.txt
main.cpp Does not compile under gcc10 #3644 2021-12-20 12:25:30 -05:00
main_hardfault.c
make4.bat
openblt.mk OpentBLT: fix for STM32F4/H7 (#3796) 2022-01-16 15:24:23 -05:00
os_access.h
readme.md
reboot_ecu.bat
run_hw_test.bat
rusefi.cpp migrating to SensorType::Rpm API 2022-01-20 22:22:52 -05:00
rusefi.h (void) -> () (#3550) 2021-11-15 13:02:34 +01:00
rusefi.mk
rusefi_pch.mk Compile each project's PCH to a separate file to reduce developer friction. (#3505) 2021-11-08 15:52:58 -05:00
rusefi_rules.mk
send_command.bat maybe lua freezes proteus h7 after 7 seconds of run #3539 2021-11-12 12:51:05 -05:00
setup_linux_environment.sh mods (#3610) 2021-11-25 07:58:30 -05:00
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.

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.