rusefi/firmware
GitHub build-firmware Action 8cbb1e5b5a Auto-generated configs and docs 2021-08-04 01:56:55 +00:00
..
ChibiOS@948b015c9c
ChibiOS-Contrib@fe3cdf8314
bootloader Use pch in lots of files (#3066) 2021-07-26 01:05:17 -04:00
config hellen154hyundai 2021-08-03 20:03:59 -04:00
console make build happy (#3067) 2021-07-26 09:08:05 -04:00
controllers Auto-generated configs and docs 2021-08-04 01:56:55 +00:00
development Use pch in lots of files (#3066) 2021-07-26 01:05:17 -04:00
docs
ext
ext_algo
hw_layer unit test for vehicle_speed.cpp fix #3081 2021-08-03 20:22:48 -04:00
iar_egt
init fix the mess (#3094) 2021-08-01 23:21:53 -04:00
integration hellen154hyundai 2021-08-03 05:24:09 -04:00
pch Use pch in lots of files (#3066) 2021-07-26 01:05:17 -04:00
tunerstudio Auto-generated configs and docs 2021-08-04 01:56:55 +00:00
util Faster enginePins.stopPins() #3070 2021-07-28 14:14:51 -04:00
.cproject
.gitattributes
.gitignore set up precompiled header (#2971) 2021-07-25 21:23:23 -04:00
.project
CHANGELOG.md RUSEFI MSD to contain bundle-specific URL #2848 2021-07-30 22:23:52 -04:00
Doxyfile
DoxygenLayout.xml
Makefile set up precompiled header (#2971) 2021-07-25 21:23:23 -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
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
flash_reboot_dfu.bat
flash_release.bat
gen_config.bat
gen_config.sh gen_config.sh code duplication #2451 2021-07-30 17:39:55 -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
globalaccess.h
kill_for_coverity.c
license.txt
main.cpp just a poke #2 2021-07-08 22:53:30 -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 Use pch in lots of files (#3066) 2021-07-26 01:05: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
svnversion.h
update_version.bat
update_version.sh
version_check.h

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.