rusefi/firmware
GitHub gen-configs Action 439ca0a56f Auto-generated configs and docs 2023-11-19 03:21:57 +00:00
..
ChibiOS@b3ae9ee852 fresh 2023-11-03 20:54:02 -04:00
ChibiOS-Contrib@63b50e410c
bootloader remove ccache 2023-11-02 14:30:22 -04:00
config Auto-generated configs and docs 2023-11-19 03:21:57 +00:00
console Auto-generated configs and docs 2023-11-15 21:38:14 +00:00
controllers Auto-generated configs and docs 2023-11-19 03:21:57 +00:00
development only:cleaner defines 2023-11-05 18:20:12 -05:00
docs only:wow this repo is soooo old 2023-07-21 22:05:58 -04:00
ext only:cleaner defines 2023-11-05 18:20:12 -05:00
ext_algo
hw_layer ports: AT32: SPI AF tables, helpers, init code 2023-11-18 11:14:46 -06:00
init Flex fuel problem #5702 2023-11-09 11:58:27 -05:00
integration dead piece of config 2023-11-17 16:57:23 -05:00
libfirmware@b935cacf8f test moved to library 2023-11-01 09:39:33 -04:00
pch pursuit of truth 2023-10-31 09:36:45 -04:00
tunerstudio Auto-generated configs and docs 2023-11-19 03:21:57 +00:00
util only:RTFM? 2023-11-05 17:23:17 -05:00
.cproject
.gitattributes
.gitignore
.project
CHANGELOG.md odd fire engines do not appreciate wasted mode on spinning fix #5715 2023-11-13 02:15:25 -05:00
Doxyfile
DoxygenLayout.xml
Makefile only:typo 2023-11-09 22:36:00 -05:00
build-notes.txt
clean.bat
clean.sh
clean_build.bat
common.mk Get rid of HW_LAYER_EMS (#5389) 2023-07-04 23:42:13 -04: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_bin.bat
flash_can.sh
flash_dfu.bat
flash_dfu.sh only:DFU needs sudo right? 2023-07-04 01:05:06 -04:00
flash_dfu_bin.bat
flash_dfu_erase.sh
flash_dfu_openblt_only.sh
flash_erase407.bat
flash_erase407.sh
flash_erase767.bat
flash_erase_dfu.bat
flash_openocd407.bat only:windows fix 2023-08-05 01:51:25 -04:00
flash_openocd407.sh only:linux openocd 2023-08-04 12:39:01 -04:00
flash_openocd767.bat
flash_openocd_h7.bat
flash_reboot_dfu.bat
flash_release.bat
flash_usb.sh Openblt usb on Proteus with OSC detecor (#5382) 2023-07-03 08:22:18 -04:00
gcc_version_check.c rename 2023-08-27 09:31:19 -04:00
gen_config.bat
gen_config.sh no activity on those 2023-11-08 09:40:06 -05:00
gen_config_board.bat
gen_config_board.sh only:proteus_f7 2023-11-14 01:02:20 -05:00
gen_config_common.sh only:wow TS naming inconsistency Output vs Pin 2023-07-14 11:19:17 -04:00
gen_config_default.sh only:CI to use tools from source code, also time to not have jar files in repo in the first place? 2023-06-17 15:23:49 -04:00
gen_default_everything.sh only:simplifying scripts: gen_enum_to_string.sh is invoked only by gen_live_documentation.sh 2023-07-03 23:33:30 -04:00
gen_enum_to_string.bat
gen_enum_to_string.sh generate java enums from can_common.h 2023-10-01 17:34:13 -04:00
gen_live_documentation.bat
gen_live_documentation.sh only:simplifying scripts: gen_enum_to_string.sh is invoked only by gen_live_documentation.sh 2023-07-03 23:33:30 -04:00
gen_ptrace_enums.bat
gen_signature.sh only:CI to use tools from source code, also time to not have jar files in repo in the first place? 2023-06-17 16:13:02 -04:00
gen_trigger_images.bat
generate_docs.bat
generate_memory_usage_report.bat
generate_memory_usage_report.sh
get_performance_trace.bat
global.h IAR does not exist for us 2023-08-30 22:41:47 -04:00
kill_for_coverity.c
license.txt
main.cpp
main_hardfault.c HardFault: preserve locals from optimization in Fault handlers (#5466) 2023-07-25 18:46:27 -04:00
main_hardfault_asm.S
make4.bat
provide_gcc.sh gcc12 gcc 12 #5031 (#5356) 2023-07-05 20:53:36 -04:00
readme.md
reboot_dfu.sh only:DFU script to build console 2023-07-04 00:41:27 -04:00
reboot_ecu.bat
run_hw_test.bat
rusefi.cpp dead warningEnabled global variable (#5636) 2023-10-24 18:55:29 -04:00
rusefi.h
rusefi.mk Fix non-F4 (#5390) 2023-07-05 09:09:08 -04:00
rusefi_pch.mk only: Cleaning-BLT into 'make clean' 2023-06-04 19:25:49 -04:00
rusefi_rules.mk # some compilers seem to have this off by default? (#5693) 2023-11-05 21:40:43 -05:00
send_command.bat
setup_linux_environment.sh ant can go 2023-07-18 14:12:56 -04:00
svnversion.h Update date 2023-09-04 21:23:19 -04:00
update_version.bat
update_version.sh

readme.md

Doxygen <<< landing page has best implementation introduction.

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.