diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/arduino-led/CMakeLists.txt | 4 | ||||
-rw-r--r-- | examples/arduino-led/schematic.h | 1 | ||||
-rw-r--r-- | examples/intel-quark-d2000/CMakeLists.txt | 4 | ||||
-rw-r--r-- | examples/intel-quark-d2000/schematic.h | 1 |
4 files changed, 4 insertions, 6 deletions
diff --git a/examples/arduino-led/CMakeLists.txt b/examples/arduino-led/CMakeLists.txt index 7bd82af..06ef920 100644 --- a/examples/arduino-led/CMakeLists.txt +++ b/examples/arduino-led/CMakeLists.txt @@ -1,5 +1,5 @@ -kicad_gen( - TARGET schematic.h +kicad_generate_header( + OUTPUT schematic.h NET schematic/arduino-led.net REF U1 IN_SOURCE) diff --git a/examples/arduino-led/schematic.h b/examples/arduino-led/schematic.h index f41a300..c935528 100644 --- a/examples/arduino-led/schematic.h +++ b/examples/arduino-led/schematic.h @@ -11,5 +11,4 @@ namespace schematic { static const int STATUS_LED = 3; static const int ANALOG_LIGHT_1 = 2; } // namespace schematic - #endif // SCHEMATIC_H diff --git a/examples/intel-quark-d2000/CMakeLists.txt b/examples/intel-quark-d2000/CMakeLists.txt index e139440..1822996 100644 --- a/examples/intel-quark-d2000/CMakeLists.txt +++ b/examples/intel-quark-d2000/CMakeLists.txt @@ -1,5 +1,5 @@ -kicad_gen( - TARGET schematic.h +kicad_generate_header( + OUTPUT schematic.h NET schematic/intel-quark-d2000.net REF U1 IN_SOURCE) diff --git a/examples/intel-quark-d2000/schematic.h b/examples/intel-quark-d2000/schematic.h index 62545f0..8bc46ae 100644 --- a/examples/intel-quark-d2000/schematic.h +++ b/examples/intel-quark-d2000/schematic.h @@ -48,5 +48,4 @@ qm_rc_t schematic_PUSH_BUTTON_direction(enum schematic_direction dir) { return qm_gpio_set_config(QM_GPIO_0, &cfg); } - #endif // SCHEMATIC_H |