Files
powertrain-build/docs/powertrain_build_introduction.md
Henrik Wahlqvist 1f388f1d2d Add docs about TargetLink
Change-Id: I027ec3815c741022d3860820e8ac8c521506c1c8
2024-10-04 10:00:48 +02:00

43 lines
1.5 KiB
Markdown

# Introduction of powertrain_build for new employee
[TOC]
<!--:powertrain_build:-->
## General powertrain_build Information
[powertrain_build introduction](./powertrain_build.md) introduces installation and basic usage of powertrain_build.
## powertrain_build Code Base
The basic code introduction is placed in [powertrain_build General Code Introduction](./powertrain_build_architecture.md).
## powertrain_build Deployment
Information on how to deploy powertrain_build can be found [here](./powertrain_build_deployment.md).
## powertrain_build and Code Generators
powertrain_build collects code generated from Simulink models in Matlab.
powertrain_build was based on working with TargetLink but also supports Embedded Coder (if set up correctly).
powertrain_builds contains code for generating code from Simulink models,
which can be found in *powertrain_build/matlab_scripts* folder.
For more information about the TargetLink setup see [this page](target_link/target_link.md).
## powertrain_build Development
If you want to develop powertrain_build, you can run it directly from the Git repositories.
You probably need a separate virtual environment, as any installed release versions of powertrain_build would interfere:
```shell
python3 -m venv powertrain_build_venv
source ./powertrain_build_venv/bin/activate
```
Once activated, you can execute it:
```shell
PYTHONPATH=<path_to>//powertrain-build python -m powertrain_build.wrapper build-specific --project-config Projects/CSP/PvcDepDemo/ProjectCfg.json --core-dummy
```