15 Commits

Author SHA1 Message Date
Henrik Wahlqvist
dd28503adf Bug fix for ZC dids
The bit string was mirrored in the DID API function

Change-Id: Ia03d7cda1f59a089832eaf0433a6f7454b3c6fd3
2025-02-13 10:01:42 +01:00
olindgre
f6b42534e3 Adding lsb, offset to curves and maps
If this is not wanted, add scaleMapsAndCurves: false to composition
config in project config (default true).

Change-Id: Iaca39b9371be07e81c0ace2ba63c9ea0c57d4a8f
2025-01-31 11:51:20 +01:00
Henrik Wahlqvist
6b5b321881 Copy all keys in parsed ZC files
* Also adding mode_switch_points key to runnables

Change-Id: I8819cc817e4bd272bf3f62671cfb619b5d3e5b9d
2025-01-30 15:18:04 +01:00
Henrik Wahlqvist
dce0d1910b Also init calibration variables in the calibration init function
Change-Id: I777590427fb4e15c7a61f45313f120c089c28315
2025-01-22 10:18:22 +01:00
Henrik Wahlqvist
76390d71f7 Update towards breaking yaml generator changes
Change-Id: I456b9f1bc4545600af78908886968c9b7c313309
2025-01-17 09:56:31 +01:00
Henrik Wahlqvist
ef521427c8 Fix in ZC NVM generation
We need to use the struct definitions from the RTE.

Change-Id: I6e380ab5a153cd725e229fe03bffc8887105eed4
2025-01-16 10:57:32 +01:00
Henrik Wahlqvist
e36e378e9b Updates to be able to generate NVM RTE function calls
Change-Id: If692ccdf96403b7132735b70bfd8be4a96458ff8
2024-10-30 12:49:06 +01:00
Henrik Wahlqvist
b55335a3a4 Adding NVM functionality to composition_yaml
This change does not include generating RTE calls,
it only updates the yaml2arxml input.

Change-Id: I67f32d3c31dccf0b290c6e5c934d71e27b1b439d
2024-10-30 10:54:50 +01:00
Henrik Wahlqvist
fc03669666 Add option for supplying custom step function name
Note that this only applies to the runnable in the generated yaml file.

Change-Id: I11eea48b41801d3a0dfc479b6cc489108659bb55
2024-10-22 11:24:06 +00:00
Henrik Wahlqvist
c1e138cb47 Add option for softwareComponentBase
This setting changes the ASIL classification of the software component
by adding the swcbase key to the yaml file.
ZC projects only.

Change-Id: Ic94dbb3cb4ca617f4637066d50ee0817e1e923cc
2024-09-24 16:06:47 +02:00
Henrik Wahlqvist
fda739bc13 Refactor usage of ecu_supplier
Removed most of the decisions based on ecu_supplier and made it more
granular using individual configuration.
Current project types will keep their config by adding templates in the
BaseConfig.json file.
Some usecases were kept for legacy reasons.

Change-Id: I3d6199713006489baff0bf73751596770fd1f968
2024-09-17 08:25:46 +00:00
olindgre
2ece01e1d7 Make powertrain-build not overlap with pybuild in site-packages
Change-Id: I7b59f3f04f0f787d35db0b9389f295bf1ad24f56
2024-09-17 10:25:04 +02:00
Henrik Wahlqvist
e9289cf14a Fixes for ZC diagnostics
* yaml2arxml needs all entries from the diagnostics yaml file.
* DIDs > 1 bytes need to be converted to arrays

Change-Id: I2087c1733131d3b46d028bd49d4c0bb7dc16fbbd
2024-08-27 11:29:21 +00:00
Henrik Wahlqvist
a7b1979768 Add feature for ZC DIDs and DTCs
Change-Id: I170192eb10727b8c569920f925ccfc1a7f82ca08
2024-07-02 16:35:10 +02:00
Henrik Wahlqvist
65c1d746a7 Copy from Volvo Cars local project
We don't transfer git history since it may contain proprietary data that
we cannot have in an open sources version.

Change-Id: I9586124c1720db69a76b9390e208e9f0ba3b86d4
2024-05-29 08:03:54 +02:00