summaryrefslogtreecommitdiff
path: root/tools/build.sh
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-08-23 16:58:30 +0200
committerxengineering <me@xengineering.eu>2024-08-23 16:58:30 +0200
commit0db3f05ade565c23bc1654b5a88af4a06c71e17e (patch)
treecb610079ce9194c5aa6051cb53ef39764e1218fa /tools/build.sh
parent63b35a95cf6f29b867e27f9bb99fa03a4b5c4fa3 (diff)
downloadiot-contact-0db3f05ade565c23bc1654b5a88af4a06c71e17e.tar
iot-contact-0db3f05ade565c23bc1654b5a88af4a06c71e17e.tar.zst
iot-contact-0db3f05ade565c23bc1654b5a88af4a06c71e17e.zip
pcb: Remove folder
It is planned to switch to Ethernet instead of LoRa for communication. Thus the custom PCB with the STM32WL MCU does not make sense anymore. To get started the Ethernet variant will use a ST NUCLEO board to avoid creating a custom PCB first.
Diffstat (limited to 'tools/build.sh')
-rwxr-xr-xtools/build.sh31
1 files changed, 0 insertions, 31 deletions
diff --git a/tools/build.sh b/tools/build.sh
deleted file mode 100755
index 788e67a..0000000
--- a/tools/build.sh
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh
-
-
-set -euf
-
-
-# absolute paths
-script="$(realpath $0)"
-tools="$(dirname "${script}")"
-src="$(dirname "${tools}")"
-build="${src}/build"
-
-# paths relative to the build or src folder
-pcb='pcb'
-schematic="${pcb}/iot-contact.kicad_sch"
-board="${pcb}/iot-contact.kicad_pcb"
-
-
-mkdir -pv "${build}/${pcb}"
-
-kicad-cli sch export pdf \
- --output "${build}/${schematic}.pdf" \
- --black-and-white \
- "${src}/${schematic}"
-
-kicad-cli pcb export pdf \
- --output "${build}/${board}.pdf" \
- --layers F.Cu,Edge.Cuts \
- --include-border-title \
- --black-and-white \
- "${src}/${board}"