All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
foxBMS 2 uses the following versioning pattern
PATCH are numbers.
Versioning follows then these rules:
MAJORintroduces incompatible changes
MINORadds functionality in a backwards compatible manner
PATCHfixes bugs in a backwards compatible manner
2.1. [1.0.2] - 2021-04-30¶
Added number of valid cell voltages and temperatures used for calculating minimum, maximum and average values to database entry
Added the build option
--skip-doxygento enable faster documentation builds, if an API documentation is not required/does not need to be updated.
Do no longer hard code the EOL for the files in the VS Code settings, instead just use the system EOL instead.
Fixed typo in changelog. The LTC 6804-1 is basically an older version of the LTC 6811-1 (previously it stated wrongly LTC 6812-1).
spellingwere not run when the documentation was built.
The GUI searched for the wrong license file during startup routine and therefore failed to start successfully.
Improved the readability of the engine block schematic in the general software documentation.
Fixed an issue where the
waf.sh-wrapper would not print the error message when the conda environment could not be found.
Removed unused variables in build scripts.
Fixed readmes in the tools directory and its subdirectories.
2.2. [1.0.1] - 2021-04-16¶
Added links to built versions of the documentation to the project README.
Added testing for different versions of TI ARM CGT (versions 10.0.0 and 10.1.1).
Added a readme to the hardware directory.
Added support for LTC 6804-1 (basically an older version of the LTC 6811-1).
Added the updated design files of the foxBMS 2 master v1.0.1.
Activated URL availability checking for https://github.com/foxBMS/foxbms-2 when building the documentation.
Moved code examples in developer manual to separate source files.
The shebang in Python files has been updated from
Updated waf to version 2.0.22 (from 2.0.21).
Updated database documentation.
Updated information on tracing with Segger J-Trace probes.
Updated the Axivion configuration to use version 7.1.5.
Removed external quality check in CI. This functionality has been replaced by the “guidelines” feature that is shipped with this repository.
Use code page 850 as default when using the
without-halcogen_diff-includes.diffwas unintentionally excluded by the regex in
Fixed repository name in the documentation.
Fixed available waf commands and put the table in a separate csv file.
Fixed comments in LTC driver build scripts
Includes directories were not correctly set for the drivers LTC 6811-1 and LTC 6812-1.
Clarification and correction of the license namings (no changes in the licenses themselves). The license of the foxBMS 2 software is the BSD 3-Clause License. This license is also formally known as BSD 3-Clause “New” or “Revised” License. As of this release foxBMS 2 added the SPDX short identifier to the software sources (
SPDX-License-Identifier: BSD-3-Clause) according to SPDX Specification Version 2.2. The license text of the Creative Commons Attribution 4.0 International License has been added to the repository. The SPDX short name of this license is
CC-BY-4.0. For more information see License.
Fixed the names of variables in bash scripts on Windows.
2.3. [1.0.0] - 2021-04-01¶
Added automated installer script for miniconda3.
Added automated installer script for MinGW64.
Added automated installer script for LLVM.
Finalize red-fox conda environment
red-fox-devel-020. No packages are updated, just finalized the name.
Removed dependency of configured power lines from overcurrent check in SOA module. The overcurrent is now checked against allowed cell, string and pack current limits.
C source files, that are not vendored, are now
Improved the code quality by adding assertions in various locations and removing unused code.
Base decisions in
bmson pack value database entry as this entry contains only validated values. Do not directly use current sensor measurements anymore.
Fixed function names in the system monitoring module.
FALSEin embedded sources with
Updated LLVM to version 11.0.1
Only compile foxBMS 2 source and operating system sources in
Removed several unused defines.
Style guide check did not properly exclude files when checking
@prefixcheck in Doxygen comments.
Do not add
__DATE__macros to list of predefined defines in VS Code.
Create all build-time created include directories VS Code knows about in
c_cpp_properties.jsonto remove workspace warnings.
Nextbuttons back in rendered documentation.
Updated getting started information.
Fixed function names and variable names of database structs in the
Fixed function names and variable names of database structs in the
Fixed CAN driver problem when cache is enabled.
conda-init.batused a wrong path to write the
.condarcfile if the user name contained whitespace.
2.4. [0.3.0] - 2021-03-16¶
Added coverage reports for the unit tests of the waf-tools.
Added general safety information.
Added a rudimentary hardware change process to the hardware developer manual.
Added information on the criticality of used tools.
Added the calculation of pack values (current, power, high voltage) to the redundancy module.
Added a manual on using debugger by Segger or Lauterbach in conjunction with the platform.
Added a problem matcher to the
build_docstask in Visual Studio Code so that the IDE can parse warnings printed from Doxygen
Added documentation stubs for all embedded software modules
Added interface description for CAN communication (.dbc and .sym)
SBC no longer monitors input on FCCU pins as usage of these pins is currently not supported
The MIC modules are now able to define their own threshold values for plausible cell voltage measurements. In order to implement this, the MIC has to declare a struct of type
MIC_PLAUSIBILITY_VALUES_sand pass it to the plausibility-functions of the MIC.
Improves deployment speed with the internal deployment script.
Simplifies the macro that records the program counter in
fassert.hwith input from static analysis.
Disables the static analysis finding for dead branches in the expansion of the
FAS_ASSERTassertion macro as the assertion should not be hit by normal operating code.
Clarified the internal merge request template.
Asserts that the SPI function
SPI_TransmitReceiveDataDma()does not receive null pointer as parameter.
Improved minor code quality issues in the
Improved the documentation on installing dependencies.
DIAG_configAssert()as it is replaced by
The diagnosis module has been restructured. The callbacks for each type of diagnosis event are now implemented in type specific files, e.g., for the current sensor in
diag_cbs_current-sensor.c. These files are in
src/app/engine/diag/cbs/. Unit tests have been added.
Fixed typos related to battery cell and battery system.
Enhanced the documentation section on the build process.
Improved the documentation of the temperature sensor interface (TSI).
Some structs in the database did not conform to the naming conventions.
Renamed the hardware directory from
pylinttools have been moved into the guidelines tool. Configuration is now done via
rules.jsonas all other guidelines.
Corrected the function
LTC_I2CCheckACK()that did not check the acknowledge signal of multiplexer over I2C communication.
Corrected the function
LTC_SetMUXChCommand()because message content for I2C communication with multiplexers was wrong.
Corrected several instances in the
LTC6813-1-driver where the loop-counter variable has been declared outside of the loop.
Renamed function names in
redundancymodule to adhere to style guide rules.
Fixed wording and replaced isolation by insulation.
Replaced references to LG INR18650MJ1 by generic battery cell configuration.
Tasks were not initialized correctly. The IDLE task never run.
2.5. [0.2.0] - 2021-02-02¶
A parser to validate the linker output was added. The parser analyzes the output of the linking process to validate that symbols were pulled from the specified source. If the symbol is pulled from another source the build process throws an error.
A parser to validate the style guide rules was added. The parser analyzes the files in the repository for style guide rule compliance. If a rule is violated the check guidelines and style guide process throws an error.
Updated the development conda environment to
red-fox-devel-020with Python version 3.8, updated packages and new packages:
Documentation of the development workflow has been added as a draft.
Discard return value of
DATA_Task()as the return value is not further used.
Added first draft of
state estimationmodule. This module is located within the
algorithmmodule and responsible for calculating state of charge SOC, state of energy SOF, state of health SOH and state of function SOF. Different calculation methods for each state estimation algorithm can be selected via configuration file
Added a dummy insulation monitoring device driver. Non-functional Bender iso165c driver has been added (driver fails to build).
Added a driver for Smart Power Switches that is encapsulated by the contactor module. The contactor module handles the communication with the Smart Power Switch driver and manages the ICs.
Added a state of energy SOE estimation implementation based on counting energy.
Added documentation of the hardware development flow.
Enabled the FreeRTOS idle hook in user code. That means that the function
FTSK_UserCode_Idle()will be called every time the OS goes into idle state.
Extended the conda environment with a sphinx-plugin that provides BiBTeX-capabilities. Added this plugin to the documentation build in order to generate bibliographies.
Extended the API of the Temperature Sensor Interface (TSI) in order to return maximum and minimum limits for plausible measurement values.
Extended the documentation with a manual for writing unit tests and a reference to the C coding standard the we use.
Added an initialization function to
sys_monmodule to detect possible configuration errors
Added more files to the unit test coverage analysis in order to have a more complete image of the project and its unit test coverage.
The conda environment configuration that is distributed within the has now an option to validate that it is working as intended. The conda environment can be tested by running
tools\utils\cmd\run-python-script.bat tests\env\packages_test.py -f tests\env\conda_env_win32.jsonfrom the repository root.
algorithm-implementation is now able to handle calling a function cyclically and calling an additional initialization function. The implementation of the algorithm does not need to interact with the
algorithm-API anymore as this is now handled by the module. In order to not block the rest of the system with an algorithm that might take longer for computation, the algorithm module has been moved into its own task with a lower priority.
Updated FreeRTOS to version 10.4.3 (from 10.3.0).
Updated waf to version 2.0.21 (from 2.0.20).
Consequently uses deci degree Celsius as integer-value (instead of degree Celsius floats) in the Temperature Sensor Interface (TSI).
slaveplausibility-modules into one central module in the MIC and renamed it to
Initialize runner variables in loops correctly as unsigned.
Changed linker script prefix from
Renamed all references in the build toolchain and documentation from
Source files are no longer needed to be added manually to the documentation, instead sources are linked into the documentation based on the Doxygen generated documentation.
UNITY_INCLUDE_EXEC_TIMEin the ceedling configuration in order to tell unity to track the time that a single test takes. This information is aggregated in the JUnit test report that is generated.
Updated the unit test framework
0.31.and vendored the
ceedlingrelease with the repository in order to have more control over the executed version. Simplified the installation of Ruby in order to to reflect these changes. Simplified the
Removed the deprecated Anaconda extension from the list of recommended Visual Studio Code plugins that is shipped with the project.
If the runtime support library was missing on a machine, the configure step failed, although the runtime support library was successfully built by the compiler. Now a warning is printed that the runtime support library is missing and that it will be built. An error is no longer generated when the build succeeds.
The Maxim driver did not properly map multiple modules onto internal data structures for multi-string systems. This has been fixed.
Fixes various comparisons between incompatible enum types.
Fixed erroneous behavior of the GUI. The GUI implementation is now
Fixes erroneous hard-coded PEC-values in the LTC driver. A regression is prevented by added unit tests.
The project version number was missing in the documentation build. The version information is now properly passed to the documentation build.
The top of every documentation page began with
Fixed implicitly defined functions.
Fixed the unit test documentation on how to use ceedling directly. The old version mentioned a wrong path for the
project.ymlused by ceedling.
2.6. [0.1.0] - 2020-11-17¶