aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2016-07-27 19:42:19 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2016-07-27 19:42:19 +0200
commit5e846554a48be59ba7278194567b9e1a25058958 (patch)
treefc0d4bbd0738ed14ed4d919c3dcd4e8c6edd4223
parent7ab005681a15ef2f4b60d8fce866731aa028f7b9 (diff)
downloadkicad-utils-5e846554a48be59ba7278194567b9e1a25058958.tar.gz
kicad-utils-5e846554a48be59ba7278194567b9e1a25058958.tar.bz2
kicad-utils-5e846554a48be59ba7278194567b9e1a25058958.tar.xz
kicad-utils-5e846554a48be59ba7278194567b9e1a25058958.zip
o Generating Intel quark D2000 header in source to make it easier to look at the source tree.
-rw-r--r--examples/intel-quark-d2000/CMakeLists.txt3
-rw-r--r--examples/intel-quark-d2000/schematic.h15
2 files changed, 17 insertions, 1 deletions
diff --git a/examples/intel-quark-d2000/CMakeLists.txt b/examples/intel-quark-d2000/CMakeLists.txt
index 4c0ef68..e139440 100644
--- a/examples/intel-quark-d2000/CMakeLists.txt
+++ b/examples/intel-quark-d2000/CMakeLists.txt
@@ -1,7 +1,8 @@
kicad_gen(
TARGET schematic.h
NET schematic/intel-quark-d2000.net
- REF U1)
+ REF U1
+ IN_SOURCE)
if (FALSE)
# If you have Intel Quark support for CMake something like this would work:
diff --git a/examples/intel-quark-d2000/schematic.h b/examples/intel-quark-d2000/schematic.h
new file mode 100644
index 0000000..3ca8e86
--- /dev/null
+++ b/examples/intel-quark-d2000/schematic.h
@@ -0,0 +1,15 @@
+#ifndef SCHEMATIC_H
+#define SCHEMATIC_H
+
+/*
+THIS FILE IS GENERATED. DO NOT EDIT.
+
+Generated from schematic for reference U1, part INTEL_QUARK_D2000 in library kicad_utils.
+*/
+
+#include <stddef.h>
+
+static const uint8_t SCHEMATIC_STATUS_LED = 15;
+static const uint8_t SCHEMATIC_PUSH_BUTTON = 11;
+
+#endif // SCHEMATIC_H