From 128e53d220d97225803d61d86f8e43439563181d Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Tue, 26 Jul 2016 00:22:55 +0200 Subject: 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. --- examples/arduino-led/schematic/arduino-led.sch | 101 +++++++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 examples/arduino-led/schematic/arduino-led.sch (limited to 'examples/arduino-led/schematic/arduino-led.sch') diff --git a/examples/arduino-led/schematic/arduino-led.sch b/examples/arduino-led/schematic/arduino-led.sch new file mode 100644 index 0000000..642cd4b --- /dev/null +++ b/examples/arduino-led/schematic/arduino-led.sch @@ -0,0 +1,101 @@ +EESchema Schematic File Version 2 +LIBS:power +LIBS:device +LIBS:transistors +LIBS:conn +LIBS:linear +LIBS:regul +LIBS:74xx +LIBS:cmos4000 +LIBS:adc-dac +LIBS:memory +LIBS:xilinx +LIBS:microcontrollers +LIBS:dsp +LIBS:microchip +LIBS:analog_switches +LIBS:motorola +LIBS:texas +LIBS:intel +LIBS:audio +LIBS:interface +LIBS:digital-audio +LIBS:philips +LIBS:display +LIBS:cypress +LIBS:siliconi +LIBS:opto +LIBS:atmel +LIBS:contrib +LIBS:valves +LIBS:kicad_utils +LIBS:arduino+mod-lcd3310-cache +EELAYER 25 0 +EELAYER END +$Descr A4 11693 8268 +encoding utf-8 +Sheet 1 1 +Title "" +Date "" +Rev "" +Comp "" +Comment1 "" +Comment2 "" +Comment3 "" +Comment4 "" +$EndDescr +$Comp +L ARDUINO_UNO U1 +U 1 1 57913050 +P 5250 3750 +F 0 "U1" H 5250 3750 60 0000 C CNN +F 1 "ARDUINO_UNO" H 5250 3850 60 0000 C CNN +F 2 "" H 5250 3750 60 0000 C CNN +F 3 "" H 5250 3750 60 0000 C CNN + 1 5250 3750 + 1 0 0 -1 +$EndComp +$Comp +L GND #PWR1 +U 1 1 579130D3 +P 7100 5200 +F 0 "#PWR1" H 7100 4950 50 0001 C CNN +F 1 "GND" H 7100 5050 50 0000 C CNN +F 2 "" H 7100 5200 50 0000 C CNN +F 3 "" H 7100 5200 50 0000 C CNN + 1 7100 5200 + 1 0 0 -1 +$EndComp +Wire Wire Line + 6000 4050 7100 4050 +Wire Wire Line + 7100 4050 7100 4150 +$Comp +L R R1 +U 1 1 579130F0 +P 7100 4300 +F 0 "R1" V 7180 4300 50 0000 C CNN +F 1 "R" V 7100 4300 50 0000 C CNN +F 2 "" V 7030 4300 50 0000 C CNN +F 3 "" H 7100 4300 50 0000 C CNN + 1 7100 4300 + 1 0 0 -1 +$EndComp +$Comp +L LED D1 +U 1 1 5791311D +P 7100 4750 +F 0 "D1" H 7100 4850 50 0000 C CNN +F 1 "LED" H 7100 4650 50 0000 C CNN +F 2 "" H 7100 4750 50 0000 C CNN +F 3 "" H 7100 4750 50 0000 C CNN + 1 7100 4750 + 0 -1 -1 0 +$EndComp +Wire Wire Line + 7100 4450 7100 4550 +Wire Wire Line + 7100 4950 7100 5200 +Text Label 6400 4050 0 60 ~ 0 +STATUS_LED +$EndSCHEMATC -- cgit v1.2.3