* OpenBLT: linker file: use last 16 bytes of ram for shared area This area is used for communication between FW and OpenBLT. * OpenBLT: startup: invalidate only DFU breadcumb from startup code Same location (but different seed) is used for shared param's signature in OpenBLT. * OpenBLT: enable shared params * OpenBLT: enable hooks If 0x01 is stored in shared param idx=0, then stay in OpenBLT forever. * Jump to OpenBLT: store proper shared param when OpenBLT is requested TODO: calculate and store CRC too! * OpenBLT: move shared_params to start of RAM * Bootloader: Allocate 16 bytes at start of RAM for bootloader shared area * OpenBLT: shared_params: reuse same .c and .h file for main application * OpenBLT: shared_params: enable CRC check * OpenBLT: no need to manualy set breadcumb before reset * Revert "OpenBLT: startup: invalidate only DFU breadcumb from startup code" This reverts commit 6b064714b953560227ae53e38355332cf9f46f7f. * OpenBLT: guard for builds without OpenBLT * OpenBLT: reboot to OpenBLT on CAN request with ID=0x667 and DLC=2 * config: options to enable OpenBLT on CAN interfaces * OpenBLT: comments |
||
---|---|---|
.. | ||
ChibiOS@cf74388693 | ||
ChibiOS-Contrib@63b50e410c | ||
bootloader | ||
config | ||
console | ||
controllers | ||
development | ||
docs | ||
ext | ||
ext_algo | ||
hw_layer | ||
init | ||
integration | ||
libfirmware@112b0ec766 | ||
pch | ||
tunerstudio | ||
util | ||
.cproject | ||
.gitattributes | ||
.gitignore | ||
.project | ||
CHANGELOG.md | ||
Doxyfile | ||
DoxygenLayout.xml | ||
Makefile | ||
build-notes.txt | ||
check.c | ||
clean.bat | ||
clean.sh | ||
clean_build.bat | ||
clean_compile_two_versions.bat | ||
clean_compile_two_versions.sh | ||
common.mk | ||
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 | ||
flash_dfu.bat | ||
flash_dfu.sh | ||
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 | ||
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_board.bat | ||
gen_config_board.sh | ||
gen_config_common.sh | ||
gen_config_default.sh | ||
gen_enum_to_string.bat | ||
gen_enum_to_string.sh | ||
gen_live_documentation.bat | ||
gen_live_documentation.sh | ||
gen_output_channels.sh | ||
gen_ptrace_enums.bat | ||
gen_signature.sh | ||
gen_trigger_images.bat | ||
generate_docs.bat | ||
generate_memory_usage_report.bat | ||
generate_memory_usage_report.sh | ||
get_performance_trace.bat | ||
global.h | ||
globalaccess.h | ||
kill_for_coverity.c | ||
license.txt | ||
main.cpp | ||
main_hardfault.c | ||
main_hardfault_asm.S | ||
make4.bat | ||
os_access.h | ||
readme.md | ||
reboot_dfu.sh | ||
reboot_ecu.bat | ||
run_hw_test.bat | ||
rusefi.cpp | ||
rusefi.h | ||
rusefi.mk | ||
rusefi_pch.mk | ||
rusefi_rules.mk | ||
send_command.bat | ||
setup_linux_environment.sh | ||
svnversion.h | ||
update_version.bat | ||
update_version.sh |
readme.md
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.