Skip to content

Commit 48da3d0

Browse files
committed
Minor release of foxBMS 2 (v1.5.0)
* 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.
1 parent a2b632f commit 48da3d0

File tree

1,197 files changed

+22314
-8402
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,197 files changed

+22314
-8402
lines changed

.gitattributes

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,18 @@
66

77
# vendored files
88
src/os/freertos/* linguist-vendored
9+
tests/axivion/compiler-errata/ti-cgt-arm_20.2.6.lts/test/ti_cgt_arm/* linguist-vendored
10+
tests/axivion/compiler-errata/ti-cgt-arm_20.2.6.lts/* linguist-vendored
11+
tests/axivion/qualification-test/qualification-kit/* linguist-vendored
912
tests/scripts/waf-core/* linguist-vendored
1013
tools/vendor/* linguist-vendored
1114
tools/waf linguist-vendored
1215

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

19+
tests/axivion/compiler-errata/ti-cgt-arm_20.2.6.lts/**/*.json -diff -merge -text
20+
tests/axivion/compiler-errata/ti-cgt-arm_20.2.6.lts/**/*.py -diff -merge -text
21+
1622
tests/axivion/qualification-test/qualification-kit/**/*.json -diff -merge -text
1723
tests/axivion/qualification-test/qualification-kit/**/*.py -diff -merge -text

BSD-3-Clause.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BSD 3-Clause License (BSD 3-Clause "New" or "Revised" License)
22

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

66
Redistribution and use in source and binary forms, with or without

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@ keywords:
4646
- "BMS"
4747
message: "If the foxBMS project contributes to a project that leads to a scientific publication, please acknowledge this fact by citing."
4848
title: "foxBMS - The Most Advanced Open Source BMS Platform: foxBMS 2"
49-
version: "1.4.1"
50-
date-released: 2022-10-27
49+
version: "1.5.0"
50+
date-released: 2023-02-03

conf/bms/schema/slave.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
]
2929
},
3030
"ic": {
31-
"$id": "/properties/slave-unit/analog-front-end/chip",
31+
"$id": "/properties/slave-unit/analog-front-end/ic",
3232
"title": "Name of the Analog Front-End (must correspond to the directory name)",
3333
"type": "string"
3434
}

conf/cc/cc-options.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2010 - 2022, Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V.
1+
# Copyright (c) 2010 - 2023, Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V.
22
# All rights reserved.
33
#
44
# SPDX-License-Identifier: BSD-3-Clause
@@ -67,7 +67,7 @@ CFLAGS:
6767
- --emit_warnings_as_errors
6868
# additional flags that are ONLY applied to foxBMS sources
6969
foxbms:
70-
- -Ooff
70+
- -O0
7171
- -DASSERT_LEVEL=0
7272
- --issue_remarks
7373
- --strict_ansi

conf/env/paths_win32.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ C:\ti\Hercules\HALCoGen\v04.07.01
77
C:\Program Files\LLVM\13.0.0\bin
88
C:\Ruby\Ruby272-x64\bin
99
C:\MinGW64\x86_64-8.1.0-release-posix-seh-rt_v6-rev0\mingw64\bin
10-
C:\Bauhaus\7.4.6\bin
10+
C:\Bauhaus\7.5.0\bin

conf/guidelines/rules.json

Lines changed: 26 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,15 @@
88
"png",
99
"gif",
1010
"ico",
11+
"o",
1112
"vsdx",
1213
"pyc",
1314
"svg",
1415
"tar",
1516
"tar.bz2",
1617
"tar.gz",
1718
"vsdx",
19+
"~vsdx",
1820
"zip"
1921
],
2022
"global": [
@@ -23,8 +25,8 @@
2325
"**/__pycache__/**",
2426
"**/foxbms-2_axivion_report.json",
2527
"**/*.asc",
28+
"**/.lock-waf_*_build",
2629
".git/**",
27-
".lock-waf_*_build",
2830
".mypy_cache/**",
2931
".vscode/**",
3032
"build/**",
@@ -50,7 +52,9 @@
5052
"src/os/safertos/**/*.asm",
5153
"src/os/safertos/**/*.c",
5254
"src/os/safertos/**/*.h",
55+
"tests/axivion/compiler-errata/ti-cgt-arm*/**",
5356
"tests/axivion/qualification-test/qualification-kit/**",
57+
"tests/unit/build/**",
5458
"tests/scripts/waf-core/general/**",
5559
"tests/scripts/waf-core/init/**",
5660
"tests/scripts/waf-core/install/**",
@@ -67,6 +71,8 @@
6771
"name": "GENERAL:001",
6872
"regex": "^[a-z0-9_\\-.]*$",
6973
"exclude": [
74+
"**/*.~vsdx",
75+
"**/LICENSE.md",
7076
"**/README.md",
7177
".github/PULL_REQUEST_TEMPLATE.md",
7278
".gitlab/**",
@@ -78,8 +84,8 @@
7884
"conf/hcg/**/*.c",
7985
"conf/hcg/**/*.cmd",
8086
"conf/hcg/**/*.h",
81-
"**/LICENSE.md",
82-
"src/os/freertos/README.ti-halcogen.md"
87+
"src/os/freertos/README.ti-halcogen.md",
88+
"tests/axivion/**/*cafeCC*"
8389
]
8490
},
8591
"unique_filenames": {
@@ -89,6 +95,7 @@
8995
"**/.dummy",
9096
"**/.gitignore",
9197
"**/__init__.py",
98+
"**/__main__.py",
9299
"**/README.md",
93100
"**/wscript",
94101
"tests/axivion/addon-test/**/ok.c",
@@ -160,7 +167,6 @@
160167
"header": {
161168
"name": "C:002",
162169
"exclude": [
163-
"src/app/driver/afe/ltc/common/ltc_pec.*",
164170
"src/app/driver/sbc/fs8x_driver/**",
165171
"src/app/driver/afe/nxp/mc33775a/nxp_mc33775a-ll.*"
166172
],
@@ -211,13 +217,11 @@
211217
"doxygen": {
212218
"name": "C:004",
213219
"exclude": [
214-
"docs/developer-manual/style-guide/examples/*.c",
215-
"docs/developer-manual/style-guide/examples/*.h",
216-
"src/app/driver/afe/ltc/common/ltc_pec.*",
217220
"src/app/driver/afe/nxp/mc33775a/nxp_mc33775a-ll.*",
218221
"src/app/driver/sbc/fs8x_driver/sbc_fs8x*.*",
219222
"src/app/main/linker_script_elf.cmd",
220-
"src/os/**"
223+
"src/os/**",
224+
"tests/axivion/axivion_preinc.h"
221225
],
222226
"regex": [
223227
"\/\\*\\*$",
@@ -240,10 +244,10 @@
240244
"**/*.h"
241245
],
242246
"exclude": [
243-
"src/app/driver/afe/ltc/common/ltc_pec.*",
244247
"src/app/driver/afe/nxp/mc33775a/nxp_mc33775a-ll.h",
245248
"src/app/driver/sbc/fs8x_driver/**",
246-
"src/os/**"
249+
"src/os/**",
250+
"tests/axivion/axivion_preinc.h"
247251
],
248252
"prefix": "FOXBMS__",
249253
"suffix": "_H_",
@@ -256,20 +260,15 @@
256260
},
257261
"sections": {
258262
"exclude": [
259-
"src/app/driver/afe/ltc/common/ltc_pec.*",
260263
"src/app/driver/sbc/fs8x_driver/**",
261-
"src/app/main/linker_script_elf.cmd"
264+
"src/app/main/linker_script_elf.cmd",
265+
"tests/axivion/axivion_preinc.h"
262266
],
263267
"name": "C:006",
264268
"header": {
265269
"exclude": [
266270
"conf/tpl/test_c.h",
267271
"docs/developer-manual/style-guide/examples/c-006-test.h",
268-
"docs/developer-manual/style-guide/examples/c-007_abc*.h",
269-
"docs/developer-manual/style-guide/examples/c-008.h",
270-
"docs/developer-manual/style-guide/examples/c-011.h",
271-
"docs/developer-manual/style-guide/examples/c-013.h",
272-
"docs/developer-manual/style-guide/examples/c-015.h",
273272
"tests/unit/**"
274273
],
275274
"sections": [
@@ -283,30 +282,8 @@
283282
"source": {
284283
"exclude": [
285284
"conf/tpl/test_c.c",
286-
"docs/developer-manual/style-guide/examples/c-004.c",
287-
"docs/developer-manual/style-guide/examples/c-005.c",
285+
"docs/software/unit-tests/test_abc.c",
288286
"docs/developer-manual/style-guide/examples/c-006-test.c",
289-
"docs/developer-manual/style-guide/examples/c-007_abc*.c",
290-
"docs/developer-manual/style-guide/examples/c-008.c",
291-
"docs/developer-manual/style-guide/examples/c-009.c",
292-
"docs/developer-manual/style-guide/examples/c-011.c",
293-
"docs/developer-manual/style-guide/examples/c-012.c",
294-
"docs/developer-manual/style-guide/examples/c-013.c",
295-
"docs/developer-manual/style-guide/examples/c-015.c",
296-
"docs/developer-manual/style-guide/examples/c-016.c",
297-
"docs/developer-manual/style-guide/examples/c-017.c",
298-
"docs/developer-manual/style-guide/examples/c-018.c",
299-
"docs/developer-manual/style-guide/examples/c-018.c",
300-
"docs/developer-manual/style-guide/examples/c-019.c",
301-
"docs/developer-manual/style-guide/examples/c-020.c",
302-
"docs/developer-manual/style-guide/examples/c-021.c",
303-
"docs/developer-manual/style-guide/examples/c-022.c",
304-
"docs/developer-manual/style-guide/examples/c-023.c",
305-
"docs/developer-manual/style-guide/examples/c-024.c",
306-
"docs/developer-manual/style-guide/examples/c-025.c",
307-
"docs/developer-manual/style-guide/examples/c-026.c",
308-
"docs/developer-manual/style-guide/examples/c-027.c",
309-
"docs/developer-manual/style-guide/examples/c-028*.c",
310287
"src/app/driver/config/can_cfg.c",
311288
"src/app/engine/config/diag_cfg.c",
312289
"src/app/engine/config/sys_mon_cfg.c",
@@ -327,14 +304,9 @@
327304
"test_header": {
328305
"exclude": [
329306
"conf/tpl/c.h",
330-
"docs/developer-manual/style-guide/examples/c-006-source.h",
331-
"docs/developer-manual/style-guide/examples/c-007_abc*.h",
332-
"docs/developer-manual/style-guide/examples/c-008.h",
333-
"docs/developer-manual/style-guide/examples/c-011.h",
334-
"docs/developer-manual/style-guide/examples/c-013.h",
335-
"docs/developer-manual/style-guide/examples/c-015.h",
336307
"docs/developer-manual/style-guide/state-machine-example/state-machine.h",
337308
"docs/software/build-process/misc/libproject-example.h",
309+
"docs/software/unit-tests/abc.h",
338310
"src/**",
339311
"tests/variants/lib-build/*"
340312
],
@@ -349,7 +321,8 @@
349321
"docs/developer-manual/style-guide/examples/c-004.c",
350322
"docs/developer-manual/style-guide/examples/c-005.c",
351323
"docs/developer-manual/style-guide/examples/c-006-source.c",
352-
"docs/developer-manual/style-guide/examples/c-007_abc*.c",
324+
"docs/developer-manual/style-guide/examples/c-007_abc.c",
325+
"docs/developer-manual/style-guide/examples/c-007_abc_cfg.c",
353326
"docs/developer-manual/style-guide/examples/c-008.c",
354327
"docs/developer-manual/style-guide/examples/c-009.c",
355328
"docs/developer-manual/style-guide/examples/c-011.c",
@@ -359,7 +332,6 @@
359332
"docs/developer-manual/style-guide/examples/c-016.c",
360333
"docs/developer-manual/style-guide/examples/c-017.c",
361334
"docs/developer-manual/style-guide/examples/c-018.c",
362-
"docs/developer-manual/style-guide/examples/c-018.c",
363335
"docs/developer-manual/style-guide/examples/c-019.c",
364336
"docs/developer-manual/style-guide/examples/c-020.c",
365337
"docs/developer-manual/style-guide/examples/c-021.c",
@@ -369,12 +341,15 @@
369341
"docs/developer-manual/style-guide/examples/c-025.c",
370342
"docs/developer-manual/style-guide/examples/c-026.c",
371343
"docs/developer-manual/style-guide/examples/c-027.c",
372-
"docs/developer-manual/style-guide/examples/c-028*.c",
344+
"docs/developer-manual/style-guide/examples/c-028-battery-defines.c",
345+
"docs/developer-manual/style-guide/examples/c-028.c",
373346
"docs/developer-manual/style-guide/state-machine-example/state-machine.c",
374347
"docs/software/build-process/misc/libproject-example.c",
375348
"docs/software/modules/driver/can/can_how-to_tx.c",
376349
"docs/software/modules/engine/database/database_how-to.c",
377350
"docs/software/modules/task/ftask/ftask_how-to.c",
351+
"docs/software/unit-tests/abc.c",
352+
"docs/software/unit-tests/run_abc.c",
378353
"src/**",
379354
"tests/c-std/c-std-test.c",
380355
"tests/variants/lib-build/*"
@@ -417,7 +392,8 @@
417392
"header": {
418393
"name": "PYTHON:002",
419394
"exclude": [
420-
"tests/axivion/addon/**"
395+
"tests/axivion/addon/**",
396+
"tools/gui/fgui/misc/logo.py"
421397
],
422398
"text": [
423399
"#!/usr/bin/env python3",

0 commit comments

Comments
 (0)