aboutsummaryrefslogtreecommitdiff
path: root/kicad
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2016-07-26 00:22:55 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2016-07-26 00:22:55 +0200
commit128e53d220d97225803d61d86f8e43439563181d (patch)
treee0d5da8d666c54d1d17e64ee6f52af424129f90d /kicad
downloadkicad-utils-128e53d220d97225803d61d86f8e43439563181d.tar.gz
kicad-utils-128e53d220d97225803d61d86f8e43439563181d.tar.bz2
kicad-utils-128e53d220d97225803d61d86f8e43439563181d.tar.xz
kicad-utils-128e53d220d97225803d61d86f8e43439563181d.zip
WIP: kicad_gen is a util to generate schematic.h files from KiCAD netlist files.
Current code contains a lexer and parser for KiCAD's netlist files and code to build a tree of the netlist which can be used for generation. Contains CMake code for integrating the generation into CMake too.
Diffstat (limited to 'kicad')
-rw-r--r--kicad/.gitignore2
-rw-r--r--kicad/kicad_utils.dcm3
-rw-r--r--kicad/kicad_utils.lib46
3 files changed, 51 insertions, 0 deletions
diff --git a/kicad/.gitignore b/kicad/.gitignore
new file mode 100644
index 0000000..68c3cd9
--- /dev/null
+++ b/kicad/.gitignore
@@ -0,0 +1,2 @@
+*.bak
+*.bck
diff --git a/kicad/kicad_utils.dcm b/kicad/kicad_utils.dcm
new file mode 100644
index 0000000..5f3ed79
--- /dev/null
+++ b/kicad/kicad_utils.dcm
@@ -0,0 +1,3 @@
+EESchema-DOCLIB Version 2.0
+#
+#End Doc Library
diff --git a/kicad/kicad_utils.lib b/kicad/kicad_utils.lib
new file mode 100644
index 0000000..586f2c9
--- /dev/null
+++ b/kicad/kicad_utils.lib
@@ -0,0 +1,46 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# ARDUINO_UNO
+#
+DEF ARDUINO_UNO U 0 40 Y Y 1 F N
+F0 "U" 0 0 60 H V C CNN
+F1 "ARDUINO_UNO" 0 100 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+S -550 -700 550 1300 0 1 0 N
+X ~RST 1 -750 600 200 R 50 50 1 1 I
+X 3V3 2 -750 500 200 R 50 50 1 1 I
+X 5V 3 -750 400 200 R 50 50 1 1 I
+X GND 4 -750 300 200 R 50 50 1 1 I
+X GND 5 -750 200 200 R 50 50 1 1 I
+X Vin 6 -750 100 200 R 50 50 1 1 I
+X A0 7 -750 -100 200 R 50 50 1 1 I
+X A1 8 -750 -200 200 R 50 50 1 1 I
+X A2 9 -750 -300 200 R 50 50 1 1 I
+X A3 10 -750 -400 200 R 50 50 1 1 I
+X D7 20 750 100 200 L 50 50 1 1 I
+X SCL 30 750 1200 200 L 50 50 1 1 I
+X A4 11 -750 -500 200 R 50 50 1 1 w
+X D8 21 750 300 200 L 50 50 1 1 I
+X A5 12 -750 -600 200 R 50 50 1 1 I
+X D9 22 750 400 200 L 50 50 1 1 I
+X D0 13 750 -600 200 L 50 50 1 1 I
+X D10 23 750 500 200 L 50 50 1 1 I
+X D1 14 750 -500 200 L 50 50 1 1 I
+X D11 24 750 600 200 L 50 50 1 1 I
+X D2 15 750 -400 200 L 50 50 1 1 I
+X D12 25 750 700 200 L 50 50 1 1 I
+X D3 16 750 -300 200 L 50 50 1 1 I
+X D13 26 750 800 200 L 50 50 1 1 I
+X D4 17 750 -200 200 L 50 50 1 1 I
+X GND 27 750 900 200 L 50 50 1 1 I
+X D5 18 750 -100 200 L 50 50 1 1 I
+X Aref 28 750 1000 200 L 50 50 1 1 I
+X D6 19 750 0 200 L 50 50 1 1 I
+X SDA 29 750 1100 200 L 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+#End Library