This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# Public domain. | |
import argparse | |
import collections | |
import os | |
import sys | |
Library = collections.OrderedDict |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Open On-Chip Debugger 0.9.0-dev-00358-gd3c2679 (2015-04-02-20:03) | |
Licensed under GNU GPL v2 | |
For bug reports, read | |
http://openocd.sourceforge.net/doc/doxygen/bugs.html | |
Info : If you need SWD support, flash KT-Link buffer from https://github.com/bharrisau/busblaster | |
and use dp_busblaster_kt-link.cfg instead | |
Warn : Interface already configured, ignoring | |
Info : auto-selecting first available session transport "jtag". To override use 'transport select <transport>'. | |
adapter speed: 500 kHz | |
adapter_nsrst_delay: 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/eeschema/dialogs/dialog_choose_component.cpp b/eeschema/dialogs/dialog_choose_component.cpp | |
index b16a7a9..7f88dbc 100644 | |
--- a/eeschema/dialogs/dialog_choose_component.cpp | |
+++ b/eeschema/dialogs/dialog_choose_component.cpp | |
@@ -346,6 +346,12 @@ void DIALOG_CHOOSE_COMPONENT::renderPreview( LIB_PART* aComponent, int aUnit ) | |
NEGATE( offset.x ); | |
NEGATE( offset.y ); | |
+ // Avoid rendering when either dimension is zero | |
+ int width, height; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
# Generates a 'sine wave' KiCad schematic symbol, for annotation | |
print("Amplitude (mils)? ") | |
amp = gets.to_i | |
print("Period (mils)? ") | |
per = gets.to_i | |
print("Number of cycles? ") |