Switch RTC to LSE clock if it is detected on start. It is not allowed to change source clock of RTC module on STM32. Source clock can be selected only once after reset of BKP module. If at first start LSE is failed FW will fallback to inaccurate LSI (internal RC). If Vbat is present RTC/BKP is not reset between restarts and RTC is never switched to more accurate LSE event if it is present. Implement fixup that will check for the LSE and switch RTC to LSE through BKP (RTC) module reset and new clock source selection. |
||
---|---|---|
.devcontainer | ||
.github | ||
.vscode | ||
android | ||
firmware | ||
hardware | ||
java_console | ||
java_tools | ||
misc | ||
simulator | ||
unit_tests | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
README.md | ||
lgtm.yml | ||
license.txt |
README.md
rusEFI
See gcc_version_check.c for recommended version of GCC.
Current binaries are always available on our build server
Cloning the repository
git clone https://github.com/rusefi/rusefi.git
Important note - we now use submodules:
git submodule update --init
What do we have here?
- Firmware Source code for open source engine control unit for stm32 chips incuding implementation overview
- Hardware KiCAD files for our older PCBs
- rusEFI console rusEFI own native tuning software
- Simulator win32 or posix version of firmware allows to explore without any hardware
- Unit Tests Unit tests of firmware pieces
- Misc tools Misc development utilities
- Software Development process
External Links
Building the Code
Check out https://rusefi.com/forum/viewtopic.php?f=5&t=9
Release Notes
See the changelog