aboutsummaryrefslogtreecommitdiff
path: root/convert.sh
diff options
context:
space:
mode:
Diffstat (limited to 'convert.sh')
-rwxr-xr-xconvert.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/convert.sh b/convert.sh
index 4e886ac..74f6e61 100755
--- a/convert.sh
+++ b/convert.sh
@@ -212,6 +212,9 @@ sed -i -e 's/segment \(.*\)layer Eco2.User.*/gr_line \1layer Eco2.User\)\)/g' Cr
# Set all schematic footprints from the PCB
../set-footprints-from-pcb.py Cryptech?Alpha.kicad_pcb *.sch
+# Fix paths of all footprints in the PCB
+sed -i -e "s/[(]module /\(module Cryptech_Alpha_Footprints:/" Cryptech\ Alpha.kicad_pcb
+
# Make further modifications to the layout using KiCAD's Python bindings
test -d ../tmp || mkdir ../tmp
cp "Cryptech Alpha.kicad_pcb" "../tmp/Cryptech Alpha.kicad_pcb.a2k-out"