Skip to content

Commit

Permalink
Bugfix release of foxBMS 2 (v1.4.1)
Browse files Browse the repository at this point in the history
* The BMS Master hardware has been updated to v1.1.5.
* CAN:
  * The implementation of the CAN driver has been changed to simplify adding
    new messages.
  * Endianness definition throughout the CAN signals was inconsistent. Not all
    signals were correctly defined as big-endian.
  * Updated the version of .sym file for the definition of the CAN messages to
    format version 6.0.
* Fixed equation that does the conversion from raw ADC reading to voltage (mV).
* Fixed the address for reading two diagnostic registers in the Smart Power
  Switch driver.
* Maintenance:
  * TI CCS version 12.0.0, including TI ARM CGT 20.2.6, are now the defaults.
  * Update the Axivion static code analysis to version 7.4.6.

For a detailed list of changes, please refer to the documentation at
https://iisb-foxbms.iisb.fraunhofer.de/foxbms/gen2/docs/html/v1.4.1/general/changelog.html.
  • Loading branch information
foxBMS committed Oct 27, 2022
1 parent 2525c1f commit a2b632f
Show file tree
Hide file tree
Showing 618 changed files with 9,350 additions and 5,818 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ tools/waf linguist-vendored

# files tracked with Git LFS
*.zip filter=lfs diff=lfs merge=lfs -text

tests/axivion/qualification-test/qualification-kit/**/*.json -diff -merge -text
tests/axivion/qualification-test/qualification-kit/**/*.py -diff -merge -text
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ __pycache__
/qa-chain/*

*.log
*log*.txt
*log/*

*.patch
*.diff
Expand Down Expand Up @@ -51,3 +53,6 @@ __pycache__
*.exe

/races.txt

# CAN log files
*.asc
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ keywords:
- "BMS"
message: "If the foxBMS project contributes to a project that leads to a scientific publication, please acknowledge this fact by citing."
title: "foxBMS - The Most Advanced Open Source BMS Platform: foxBMS 2"
version: "1.4.0"
date-released: 2022-07-29
version: "1.4.1"
date-released: 2022-10-27
31 changes: 26 additions & 5 deletions conf/bms/schema/slave.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@
"type": "string",
"enum": [
"epcos",
"murata",
"vishay",
"fake"
]
Expand Down Expand Up @@ -175,7 +176,7 @@
"properties": {
"manufacturer": {
"enum": [
"vishay"
"murata"
]
}
}
Expand All @@ -184,8 +185,7 @@
"properties": {
"model": {
"enum": [
"ntcalug01a103g",
"ntcle317e4103sba"
"ncu15xh103f6sxx"
]
}
}
Expand All @@ -195,7 +195,7 @@
"properties": {
"manufacturer": {
"enum": [
"fake"
"vishay"
]
}
}
Expand All @@ -204,10 +204,31 @@
"properties": {
"model": {
"enum": [
"none"
"ntcalug01a103g",
"ntcle317e4103sba"
]
}
}
},
"else": {
"if": {
"properties": {
"manufacturer": {
"enum": [
"fake"
]
}
}
},
"then": {
"properties": {
"model": {
"enum": [
"none"
]
}
}
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion conf/cc/cc-options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
# - "This product includes parts of foxBMS®"
# - "This product is derived from foxBMS®"

FOXBMS_2_CCS_VERSION_STRICT: "v20.2.5.LTS"
FOXBMS_2_CCS_VERSION_STRICT: "v20.2.6.LTS"

INCLUDE_PATHS:
win32:
Expand Down
8 changes: 4 additions & 4 deletions conf/env/paths_linux.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/opt/ti/ccs1100/ccs/tools/compiler/ti-cgt-arm_20.2.5.LTS/bin
/opt/ti/ccs1100/ccs/tools/compiler/ti-cgt-arm_20.2.5.LTS/lib
/opt/ti/ccs1100/ccs/utils/bin
/opt/ti/ccs1100/ccs/utils/tiobj2bin
/opt/ti/ccs1200/ccs/tools/compiler/ti-cgt-arm_20.2.6.LTS/bin
/opt/ti/ccs1200/ccs/tools/compiler/ti-cgt-arm_20.2.6.LTS/lib
/opt/ti/ccs1200/ccs/utils/bin
/opt/ti/ccs1200/ccs/utils/tiobj2bin
12 changes: 6 additions & 6 deletions conf/env/paths_win32.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
C:\ti\ccs1100\ccs\tools\compiler\ti-cgt-arm_20.2.5.LTS\bin
C:\ti\ccs1100\ccs\tools\compiler\ti-cgt-arm_20.2.5.LTS\lib
C:\ti\ccs1100\ccs\utils\bin
C:\ti\ccs1100\ccs\utils\cygwin
C:\ti\ccs1100\ccs\utils\tiobj2bin
C:\ti\ccs1200\ccs\tools\compiler\ti-cgt-arm_20.2.6.LTS\bin
C:\ti\ccs1200\ccs\tools\compiler\ti-cgt-arm_20.2.6.LTS\lib
C:\ti\ccs1200\ccs\utils\bin
C:\ti\ccs1200\ccs\utils\cygwin
C:\ti\ccs1200\ccs\utils\tiobj2bin
C:\ti\Hercules\HALCoGen\v04.07.01
C:\Program Files\LLVM\13.0.0\bin
C:\Ruby\Ruby272-x64\bin
C:\MinGW64\x86_64-8.1.0-release-posix-seh-rt_v6-rev0\mingw64\bin
C:\Bauhaus\7.4.0\bin
C:\Bauhaus\7.4.6\bin
7 changes: 3 additions & 4 deletions conf/guidelines/rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"**/*~",
"**/__pycache__/**",
"**/foxbms-2_axivion_report.json",
"**/*.asc",
".git/**",
".lock-waf_*_build",
".mypy_cache/**",
Expand Down Expand Up @@ -49,6 +50,7 @@
"src/os/safertos/**/*.asm",
"src/os/safertos/**/*.c",
"src/os/safertos/**/*.h",
"tests/axivion/qualification-test/qualification-kit/**",
"tests/scripts/waf-core/general/**",
"tests/scripts/waf-core/init/**",
"tests/scripts/waf-core/install/**",
Expand Down Expand Up @@ -125,19 +127,15 @@
"posix_3.206": {
"name": "GENERAL:004",
"exclude": [
"**/*.dbc",
"**/*.patch",
"**/*.sym",
"tools/utils/git-hooks/pre-commit"
]
},
"trailing_whitespace": {
"name": "GENERAL:005",
"exclude": [
"**/*.dbc",
"**/*.dil",
"**/*.patch",
"**/*.sym",
"tools/gui/data/pcan_view_v2.0.trc"
]
},
Expand Down Expand Up @@ -374,6 +372,7 @@
"docs/developer-manual/style-guide/examples/c-028*.c",
"docs/developer-manual/style-guide/state-machine-example/state-machine.c",
"docs/software/build-process/misc/libproject-example.c",
"docs/software/modules/driver/can/can_how-to_tx.c",
"docs/software/modules/engine/database/database_how-to.c",
"docs/software/modules/task/ftask/ftask_how-to.c",
"src/**",
Expand Down
4 changes: 2 additions & 2 deletions conf/tpl/c.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
* @file c.c
* @author foxBMS Team
* @date 2019-08-27 (date of creation)
* @updated 2022-07-28 (date of last update)
* @version v1.4.0
* @updated 2022-10-27 (date of last update)
* @version v1.4.1
* @ingroup SOME_GROUP
* @prefix ABC
*
Expand Down
4 changes: 2 additions & 2 deletions conf/tpl/c.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
* @file c.h
* @author foxBMS Team
* @date 2019-08-27 (date of creation)
* @updated 2022-07-28 (date of last update)
* @version v1.4.0
* @updated 2022-10-27 (date of last update)
* @version v1.4.1
* @ingroup SOME_GROUP
* @prefix ABC
*
Expand Down
4 changes: 2 additions & 2 deletions conf/tpl/test_c.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
* @file test_c.c
* @author foxBMS Team
* @date 2020-08-10 (date of creation)
* @updated 2022-07-28 (date of last update)
* @version v1.4.0
* @updated 2022-10-27 (date of last update)
* @version v1.4.1
* @ingroup UNIT_TEST_IMPLEMENTATION
* @prefix TEST
*
Expand Down
4 changes: 2 additions & 2 deletions conf/tpl/test_c.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
* @file test_c.h
* @author foxBMS Team
* @date 2020-08-10 (date of creation)
* @updated 2022-07-28 (date of last update)
* @version v1.4.0
* @updated 2022-10-27 (date of last update)
* @version v1.4.1
* @ingroup UNIT_TEST_IMPLEMENTATION
* @prefix TEST
*
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions docs/developer-manual/style-guide/examples/c-004.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
* @file c-004.c
* @author foxBMS Team
* @date 2021-04-06 (date of creation)
* @updated 2022-07-28 (date of last update)
* @version v1.4.0
* @updated 2022-10-27 (date of last update)
* @version v1.4.1
* @ingroup SOME_GROUP
* @prefix ABC
*
Expand Down
4 changes: 2 additions & 2 deletions docs/developer-manual/style-guide/guidelines_rst.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ Examples:
Headings (``RST:005``)
----------------------

We follow the convention of the Python Developer's Guide for
`reStructuredText Markup <https://devguide.python.org/documentation/markup/#sections>`_.
We follow the convention of the
*Python Developer's Guide for reStructuredText Markup*.
Use the following rules to create headings:

- # with overline, for parts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
* @file state-machine.c
* @author foxBMS Team
* @date 2020-10-29 (date of creation)
* @updated 2022-07-28 (date of last update)
* @version v1.4.0
* @updated 2022-10-27 (date of last update)
* @version v1.4.1
* @ingroup STATE_MACHINE
* @prefix EG
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
* @file state-machine.h
* @author foxBMS Team
* @date 2020-10-29 (date of creation)
* @updated 2022-07-28 (date of last update)
* @version v1.4.0
* @updated 2022-10-27 (date of last update)
* @version v1.4.1
* @ingroup STATE_MACHINE
* @prefix EG
*
Expand Down
59 changes: 55 additions & 4 deletions docs/general/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,57 @@ Versioning follows then these rules:
- increasing ``MINOR`` adds functionality in a backwards compatible manner
- increasing ``PATCH`` fixes bugs in a backwards compatible manner

********************
[1.4.1] - 2022-10-27
********************

|foxbms| updated to TI ARM CGT 20.2.6.LTS.
Installation instructions are found at :numref:`css_install`.

Added
=====

- The new default compiler set in ``conf/env/paths_win32.txt`` and
``conf/env/paths_linux.txt`` is now TI ARM CGT v20.2.6.LTS (shipped with CCS
``12.0.0``).
- Added driver for *Murata NCU15XH103F6Sxx* temperature sensor

Changed
=======

- Updated the hardware design files (e.g., schematics, layout, BOM and STEP
file etc.) of the |bms-master| to ``v1.1.5`` (see
:ref:`CHANGELOG_FOR_MASTER_TMS570_V1_1_5`).
- Updated documentation of the interface using the |max17841b| transceiver
chip.
- The implementation of the CAN driver has been changed to simplify adding
new messages.
Furthermore it is now possible to force a certain style on how CAN messages
are defined in the symbol/dbc files as well as in the source code.
For further information see :ref:`HOW_TO_USE_THE_CAN_MODULE`.
- Updated version of ``.sym`` file for the definition of the CAN messages and
signals to v6.0 (from 5.0).
- Update the static code analysis to Axivion 7.4.6 (from 7.4.0).

Deprecated
==========

Removed
=======

- Unused calculation of MOL, RSL and MSL curves for trapezoid algorithm in
``SOF`` module.

Fixed
=====

- In ``ADC`` module, corrected formula making the conversion from raw ADC
reading to voltage in mV.
- The address of two diagnostic registers in the Smart Power Switch driver
was wrong.
- Endianness definition throughout the CAN signals was inconsistent. Not all
signals were correctly defined as big-endian.

********************
[1.4.0] - 2022-07-29
********************
Expand Down Expand Up @@ -127,11 +178,11 @@ Fixed
[1.3.0] - 2022-05-30
********************

|foxbms| updated to TI ARM CGT 20.2.5.LTS. Installation instructions are found
at :numref:`css_install`.
|foxbms| updated to TI ARM CGT 20.2.5.LTS.
Installation instructions are found at :numref:`css_install`.

|foxbms| updated to LLVM 13.0.0. Installation instructions are found at
:numref:`llvm_install`.
|foxbms| updated to LLVM 13.0.0.
Installation instructions are found at :numref:`llvm_install`.

Added
=====
Expand Down
6 changes: 6 additions & 0 deletions docs/general/commit-msgs/next-release.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<Major/Minor/Bugfix> release of foxBMS 2 (vx.y.z)

* <add text here>

For a detailed list of changes, please refer to the documentation at
https://iisb-foxbms.iisb.fraunhofer.de/foxbms/gen2/docs/html/vx.y.z/general/changelog.html.
1 change: 1 addition & 0 deletions docs/general/commit-msgs/release-v1.0.0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Initial commit of foxBMS 2 (v1.0.0)
9 changes: 9 additions & 0 deletions docs/general/commit-msgs/release-v1.0.1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Bugfix release of foxBMS 2 (v1.0.1)

* updated the documentation
* updated master board
* minor toolchain improvements

For a detailed list of changes, please refer to the documentation
at
https://iisb-foxbms.iisb.fraunhofer.de/foxbms/gen2/docs/html/v1.0.1/general/changelog.html
8 changes: 8 additions & 0 deletions docs/general/commit-msgs/release-v1.0.2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Bugfix release of foxBMS 2 (v1.0.2)

* updated the documentation
* minor toolchain improvements

For a detailed list of changes, please refer to the documentation
at
https://iisb-foxbms.iisb.fraunhofer.de/foxbms/gen2/docs/html/v1.0.2/general/changelog.html
8 changes: 8 additions & 0 deletions docs/general/commit-msgs/release-v1.1.0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Minor release of foxBMS 2 (v1.1.0)

* Release of new master schematic
* Implementation of CAN messages

For a detailed list of changes, please refer to the documentation
at
https://iisb-foxbms.iisb.fraunhofer.de/foxbms/gen2/docs/html/v1.1.0/general/changelog.html
8 changes: 8 additions & 0 deletions docs/general/commit-msgs/release-v1.1.1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Bugfix release of foxBMS 2 (v1.1.1)

fixed a CAN message decoding bug
added missing CAN messages

For a detailed list of changes, please refer to the documentation
at
https://iisb-foxbms.iisb.fraunhofer.de/foxbms/gen2/docs/html/v1.1.1/general/changelog.html
4 changes: 4 additions & 0 deletions docs/general/commit-msgs/release-v1.1.2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Bugfix release of foxBMS 2 (v1.1.2)

added Axivion configuration
added system block diagram
Loading

0 comments on commit a2b632f

Please sign in to comment.