Liam Beguin 4d9346a365
Some checks failed
Create Examples / build (3.7) (push) Has been cancelled
Create Examples / build (3.8) (push) Has been cancelled
Add jinja2 preprocessor stage
This allows users to leverage jinja to include other files but also
loops, conditions, and other templating features.

Signed-off-by: Liam Beguin <liambeguin@gmail.com>
2024-06-09 17:53:54 -04:00

22 lines
312 B
YAML

{% include 'connectors.yml' %}
cables:
{%- for i in range(1, 3) %}
W{{i}}:
gauge: 0.25 mm2
length: 0.2
color_code: DIN
wirecount: 3
shield: true
{%- endfor %}
connections:
-
- X1: [1,2,3]
- W1: [1,2,3]
- X2: [1,2,3]
-
- X3: [1,2,3]
- W2: [1,2,3]
- X4: [1,2,3]