rusefi-1/firmware
Matthew Kennedy 3241a43a2d
extract idle hardware to its own file (#1923)
* extract idle hardware

* should fix the build
2020-11-03 18:06:32 -05:00
..
ChibiOS@1a2c5967dc
ChibiOS-Contrib@8f7c2d187b
bootloader disable i2c, other unused features (#1891) 2020-10-20 22:24:32 -04:00
config convert cranking defaults to mg (#1921) 2020-11-03 14:12:26 -05:00
console Output pin init/deinit needs a linked list #1803 2020-11-03 00:21:39 -05:00
controllers extract idle hardware to its own file (#1923) 2020-11-03 18:06:32 -05:00
development Remove trigger listener list (#1886) 2020-10-17 08:00:11 -04:00
docs
ext
ext_algo
hw_layer extract idle hardware to its own file (#1923) 2020-11-03 18:06:32 -05:00
iar_egt better file name 2020-05-25 13:02:05 -04:00
init docs 2020-10-28 00:07:34 -04:00
integration Output pin init/deinit needs a linked list #1803 2020-11-03 12:18:52 -05:00
tunerstudio Auto-generated configs and docs 2020-11-03 17:20:50 +00:00
util Everything in lambda! (#1893) 2020-10-26 18:15:17 -04:00
.cproject
.gitattributes is this the problem? 2020-06-16 14:19:40 -04:00
.gitignore Hellen says merge #1772 2020-09-26 04:13:02 -04:00
.project
CHANGELOG.md create changelog (#1917) 2020-10-28 17:16:06 -04:00
Doxyfile
DoxygenLayout.xml
Makefile switch to single precision constants (#1880) 2020-10-14 20:04:35 -04:00
build-notes.txt
clean.bat Switch to Bash (#1585) 2020-07-09 10:27:20 -04:00
clean.sh chmod +x *.sh 2020-08-06 21:45:34 -07:00
clean_build.bat
clean_compile_two_versions.bat Switch to Bash (#1585) 2020-07-09 10:27:20 -04:00
clean_compile_two_versions.sh chmod +x *.sh 2020-08-06 21:45:34 -07:00
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 new command line tool: read_tune 2020-07-29 19:25:25 -04:00
flash_dfu.sh Switch to Bash (#1585) 2020-07-09 10:27:20 -04:00
flash_erase407.bat Switch to Bash (#1585) 2020-07-09 10:27:20 -04:00
flash_erase407.sh chmod +x *.sh 2020-08-06 21:45:34 -07:00
flash_erase767.bat
flash_openocd407.bat Switch to Bash (#1585) 2020-07-09 10:27:20 -04:00
flash_openocd407.sh chmod +x *.sh 2020-08-06 21:45:34 -07:00
flash_openocd767.bat
flash_reboot_dfu.bat command line switch to DFU 2020-05-08 21:11:11 -04:00
flash_release.bat
gen_config.bat little comforts of life 2020-07-15 00:26:10 -04:00
gen_config.sh Update gen_config.sh 2020-09-27 11:01:06 -04:00
gen_config_board.bat Switch to Bash (#1585) 2020-07-09 10:27:20 -04:00
gen_config_board.sh https://github.com/rusefi/web_backend/issues/73 2020-08-14 15:56:59 -04:00
gen_config_default.sh https://github.com/rusefi/web_backend/issues/73 2020-08-14 15:56:59 -04:00
gen_enum_to_string.bat Switch to Bash (#1585) 2020-07-09 10:27:20 -04:00
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
gen_live_documentation.bat Switch to Bash (#1585) 2020-07-09 10:27:20 -04:00
gen_live_documentation.sh chmod +x *.sh 2020-08-06 21:45:34 -07:00
gen_ptrace_enums.bat
gen_signature.sh chmod +x *.sh 2020-08-06 21:45:34 -07:00
gen_system_fsio.bat
gen_trigger_images.bat :) 2020-05-14 20:53:47 -04:00
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 Stack usage is still all over the place #1662 2020-08-02 10:52:52 -04: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 QC control mode to crash if RPM = 0 and to mark successful 3 minute test with self-stimulation RPM increase #1871 2020-10-11 19:16:41 -04:00
rusefi.h
rusefi.mk
rusefi_rules.mk
svnversion.h poke 2020-10-10 00:07:15 -04:00
update_version.bat Switch to Bash (#1585) 2020-07-09 10:27:20 -04:00
update_version.sh chmod +x *.sh 2020-08-06 21:45:34 -07:00

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.