2019-08-25 20:31:39 -07:00
|
|
|
|
|
|
|
[Doxygen](https://rusefi.com/docs/html/)
|
|
|
|
|
|
|
|
[Q&A on source code](https://rusefi.com/forum/viewtopic.php?f=5&t=10)
|
|
|
|
|
2019-11-03 05:41:14 -08:00
|
|
|
See also [../unit_tests](../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
|
|
|
|
|
2021-07-09 10:29:03 -07:00
|
|
|
``make PROJECT_BOARD=microrusefi PROJECT_CPU=ARCH_STM32F4``
|
2019-11-03 05:41:14 -08:00
|
|
|
|
2021-07-09 10:29:03 -07:00
|
|
|
# Environment
|
2019-11-03 05:41:14 -08:00
|
|
|
|
|
|
|
Rebuilding from source code requires this firmware, a modern C/C++
|
|
|
|
compiler for embedded ARM systems, and a platform that supports 'make'
|
|
|
|
based builds.
|
|
|
|
|
2021-07-09 10:29:03 -07:00
|
|
|
See setup_linux_environment.sh
|
|
|
|
|
2019-11-03 05:41:14 -08:00
|
|
|
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.
|
|
|
|
|