fome-fw/firmware
Matthew Kennedy a1f69c853c Strictly validate stack use in hardware CI (#4880)
* firmware error in case of low stack only on HW CI

* send date

* I don't java good

* I still don't java good

* send the right command

* I guess we can check it on every single test?

* javaaaaaa

* atoi breaks on later non-digit

* avoid sscanf use (for atoi)

to avoid bloating the stack

* less churn

* less churn

Co-authored-by: Nathan Schulte <nmschulte@desmas.net>
2022-12-08 13:20:55 -05:00
..
ChibiOS@f70901eedc
ChibiOS-Contrib@63b50e410c
bootloader
config Nissan 2022-12-07 22:58:17 -05:00
console Auto-generated configs and docs 2022-12-04 18:19:30 +00:00
controllers Strictly validate stack use in hardware CI (#4880) 2022-12-08 13:20:55 -05:00
development compile warnings: signed vs unsigned and unused (#4713) 2022-10-30 09:47:53 -04:00
docs
ext
ext_algo
hw_layer fix warnings (#4840) 2022-11-27 10:11:14 -05:00
init reducing aux/lua mess 2022-12-04 12:38:58 -05:00
integration reducing aux/lua mess 2022-12-04 12:51:57 -05:00
libfirmware@16a8e0b636 live data objects evaluated at runtime (#4857) 2022-11-30 19:29:22 -05:00
pch
tunerstudio autotune page broken #4879 2022-12-07 10:05:26 -05:00
util Strictly validate stack use in hardware CI (#4880) 2022-12-08 13:20:55 -05:00
.cproject
.gitattributes
.gitignore linux setup progress 2022-11-12 12:00:27 -05:00
.project
CHANGELOG.md ## December 2022 Release - "Day 281" 2022-12-01 18:42:31 -05:00
Doxyfile
DoxygenLayout.xml
Makefile Tweak firmware Makefile, scripting (#4796) 2022-11-18 21:53:02 -05:00
build-notes.txt
check.c gcc11 (#4680) 2022-11-08 18:10:53 -05:00
clean.bat
clean.sh
clean_build.bat
clean_compile_two_versions.bat
clean_compile_two_versions.sh Tweak firmware Makefile, scripting (#4796) 2022-11-18 21:53:02 -05:00
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 DFU: linux: start application after flashing (#4851) 2022-11-29 10:25:36 -05:00
flash_dfu_bin.bat
flash_dfu_erase.sh
flash_dfu_openblt_only.sh DFU: linux: start application after flashing (#4851) 2022-11-29 10:25:36 -05:00
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 8chan 2022-12-01 22:53:15 -05:00
gen_config_board.bat
gen_config_board.sh
gen_config_common.sh
gen_config_default.sh
gen_default_everything.sh
gen_enum_to_string.bat
gen_enum_to_string.sh
gen_live_documentation.bat
gen_live_documentation.sh renaming tool 2022-10-28 03:44:39 -04:00
gen_output_channels.sh All live data not just outputs to be available in Lua #4866 2022-12-04 14:53:45 -05:00
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
kill_for_coverity.c
license.txt
main.cpp
main_hardfault.c
main_hardfault_asm.S
make4.bat
provide_gcc.sh use rusEFI pruned ARM GCC 11.3 (#4763) 2022-11-09 07:18:40 -05:00
readme.md
reboot_dfu.sh +x 2022-11-29 19:15:03 -05:00
reboot_ecu.bat
run_hw_test.bat code style, GPS fixes (test, firmware) (#4822) 2022-11-23 07:01:34 -04:00
rusefi.cpp
rusefi.h
rusefi.mk
rusefi_pch.mk
rusefi_rules.mk
send_command.bat
setup_linux_environment.sh add missing dependencies for tests/sim builds (#4860) 2022-12-01 07:06:48 -05:00
svnversion.h Update date 2022-12-08 00:19:21 +00:00
update_version.bat
update_version.sh

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.