Skip to content

Commit

Permalink
Minor release of foxBMS 2 (v1.6.0)
Browse files Browse the repository at this point in the history
* foxBMS now supports the ADI ADES1830 AFE.
* The default FreeRTOS behavior for foxBMS 2 is now to check for stack
  overflows. The BMS still tries to send a CAN message about the occurred
  problem.
* The BMS tried to precharge a infinite times. This setting is now controlled
  by setting `BMS_PRECHARGE_TRIES` to a meaningful, finite number (needs to
  be defined by the user as part of the application setup)
* The calculation of the string power has been fixed.
* The SOX database entry has been split into SOC, SOH, and SOE to simplify
  adding further estimations.

For a detailed list of changes, please refer to the documentation at
https://iisb-foxbms.iisb.fraunhofer.de/foxbms/gen2/docs/html/v1.6.0/general/changelog.html.
  • Loading branch information
foxBMS committed Oct 13, 2023
1 parent 9eb6d1c commit 06d3878
Show file tree
Hide file tree
Showing 1,095 changed files with 75,359 additions and 9,736 deletions.
11 changes: 10 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ tools/waf-sig*
*.gz
*.zip
*.7z
*.stats

# spelling
dictionary.dic
file.log*
lex.txt

__pycache__
.mypy_cache/
Expand Down Expand Up @@ -48,11 +54,14 @@ __pycache__
*.~*
*.~$*

**/foxbms-2_axivion_report.json
**/foxbms-2_axivion_report*.json
spa-artifacts/

*.exe

/races.txt

# CAN log files
*.asc

*.tmp
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.5.1"
date-released: 2023-02-23
version: "1.6.0"
date-released: 2023-10-12
44 changes: 42 additions & 2 deletions conf/bms/schema/slave.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
"ltc",
"maxim",
"nxp",
"debug"
"debug",
"adi",
"ti"
]
},
"ic": {
Expand Down Expand Up @@ -111,6 +113,44 @@
]
}
}
},
"else": {
"if": {
"properties": {
"manufacturer": {
"enum": [
"adi"
]
}
}
},
"then": {
"properties": {
"ic": {
"enum": [
"ades1830"
]
}
}
},
"else": {
"if": {
"properties": {
"manufacturer": {
"enum": [
"ti"
]
}
}
},
"properties": {
"ic": {
"enum": [
"dummy"
]
}
}
}
}
}
}
Expand Down Expand Up @@ -185,7 +225,7 @@
"properties": {
"model": {
"enum": [
"ncu15xh103f6sxx"
"ncxxxxh103"
]
}
}
Expand Down
2 changes: 1 addition & 1 deletion conf/env/paths_win32.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ 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:\Ruby\Ruby3.1.3-x64\bin
C:\MinGW64\x86_64-8.1.0-release-posix-seh-rt_v6-rev0\mingw64\bin
C:\Bauhaus\7.5.2\bin
70 changes: 48 additions & 22 deletions conf/guidelines/rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,39 +3,45 @@
"7z",
"coverage",
"exe",
"svg",
"pyc",
"png",
"gif",
"ico",
"jpg",
"o",
"vsdx",
"png",
"pptx",
"pyc",
"pyc",
"stats",
"svg",
"svg",
"tar",
"tar.bz2",
"tar.gz",
"vsdx",
"~vsdx",
"zip"
"vsdx",
"zip",
"~pptx",
"~vsdx"
],
"global": [
"**/**.log",
"**/*.asc",
"**/*~",
"**/.lock-waf_*_build",
"**/.vscode/**",
"**/__pycache__/**",
"**/foxbms-2_axivion_report.json",
"**/*.asc",
"**/.lock-waf_*_build",
"**/foxbms_spa_report.json",
".git/**",
".mypy_cache/**",
".vscode/**",
"build/**",
"build-tools-tests/**",
"build/**",
"conf/hcg/include/*",
"conf/hcg/source/*",
"docs/_ext/**",
"foxbms/**",
"libbuild/**",
"spa-artifacts/**",
"src/app/driver/afe/nxp/mc33775a/vendor/**",
"src/app/driver/sbc/fs8x_driver/**",
"src/os/freertos/**/*.asm",
Expand All @@ -45,32 +51,34 @@
"src/os/freertos/GitHub-FreeRTOS-Kernel-Home.url",
"src/os/freertos/History.txt",
"src/os/freertos/LICENSE.md",
"src/os/freertos/portable/memmang/ReadMe.url",
"src/os/freertos/portable/readme.txt",
"src/os/freertos/Quick_Start_Guide.url",
"src/os/freertos/README.md",
"src/os/freertos/portable/memmang/ReadMe.url",
"src/os/freertos/portable/readme.txt",
"src/os/safertos/**/*.asm",
"src/os/safertos/**/*.c",
"src/os/safertos/**/*.h",
"tests/axivion/compiler-errata/ti-cgt-arm*/**",
"tests/axivion/qualification-test/qualification-kit/**",
"tests/unit/build/**",
"tests/scripts/waf-core/general/**",
"tests/scripts/waf-core/init/**",
"tests/scripts/waf-core/install/**",
"tests/scripts/waf-core/install_group/**",
"tests/scripts/waf-core/preproc/**",
"tests/scripts/waf-tools/f_guidelines/tests/**",
"tests/unit/build/**",
"tools/.waf3-**",
"tools/dbc/third-party/**",
"tools/vendor/**",
"tools/waf",
"tools/waf3-**",
"tools/waf-verify-sig.py"
"tools/waf-verify-sig.py",
"tools/waf3-**"
],
"file_names": {
"name": "GENERAL:001",
"regex": "^[a-z0-9_\\-.]*$",
"exclude": [
"**/*.py1.stats",
"**/*.~vsdx",
"**/LICENSE.md",
"**/README.md",
Expand All @@ -94,13 +102,18 @@
"**/.clang-format",
"**/.dummy",
"**/.gitignore",
"**/README.md",
"**/__init__.py",
"**/__main__.py",
"**/README.md",
"**/dir_exists",
"**/misc.py",
"**/wscript",
"tests/axivion/addon-test/**/ok.c",
"tests/axivion/addon-test/test_unique_filename/**",
"tests/axivion/addon-test/test_*/**",
"tests/axivion/addon-test/test_unique_filename/**",
"tests/unit/axivion/axivion_config.json",
"tests/unit/axivion/ci_config.json",
"tests/unit/axivion/compiler_config.json",
"tools/gui/LICENSE.md"
]
},
Expand Down Expand Up @@ -167,8 +180,8 @@
"header": {
"name": "C:002",
"exclude": [
"src/app/driver/sbc/fs8x_driver/**",
"src/app/driver/afe/nxp/mc33775a/nxp_mc33775a-ll.*"
"src/app/driver/afe/nxp/mc33775a/nxp_mc33775a-ll.*",
"src/app/driver/sbc/fs8x_driver/**"
],
"text": [
"/**",
Expand Down Expand Up @@ -282,8 +295,8 @@
"source": {
"exclude": [
"conf/tpl/test_c.c",
"docs/software/unit-tests/test_abc.c",
"docs/developer-manual/style-guide/examples/c-006-test.c",
"docs/software/unit-tests/test_abc.c",
"src/app/driver/config/can_cfg.c",
"src/app/engine/config/diag_cfg.c",
"src/app/engine/config/sys_mon_cfg.c",
Expand All @@ -304,6 +317,14 @@
"test_header": {
"exclude": [
"conf/tpl/c.h",
"docs/developer-manual/style-guide/examples/c-005.h",
"docs/developer-manual/style-guide/examples/c-006-source.h",
"docs/developer-manual/style-guide/examples/c-007_abc.h",
"docs/developer-manual/style-guide/examples/c-007_abc_cfg.h",
"docs/developer-manual/style-guide/examples/c-008.h",
"docs/developer-manual/style-guide/examples/c-011.h",
"docs/developer-manual/style-guide/examples/c-013.h",
"docs/developer-manual/style-guide/examples/c-015.h",
"docs/developer-manual/style-guide/state-machine-example/state-machine.h",
"docs/software/build-process/misc/libproject-example.h",
"docs/software/unit-tests/abc.h",
Expand All @@ -312,6 +333,7 @@
],
"sections": [
"/*========== Includes =======================================================*/",
"/*========== Unit Testing Framework Directives ==============================*/",
"/*========== Macros and Definitions =========================================*/"
]
},
Expand Down Expand Up @@ -352,10 +374,13 @@
"docs/software/unit-tests/run_abc.c",
"src/**",
"tests/c-std/c-std-test.c",
"tests/variants/lib-build/*"
"tests/variants/lib-build/*",
"tools/crc/crc-10_0x48f.c",
"tools/crc/crc-15_0xc599.c"
],
"sections": [
"/*========== Includes =======================================================*/",
"/*========== Unit Testing Framework Directives ==============================*/",
"/*========== Definitions and Implementations for Unit Test ==================*/",
"/*========== Setup and Teardown =============================================*/",
"/*========== Test Cases =====================================================*/"
Expand Down Expand Up @@ -510,7 +535,8 @@
},
"YAML": {
"exclude": [
"conf/env/conda_env_*.yaml"
"conf/env/conda_env_*.yaml",
"tests/hil/hil-env.yaml"
],
"files": [
"**/*.dot",
Expand Down
2 changes: 1 addition & 1 deletion conf/spa/.pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ignore-patterns=

# Python code to execute, usually for sys.path manipulation such as
# pygtk.require().
init-hook='import sys; sys.path.extend(["tools/waf3-2.0.22-1241519b19b496207abef1f72bbf61c2", "tools/.waf3-2.0.22-1241519b19b496207abef1f72bbf61c2", "tools/gui"])'
init-hook='import sys; sys.path.extend(["tools/waf3-2.0.22-1241519b19b496207abef1f72bbf61c2", "tools/.waf3-2.0.22-1241519b19b496207abef1f72bbf61c2", "tools/gui", "tests/hil"])'

# Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the
# number of processors available to use.
Expand Down
16 changes: 16 additions & 0 deletions conf/spell/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Spelling Checking Configuration

## Setup

- Install aspell 0.60.8 or later
- Install englisch dictionary
- Install conda environment

## Usage

```bash
$ # activate conda base environment
$ conda activate pyspell-2-8-2
$ cd path/to/foxbms-2
$ pyspelling -c conf/spell/pyspell_cfg.yml
```
Loading

0 comments on commit 06d3878

Please sign in to comment.