Skip to content

Commit

Permalink
Minor release of foxBMS 2 (v1.5.0)
Browse files Browse the repository at this point in the history
* Added hardware design files (e.g., schematics, layout, BOM and STEP file
  etc.) for the NXP MC33775A monitoring IC.
* Now CAN messages with extended identifier can be transmitted and received.
* The default interface configuration for BMS-Slaves is the interface 1 on the
  BMS-Interfaces:
  - for LTC-based interfaces: hardware chip select 1 on SPI 1
  - for NXP-based interfaces: hardware chip select 1 on SPI 1
* The chip select configuration has been unified.
* Applied the OS abstraction strictly to make the BMS application fully
  OS agnostic.
* The software version is now saved in FRAM version struct. As this is The
  the first FRAM entry, this changes the memory layout and makes FRAM entries
  existing prior to this version invalid.
* The FRAM can now be initialized/reinitialized via CAN.
* Added a magic CAN messages sequence that is sent on startup.
* Added driver for the PCF2131 RTC.
  The driver uses I2C to communicate with the IC.
* Added a basic GUI to interact with the BMS via CAN from PC-side.
* Maintenance:
  * Update the Axivion static code analysis to version 7.5.0.

For a detailed list of changes, please refer to the documentation at
https://iisb-foxbms.iisb.fraunhofer.de/foxbms/gen2/docs/html/v1.5.0/general/changelog.html.
  • Loading branch information
foxBMS committed Feb 3, 2023
1 parent a2b632f commit 48da3d0
Show file tree
Hide file tree
Showing 1,197 changed files with 22,314 additions and 8,402 deletions.
6 changes: 6 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,18 @@

# vendored files
src/os/freertos/* linguist-vendored
tests/axivion/compiler-errata/ti-cgt-arm_20.2.6.lts/test/ti_cgt_arm/* linguist-vendored
tests/axivion/compiler-errata/ti-cgt-arm_20.2.6.lts/* linguist-vendored
tests/axivion/qualification-test/qualification-kit/* linguist-vendored
tests/scripts/waf-core/* linguist-vendored
tools/vendor/* linguist-vendored
tools/waf linguist-vendored

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

tests/axivion/compiler-errata/ti-cgt-arm_20.2.6.lts/**/*.json -diff -merge -text
tests/axivion/compiler-errata/ti-cgt-arm_20.2.6.lts/**/*.py -diff -merge -text

tests/axivion/qualification-test/qualification-kit/**/*.json -diff -merge -text
tests/axivion/qualification-test/qualification-kit/**/*.py -diff -merge -text
2 changes: 1 addition & 1 deletion BSD-3-Clause.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BSD 3-Clause License (BSD 3-Clause "New" or "Revised" License)

Copyright (c) 2010 - 2022, Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V.
Copyright (c) 2010 - 2023, Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V.
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
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.1"
date-released: 2022-10-27
version: "1.5.0"
date-released: 2023-02-03
2 changes: 1 addition & 1 deletion conf/bms/schema/slave.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
]
},
"ic": {
"$id": "/properties/slave-unit/analog-front-end/chip",
"$id": "/properties/slave-unit/analog-front-end/ic",
"title": "Name of the Analog Front-End (must correspond to the directory name)",
"type": "string"
}
Expand Down
4 changes: 2 additions & 2 deletions conf/cc/cc-options.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2010 - 2022, Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V.
# Copyright (c) 2010 - 2023, Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V.
# All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
Expand Down Expand Up @@ -67,7 +67,7 @@ CFLAGS:
- --emit_warnings_as_errors
# additional flags that are ONLY applied to foxBMS sources
foxbms:
- -Ooff
- -O0
- -DASSERT_LEVEL=0
- --issue_remarks
- --strict_ansi
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 @@ -7,4 +7,4 @@ 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.6\bin
C:\Bauhaus\7.5.0\bin
76 changes: 26 additions & 50 deletions conf/guidelines/rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@
"png",
"gif",
"ico",
"o",
"vsdx",
"pyc",
"svg",
"tar",
"tar.bz2",
"tar.gz",
"vsdx",
"~vsdx",
"zip"
],
"global": [
Expand All @@ -23,8 +25,8 @@
"**/__pycache__/**",
"**/foxbms-2_axivion_report.json",
"**/*.asc",
"**/.lock-waf_*_build",
".git/**",
".lock-waf_*_build",
".mypy_cache/**",
".vscode/**",
"build/**",
Expand All @@ -50,7 +52,9 @@
"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/**",
Expand All @@ -67,6 +71,8 @@
"name": "GENERAL:001",
"regex": "^[a-z0-9_\\-.]*$",
"exclude": [
"**/*.~vsdx",
"**/LICENSE.md",
"**/README.md",
".github/PULL_REQUEST_TEMPLATE.md",
".gitlab/**",
Expand All @@ -78,8 +84,8 @@
"conf/hcg/**/*.c",
"conf/hcg/**/*.cmd",
"conf/hcg/**/*.h",
"**/LICENSE.md",
"src/os/freertos/README.ti-halcogen.md"
"src/os/freertos/README.ti-halcogen.md",
"tests/axivion/**/*cafeCC*"
]
},
"unique_filenames": {
Expand All @@ -89,6 +95,7 @@
"**/.dummy",
"**/.gitignore",
"**/__init__.py",
"**/__main__.py",
"**/README.md",
"**/wscript",
"tests/axivion/addon-test/**/ok.c",
Expand Down Expand Up @@ -160,7 +167,6 @@
"header": {
"name": "C:002",
"exclude": [
"src/app/driver/afe/ltc/common/ltc_pec.*",
"src/app/driver/sbc/fs8x_driver/**",
"src/app/driver/afe/nxp/mc33775a/nxp_mc33775a-ll.*"
],
Expand Down Expand Up @@ -211,13 +217,11 @@
"doxygen": {
"name": "C:004",
"exclude": [
"docs/developer-manual/style-guide/examples/*.c",
"docs/developer-manual/style-guide/examples/*.h",
"src/app/driver/afe/ltc/common/ltc_pec.*",
"src/app/driver/afe/nxp/mc33775a/nxp_mc33775a-ll.*",
"src/app/driver/sbc/fs8x_driver/sbc_fs8x*.*",
"src/app/main/linker_script_elf.cmd",
"src/os/**"
"src/os/**",
"tests/axivion/axivion_preinc.h"
],
"regex": [
"\/\\*\\*$",
Expand All @@ -240,10 +244,10 @@
"**/*.h"
],
"exclude": [
"src/app/driver/afe/ltc/common/ltc_pec.*",
"src/app/driver/afe/nxp/mc33775a/nxp_mc33775a-ll.h",
"src/app/driver/sbc/fs8x_driver/**",
"src/os/**"
"src/os/**",
"tests/axivion/axivion_preinc.h"
],
"prefix": "FOXBMS__",
"suffix": "_H_",
Expand All @@ -256,20 +260,15 @@
},
"sections": {
"exclude": [
"src/app/driver/afe/ltc/common/ltc_pec.*",
"src/app/driver/sbc/fs8x_driver/**",
"src/app/main/linker_script_elf.cmd"
"src/app/main/linker_script_elf.cmd",
"tests/axivion/axivion_preinc.h"
],
"name": "C:006",
"header": {
"exclude": [
"conf/tpl/test_c.h",
"docs/developer-manual/style-guide/examples/c-006-test.h",
"docs/developer-manual/style-guide/examples/c-007_abc*.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",
"tests/unit/**"
],
"sections": [
Expand All @@ -283,30 +282,8 @@
"source": {
"exclude": [
"conf/tpl/test_c.c",
"docs/developer-manual/style-guide/examples/c-004.c",
"docs/developer-manual/style-guide/examples/c-005.c",
"docs/software/unit-tests/test_abc.c",
"docs/developer-manual/style-guide/examples/c-006-test.c",
"docs/developer-manual/style-guide/examples/c-007_abc*.c",
"docs/developer-manual/style-guide/examples/c-008.c",
"docs/developer-manual/style-guide/examples/c-009.c",
"docs/developer-manual/style-guide/examples/c-011.c",
"docs/developer-manual/style-guide/examples/c-012.c",
"docs/developer-manual/style-guide/examples/c-013.c",
"docs/developer-manual/style-guide/examples/c-015.c",
"docs/developer-manual/style-guide/examples/c-016.c",
"docs/developer-manual/style-guide/examples/c-017.c",
"docs/developer-manual/style-guide/examples/c-018.c",
"docs/developer-manual/style-guide/examples/c-018.c",
"docs/developer-manual/style-guide/examples/c-019.c",
"docs/developer-manual/style-guide/examples/c-020.c",
"docs/developer-manual/style-guide/examples/c-021.c",
"docs/developer-manual/style-guide/examples/c-022.c",
"docs/developer-manual/style-guide/examples/c-023.c",
"docs/developer-manual/style-guide/examples/c-024.c",
"docs/developer-manual/style-guide/examples/c-025.c",
"docs/developer-manual/style-guide/examples/c-026.c",
"docs/developer-manual/style-guide/examples/c-027.c",
"docs/developer-manual/style-guide/examples/c-028*.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 @@ -327,14 +304,9 @@
"test_header": {
"exclude": [
"conf/tpl/c.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-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",
"src/**",
"tests/variants/lib-build/*"
],
Expand All @@ -349,7 +321,8 @@
"docs/developer-manual/style-guide/examples/c-004.c",
"docs/developer-manual/style-guide/examples/c-005.c",
"docs/developer-manual/style-guide/examples/c-006-source.c",
"docs/developer-manual/style-guide/examples/c-007_abc*.c",
"docs/developer-manual/style-guide/examples/c-007_abc.c",
"docs/developer-manual/style-guide/examples/c-007_abc_cfg.c",
"docs/developer-manual/style-guide/examples/c-008.c",
"docs/developer-manual/style-guide/examples/c-009.c",
"docs/developer-manual/style-guide/examples/c-011.c",
Expand All @@ -359,7 +332,6 @@
"docs/developer-manual/style-guide/examples/c-016.c",
"docs/developer-manual/style-guide/examples/c-017.c",
"docs/developer-manual/style-guide/examples/c-018.c",
"docs/developer-manual/style-guide/examples/c-018.c",
"docs/developer-manual/style-guide/examples/c-019.c",
"docs/developer-manual/style-guide/examples/c-020.c",
"docs/developer-manual/style-guide/examples/c-021.c",
Expand All @@ -369,12 +341,15 @@
"docs/developer-manual/style-guide/examples/c-025.c",
"docs/developer-manual/style-guide/examples/c-026.c",
"docs/developer-manual/style-guide/examples/c-027.c",
"docs/developer-manual/style-guide/examples/c-028*.c",
"docs/developer-manual/style-guide/examples/c-028-battery-defines.c",
"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",
"docs/software/unit-tests/abc.c",
"docs/software/unit-tests/run_abc.c",
"src/**",
"tests/c-std/c-std-test.c",
"tests/variants/lib-build/*"
Expand Down Expand Up @@ -417,7 +392,8 @@
"header": {
"name": "PYTHON:002",
"exclude": [
"tests/axivion/addon/**"
"tests/axivion/addon/**",
"tools/gui/fgui/misc/logo.py"
],
"text": [
"#!/usr/bin/env python3",
Expand Down
Loading

0 comments on commit 48da3d0

Please sign in to comment.