fome-fw/firmware
Scott Smith 8406fafa9e Expose console over serial port for H7 proc (#3578)
This way you can use the console/TunerStudio with the ST-Link

In the process, combine TS_PRIMARY_UART and TS_PRIMARY_SERIAL into TS_PRIMARY_PORT, to make UART vs
SERIAL selection more robus.  Ditto for TS_SECONDARY_*.  Also change use of TS_NO_PRIMARY to be #if
not #ifdef, so that it can be properly set as a compile flag and not be overwritten by various
header files.
2021-11-20 00:39:08 -05:00
..
ChibiOS@e19494fd23 fast exti interrupt handoff (#3497) 2021-11-19 06:37:52 -05:00
ChibiOS-Contrib@fe3cdf8314
bootloader Expose console over serial port for H7 proc (#3578) 2021-11-20 00:39:08 -05:00
config Expose console over serial port for H7 proc (#3578) 2021-11-20 00:39:08 -05:00
console Expose console over serial port for H7 proc (#3578) 2021-11-20 00:39:08 -05:00
controllers On -fpermissive in Windows in unit tests #3581 2021-11-20 00:16:03 -05:00
development delimeter is not comma (#3533) 2021-11-19 12:01:45 +03:00
docs
ext OpenBLT: add as submodule under firmware/ext (#3432) 2021-10-31 14:46:28 -04:00
ext_algo
hw_layer Expose console over serial port for H7 proc (#3578) 2021-11-20 00:39:08 -05:00
init Final cleanup of ENGINE macros (#3567) 2021-11-17 13:45:10 -05:00
integration Basic framework for high pressure fuel pump control (#3476) 2021-11-19 23:06:51 -05:00
pch Final cleanup of ENGINE macros (#3567) 2021-11-17 13:45:10 -05:00
tunerstudio automation around outputs section #197 2021-11-17 23:22:08 -05:00
util Basic framework for high pressure fuel pump control (#3476) 2021-11-19 23:06:51 -05:00
.cproject
.gitattributes
.gitignore
.project
CHANGELOG.md Knock retard #3396 2021-11-15 21:21:45 -05:00
Doxyfile
DoxygenLayout.xml
Makefile turn on c++ 20 (#3579) 2021-11-19 22:19:34 -05:00
build-notes.txt
clean.bat
clean.sh
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_release.bat
egt2can.cpp
exception.txt
flash.bat
flash_dfu.bat
flash_dfu.sh
flash_erase407.bat
flash_erase407.sh
flash_erase767.bat
flash_erase_dfu.bat maybe lua freezes proteus h7 after 7 seconds of run #3539 2021-11-12 12:45:53 -05:00
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_firing_order.bat
gen_fsio_example.bat
gen_fsio_example_reverse.bat
gen_live_documentation.bat
gen_live_documentation.sh fuel pump doesn't use fsio (#3576) 2021-11-19 22:23:12 -05:00
gen_live_documentation_one_file.sh
gen_output_channels.sh automation around outputs section #197 2021-11-18 19:34:46 -05:00
gen_ptrace_enums.bat
gen_signature.sh simplify signature.h generation (#3480) 2021-11-06 23:19:53 -04:00
gen_system_fsio.bat
gen_trigger_images.bat
generate_docs.bat
generate_memory_usage_report.bat
generate_memory_usage_report.sh this one is for Scott 2021-11-08 19:02:34 -05:00
get_performance_trace.bat
global.h remove engine pointer passing (#3556) 2021-11-16 04:15:29 -05:00
globalaccess.h remove engine pointer passing (#3556) 2021-11-16 04:15:29 -05:00
kill_for_coverity.c
license.txt
main.cpp
main_hardfault.c
make4.bat
openblt.mk Openblt (#3430) 2021-11-05 19:28:55 -04:00
os_access.h
readme.md
reboot_ecu.bat
run_hw_test.bat
rusefi.cpp remove engine pointer passing (#3556) 2021-11-16 04:15:29 -05:00
rusefi.h (void) -> () (#3550) 2021-11-15 13:02:34 +01:00
rusefi.mk
rusefi_pch.mk Compile each project's PCH to a separate file to reduce developer friction. (#3505) 2021-11-08 15:52:58 -05:00
rusefi_rules.mk
send_command.bat maybe lua freezes proteus h7 after 7 seconds of run #3539 2021-11-12 12:51:05 -05:00
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.