Don't throw error if variables are not CVC_CAL or CVC_DISP.
Just don't put them in the dict, there are valid cases such as
CVC_CONST.
Change-Id: I3e8293d9957684a103938b215cb9359e0a519152
If this is not wanted, add scaleMapsAndCurves: false to composition
config in project config (default true).
Change-Id: Iaca39b9371be07e81c0ace2ba63c9ea0c57d4a8f
This change allow comments around the enum member definitions in matlab
enum definition files. The comments is not transfered to the generated
source code.
Change-Id: I1770f1cdfc8e9cba83f58417c1d0b03a17ecb1d3
dt_NVM_LIST_X is not available when useRteNvmStructs is false so it
should use the structs from nvm_def.py instead.
Change-Id: I87555e9af9099a575d26fb2c01727698f51091d8
* Add possibility to generate the data type in RteDummy.
* Scheduling functions should include Rte_Type.h when
generateRteCheckpintIds is true.
Change-Id: I1a3d8f6f5cfe8bc431553a9a4d32f8c57c22a77a
* Option to map TL generated enums to rte counterparts using
'mapEnumsToRteCounterpart' in project config. This allows using enums
directly in the interface.
* Added option to 'includeAllEnums' in project config. This adds all
enums found in enumDefDir to header files, allowing projects to
add their use in interfaces before they are added to model code.
Change-Id: I0cac83e3be3514cbc15e02de6d5f7ca519c3cea6
* Added "supported_directions" dict.
* Bug fix were ports of direction CLINET/SERVER was added as IN/OUT in
the generated yaml file.
* Copy everything except for element from port definitions.
(yaml2arxml is updated every now and then and this feels like a better
approach)
Change-Id: I2351bdc4f5ea102f863528964e05e2affa6bc06f
The entrypoint will make it easier to install powertrain-build to an
isolated venv without having to call python -m powertrain_build.
Change-Id: I3850c97d17707f9bc03640bd1d997508637d97ba
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
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
We don't transfer git history since it may contain proprietary data that
we cannot have in an open sources version.
Change-Id: I9586124c1720db69a76b9390e208e9f0ba3b86d4
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