summaryrefslogtreecommitdiff
path: root/pcb
diff options
context:
space:
mode:
Diffstat (limited to 'pcb')
-rw-r--r--pcb/meson.build14
1 files changed, 14 insertions, 0 deletions
diff --git a/pcb/meson.build b/pcb/meson.build
index 7483cd0..b6a3060 100644
--- a/pcb/meson.build
+++ b/pcb/meson.build
@@ -20,6 +20,20 @@ schematic = custom_target(
depend_files: schematic_files,
)
+erc_report = custom_target(
+ input: 'iot-contact.kicad_sch',
+ output: 'erc-report.txt',
+ command: [
+ 'kicad-cli',
+ 'sch',
+ 'erc',
+ '--severity-all',
+ '--output', '@OUTPUT@',
+ '@INPUT@',
+ ],
+ depend_files: schematic_files,
+)
+
bom = custom_target(
output: ['bill-of-materials.csv'],
command: [