projects
/
x300-pci
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
765a058
)
skip commented lines in project_file
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 6 Jul 2016 09:37:42 +0000
(11:37 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 6 Jul 2016 09:37:42 +0000
(11:37 +0200)
openocd-jtag-boundary-scan.pl
patch
|
blob
|
history
diff --git
a/openocd-jtag-boundary-scan.pl
b/openocd-jtag-boundary-scan.pl
index
3634bbe
..
d16f465
100755
(executable)
--- a/
openocd-jtag-boundary-scan.pl
+++ b/
openocd-jtag-boundary-scan.pl
@@
-127,6
+127,7
@@
foreach my $pin_file ( glob "pins/$entity*.tsv" ) {
while(<$fh>) {
chomp;
s/[\r\n]+$//;
+ next if m/^\s*#/;
my ($set,$pin, $op, $desc) = split(/\s+/,$_,4);
if ( $set =~ m/set_location_assignment/i && $op =~ m/-to/i && $pin =~ s/^PIN_//ig ) {
$pin_desc->{$pin} = $desc; # overwrite pin description