From 8d11f9a16fb2920d43c174cb294634de34146b3f Mon Sep 17 00:00:00 2001 From: napowderly Date: Sun, 4 Feb 2024 12:41:55 -0800 Subject: [PATCH] Configure project --- .vscode/settings.json | 3 +++ .vscode/settings.json.j2 | 3 --- ato.yaml | 6 ++++++ ato.yaml.j2 | 6 ------ .../{__name__.kicad_pcb.j2 => lv2842xlvddcr.kicad_pcb} | 8 ++++---- .../{__name__.kicad_pro.j2 => lv2842xlvddcr.kicad_pro} | 4 ++-- .../{__name__.kicad_sch.j2 => lv2842xlvddcr.kicad_sch} | 2 +- elec/src/__name__.ato.j2 | 2 -- elec/src/lv2842xlvddcr.ato | 2 ++ 9 files changed, 18 insertions(+), 18 deletions(-) create mode 100644 .vscode/settings.json delete mode 100644 .vscode/settings.json.j2 create mode 100644 ato.yaml delete mode 100644 ato.yaml.j2 rename elec/layout/default/{__name__.kicad_pcb.j2 => lv2842xlvddcr.kicad_pcb} (99%) rename elec/layout/default/{__name__.kicad_pro.j2 => lv2842xlvddcr.kicad_pro} (98%) rename elec/layout/default/{__name__.kicad_sch.j2 => lv2842xlvddcr.kicad_sch} (98%) delete mode 100644 elec/src/__name__.ato.j2 create mode 100644 elec/src/lv2842xlvddcr.ato diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..d273266 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "python.defaultInterpreterPath": "/Users/narayanpowderly/Documents/atopile-workspace/.venv/bin/python3.11" +} \ No newline at end of file diff --git a/.vscode/settings.json.j2 b/.vscode/settings.json.j2 deleted file mode 100644 index 8e3d7f2..0000000 --- a/.vscode/settings.json.j2 +++ /dev/null @@ -1,3 +0,0 @@ -{ - "python.defaultInterpreterPath": "{{python_path}}" -} diff --git a/ato.yaml b/ato.yaml new file mode 100644 index 0000000..f9b79a5 --- /dev/null +++ b/ato.yaml @@ -0,0 +1,6 @@ +ato-version: ^0.2.0 +builds: + default: + entry: elec/src/lv2842xlvddcr.ato:Lv2842xlvddcr +dependencies: +- generics \ No newline at end of file diff --git a/ato.yaml.j2 b/ato.yaml.j2 deleted file mode 100644 index a9ea82b..0000000 --- a/ato.yaml.j2 +++ /dev/null @@ -1,6 +0,0 @@ -ato-version: ^0.2.0 -builds: - default: - entry: elec/src/{{caseconverter.kebabcase(name)}}.ato:{{caseconverter.pascalcase(name)}} -dependencies: -- generics diff --git a/elec/layout/default/__name__.kicad_pcb.j2 b/elec/layout/default/lv2842xlvddcr.kicad_pcb similarity index 99% rename from elec/layout/default/__name__.kicad_pcb.j2 rename to elec/layout/default/lv2842xlvddcr.kicad_pcb index da62ba7..8fe7ad4 100644 --- a/elec/layout/default/__name__.kicad_pcb.j2 +++ b/elec/layout/default/lv2842xlvddcr.kicad_pcb @@ -1725,13 +1725,13 @@ (stroke (width 0.2) (type default)) (fill none) (layer "Edge.Cuts") (tstamp e1dec10d-8b7a-4e73-adf9-1aab96be1971)) (gr_line (start 225.62 117.79) (end 257.62 117.79) (stroke (width 0.1) (type solid)) (layer "Edge.Cuts") (tstamp e1f36007-0f9d-4dc5-ae43-6b056652526f)) - (gr_text "{{"{{GITHASH}}"}}" (at 152.4 139.7) (layer "F.SilkS") (tstamp 46268c7f-4a2b-440e-af15-46add3884cdf) + (gr_text "{{GITHASH}}" (at 152.4 139.7) (layer "F.SilkS") (tstamp 46268c7f-4a2b-440e-af15-46add3884cdf) (effects (font (size 2 2) (thickness 0.1)) (justify left bottom)) ) - (gr_text "{{"{{GITHASH}}"}}" (at 62.23 146.05) (layer "F.SilkS") (tstamp 47ada779-5919-4cca-9f25-e816e5b53339) + (gr_text "{{GITHASH}}" (at 62.23 146.05) (layer "F.SilkS") (tstamp 47ada779-5919-4cca-9f25-e816e5b53339) (effects (font (size 2 2) (thickness 0.1)) (justify left bottom)) ) - (gr_text "{{"{{GITHASH}}"}}" (at 232.508427 115.791573) (layer "F.SilkS") (tstamp d894e23f-c5ed-4336-947e-ac38e533f04c) + (gr_text "{{GITHASH}}" (at 232.508427 115.791573) (layer "F.SilkS") (tstamp d894e23f-c5ed-4336-947e-ac38e533f04c) (effects (font (size 2 2) (thickness 0.1)) (justify left bottom)) ) @@ -1763,4 +1763,4 @@ e1f36007-0f9d-4dc5-ae43-6b056652526f ) ) -) +) \ No newline at end of file diff --git a/elec/layout/default/__name__.kicad_pro.j2 b/elec/layout/default/lv2842xlvddcr.kicad_pro similarity index 98% rename from elec/layout/default/__name__.kicad_pro.j2 rename to elec/layout/default/lv2842xlvddcr.kicad_pro index 28e2b24..e3e3023 100644 --- a/elec/layout/default/__name__.kicad_pro.j2 +++ b/elec/layout/default/lv2842xlvddcr.kicad_pro @@ -215,7 +215,7 @@ "last_paths": { "gencad": "", "idf": "", - "netlist": "../../../build/default/{{caseconverter.kebabcase(name)}}.net", + "netlist": "../../../build/default/lv2842xlvddcr.net", "specctra_dsn": "", "step": "", "vrml": "" @@ -228,4 +228,4 @@ }, "sheets": [], "text_variables": {} -} +} \ No newline at end of file diff --git a/elec/layout/default/__name__.kicad_sch.j2 b/elec/layout/default/lv2842xlvddcr.kicad_sch similarity index 98% rename from elec/layout/default/__name__.kicad_sch.j2 rename to elec/layout/default/lv2842xlvddcr.kicad_sch index 2e2aa2f..b109e08 100644 --- a/elec/layout/default/__name__.kicad_sch.j2 +++ b/elec/layout/default/lv2842xlvddcr.kicad_sch @@ -2,4 +2,4 @@ (paper "A4") (lib_symbols) (symbol_instances) -) +) \ No newline at end of file diff --git a/elec/src/__name__.ato.j2 b/elec/src/__name__.ato.j2 deleted file mode 100644 index bbf8031..0000000 --- a/elec/src/__name__.ato.j2 +++ /dev/null @@ -1,2 +0,0 @@ -module {{caseconverter.pascalcase(name)}}: - signal gnd diff --git a/elec/src/lv2842xlvddcr.ato b/elec/src/lv2842xlvddcr.ato new file mode 100644 index 0000000..f7f56fb --- /dev/null +++ b/elec/src/lv2842xlvddcr.ato @@ -0,0 +1,2 @@ +module Lv2842xlvddcr: + signal gnd \ No newline at end of file