rusefi-1/firmware
rusefi 6f9ed5205d we have MRE F4 now 2019-11-06 18:58:11 -05:00
..
.vscode vscode usability (#938) 2019-09-16 07:07:42 -04:00
ChibiOS@85cf4582a9 different handling of SD card loss 2019-09-21 12:40:40 -04:00
ChibiOS-Contrib@8f7c2d187b we might not use Contrib at the moment 2019-09-22 09:56:47 -04:00
bootloader fixing bootleader build 2019-08-03 20:09:18 -04:00
config we have MRE F4 now 2019-11-06 18:58:11 -05:00
console evil manual merge of https://github.com/DonaldBecker/rusefi 2019-11-05 20:07:55 -05:00
controllers evil manual merge of https://github.com/DonaldBecker/rusefi 2019-11-06 18:26:50 -05:00
development pieces of #971 2019-11-03 22:02:52 -05:00
docs
ext
ext_algo
hw_layer evil manual merge of https://github.com/DonaldBecker/rusefi 2019-11-06 18:26:50 -05:00
iar_egt
init move tsOutputChannels to header (#970) 2019-10-08 21:02:51 -04:00
integration Missing dwell altogether in some corner cases #796 2019-11-05 23:36:33 -05:00
tunerstudio Kinetis timer freq. fix & config update (#999) 2019-11-06 14:45:55 -05:00
util fancy C++ s/NULL/nullptr/ 2019-10-08 01:26:35 -04:00
.cproject refreshing Eclipse exclude list 2019-07-05 20:29:39 -04:00
.gitignore software jump to DFU #809 2019-08-04 00:21:44 -04:00
.project
Doxyfile add sensor framework, tests (#929) 2019-09-21 14:33:38 -04:00
DoxygenLayout.xml
Makefile Sensors: composition >> inheritance (#953) 2019-09-24 21:11:41 -04:00
build-notes.txt skeleton & docs (#995) 2019-11-03 08:41:14 -05:00
clean.bat reducing scripts duplication 2019-06-07 19:54:15 -04:00
clean_build.bat
clean_compile_two_versions.bat more info into jenkins output 2019-07-14 15:00:56 -04:00
compile.bat
compile_and_program.bat more info into jenkins output 2019-07-14 15:00:56 -04:00
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 nicer bundle folder structure and reducing unneeded content #833 2019-06-08 22:05:52 -04:00
flash_erase407.bat need more DevOps :( trying with 'sleep' 2019-06-01 20:25:51 -04:00
flash_erase767.bat docs 2019-07-28 18:56:23 -04:00
flash_openocd407.bat
flash_openocd767.bat
flash_release.bat reducing or increasing comlexity with two sets of files 2019-06-08 16:15:32 -04:00
gen_config.bat Delayed A/C compressor switch #922 2019-09-11 19:30:36 -04:00
gen_config2.bat Live Data: trigger current gap 2019-09-03 19:30:51 -04:00
gen_config_board.bat Utility class which writes same line both to stdout and file 2019-06-17 20:21:32 -04:00
gen_enum_to_string.bat Utility class which writes same line both to stdout and file 2019-06-17 20:21:32 -04:00
gen_fsio_example.bat
gen_system_fsio.bat
gen_trigger_images.bat
generate_docs.bat
generate_memory_usage_report.bat
global.h unit tests progress 2019-09-18 21:38:45 -04:00
globalaccess.h ETB: TPS should be f(RPM, pedal) - target table #835 2019-06-15 14:11:38 -04:00
kill_for_coverity.c
license.txt
main.cpp CI instability: FATAL error: warn stream not initialized for 6039 2019-08-04 13:48:10 -04:00
main_hardfault.c This black magic improves hard fault debugging experience 2019-09-22 21:28:19 -04:00
make4.bat
os_access.h Refactoring: OS access should be explicit #867 2019-07-04 03:57:21 -04:00
readme.md skeleton & docs (#995) 2019-11-03 08:41:14 -05:00
reboot_ecu.bat command line utiity to reboot rusEfi 2019-08-23 21:01:37 -04:00
rusefi.cpp MRE etb 2019-08-17 17:33:44 -04:00
rusefi.h reducing code duplication & reboot to rusEfi console 2019-06-28 23:33:48 -04:00
rusefi.mk software jump to DFU #809 2019-08-03 22:08:23 -04:00
svnversion.h poke 2019-11-03 23:55:23 -05:00
update_version.bat

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.