83 Commits

Author SHA1 Message Date
Henrik Wahlqvist
4e53b9818a Add option for supplying custom init function name
Note that this only applies to the runnable in the generated yaml file.

Change-Id: I4f6ac188bcfdeddddb390b9627b7cbddcd6456ad
2024-10-04 10:29:02 +02:00
Henrik Wahlqvist
1f388f1d2d Add docs about TargetLink
Change-Id: I027ec3815c741022d3860820e8ac8c521506c1c8
2024-10-04 10:00:48 +02:00
Zuul
c529f5f220 Merge "Update docs matching ecuType refactorisation" 2024-09-27 12:48:16 +00:00
Zuul
6fc1252f70 Merge "Updated documentation" 2024-09-27 12:47:23 +00:00
Henrik Wahlqvist
c7b97dbc62 Update docs matching ecuType refactorisation
Change-Id: I2537d05337f732162ddee43eab61103048853e6c
2024-09-27 10:19:37 +02:00
Henrik Wahlqvist
635045a3f2 Updated documentation
Change-Id: I65c140c3ab156406ba8a6ee18eba60692438e4b4
2024-09-27 10:19:31 +02:00
Henrik Wahlqvist
179ebf01a7 Bug fix in build.py
Generating interface calibration files can only happen when
generateYamlInterfaceFile is true.

Change-Id: Ib8c1f64c0e8328e924e19508da1845bf9f906586
2024-09-25 10:02:56 +02: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
1.0.2
2024-09-24 16:06:47 +02:00
Henrik Wahlqvist
73eca42a6a Bug fix, read diagnostics key in interface/zone_controller too
Introduced in a280614c1f3323b1ba4510afa0815e2ef7c3f55c

Change-Id: Iea2376e95aba1838762c03c13b09aafda278bd23
1.0.1
2024-09-18 17:07:33 +02:00
Henrik Wahlqvist
a280614c1f Make composition_yaml read diagnostics key instead
Diagnostics -> diagnostics (initial lower case d)

Change-Id: Idfc421dad060fa5b874031e5efb4230dc2b99cfa
1.0.0
2024-09-18 12:32:00 +02:00
Henrik Wahlqvist
ecdf390a2c Devs asked for missing ZC dids to be erroneous
Change-Id: Id6b4b478e7f7d465062ceb1a44de27d8d73d9ce8
2024-09-18 09:25:39 +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
8a3ed73e20 Bug fix - always set zc_dids in compisition_yaml
PyBuild should work if there are no interface dids set.
Introduced in 7ba6d503272bca16f67105a500737222afbedac1

Change-Id: I64a04e4f6fb3f6cfacd4818d375c131f60654e95
2024-09-13 09:58:08 +02:00
Henrik Wahlqvist
1d200a0e34 Allow multiple elements for ZC ports
Change-Id: Ic975416be33da371aecf5bc51a5a6bd061deede4
2024-08-27 11:48:58 +00:00
Zuul
557e072aa8 Merge "Fixes for ZC diagnostics" 2024-08-27 11:46:45 +00: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
0ce594d7ac TL_Lookup1D and TL_Lookup2D json entries bug fix
These blocks are similar to TL_Interpolation blocks with adds several
variables, output input axis and table.
The width property wasn't set in the json file when generating code.
Treat the Lookup blocks the same way as we treat the interpolation
tables.

Change-Id: I06598e87ce715951e37d0df571104779641ef1fc
2024-08-27 11:29:12 +00:00
Anton Lutteman
b75de51122 Adding dependency scan
Change-Id: I768004272e3f700af6ab6e42e95a5418dc977989
2024-08-26 15:04:43 +02:00
Henrik Wahlqvist
e4085f78e7 Add new includes config for tree structure include
There are cases when we have header files in a folder structure,
so we should not flatten the included paths.
So this commit adds get_includes_paths_tree, that should be self explaining,
and renames get_includes_paths to get_includes_paths_flat.

Change-Id: I2cff35687adb2a6caee1f4d3c631e62b8c5b53e4
2024-07-03 16:55:04 +02:00
Henrik Wahlqvist
a7b1979768 Add feature for ZC DIDs and DTCs
Change-Id: I170192eb10727b8c569920f925ccfc1a7f82ca08
2024-07-02 16:35:10 +02:00
Henrik Wahlqvist
a6e0d18f5c Fixes in ZC check_signal_property function
* Writing to the same property on another port should be okay.
* Reading the same property to multiple insignals should be okay.

Change-Id: I0af220aeabbd74e270064fcc58a8aba225587b0e
2024-06-26 15:34:56 +02:00
Zuul
9f238d9b07 Merge "Updates to deployment docs/files" 0.1.0 2024-06-18 12:30:25 +00:00
Henrik Wahlqvist
8f27b6a713 Updates to deployment docs/files
Change-Id: If4aa072aeca41c18fb5918f6353a4ae61c23257c
2024-06-18 12:17:11 +02:00
Anton Lutteman
34dd718228 Adding blackduck token to secrets
Change-Id: I98fbd34978314e8f0c3612312c8fbad2d3660f96
2024-06-18 10:07:13 +02:00
Henrik Wahlqvist
7990fbb58c Update PyPi secret to handle official PyPi
Change-Id: I21e6fbcd73635e4c7e0760e0987ead6f8b6ed2f5
2024-06-17 12:54:47 +02:00
Henrik Wahlqvist
76f61dec1a Updates making pypi upload possible
Change-Id: I7a861287c1d2515cd1a43c343437b3e6134956f9
0.0.1
2024-06-14 11:17:20 +02:00
Henrik Wahlqvist
266c195b83 Update pypi secret and add job using it
Change-Id: Idfefa208b2934d3bb2da3e42db4d4f11e9c9d429
2024-06-12 16:30:06 +02:00
Henrik Wahlqvist
af5814b685 Add secret for uploading to TestPyPi
Change-Id: I4d131331e3eb961767e48b85c221174de1df2bf9
2024-06-12 14:43:23 +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
Alberto Gonzalez
05acd5e750 Add tox jobs
This change adds tox jobs that lint and test python code.
Together with the job definition and configuration, this
change adds some dummy directories and tests that should
be replaced once the actual code for this repo is migrated.

Change-Id: Iaa201562faf2dbee0647b3366d6d0c5ece0561d0
2024-04-29 10:25:58 +02:00
Alberto Gonzalez
658d4a347b Add initial jobs for check and gate
Change-Id: Ic4b82d3038ba59cf7e2a8c66ddfa363cb2456ef8
2024-04-26 08:21:50 +02:00
OpenDev Project Creator
5bb520e65e Added .gitreview 2024-04-23 13:47:30 +00:00