File tree Expand file tree Collapse file tree 2 files changed +53
-0
lines changed Expand file tree Collapse file tree 2 files changed +53
-0
lines changed Original file line number Diff line number Diff line change
1
+ .TH ARD-RESET-ARDUINO "1" "April 2014" "ard-reset-arduino 1.3.2" "Arduino CLI Reset"
2
+
3
+ .SH NAME
4
+ ard-reset-arduino \- Reset Arduino board
5
+
6
+ .SH SYNOPSIS
7
+ .B ard-reset-arduino
8
+ [OPTION]... [PORT]
9
+
10
+ .SH DESCRIPTION
11
+ To reset Arduinos, we either pulse the DTR line or open the USB port
12
+ at 1200 baud and close it again.
13
+
14
+ .SH OPTIONS
15
+ .B --verbose
16
+ Watch what's going on on STDERR.
17
+
18
+ .B --period
19
+ Specify the DTR pulse width in seconds.
20
+
21
+ .B --caterina
22
+ Reset a Leonardo, Micro, Robot, LilyPadUSB or similar 32u4-based device.
23
+
24
+ .SH EXAMPLES
25
+ ard-reset-arduino /dev/ttyACM0
26
+ .PP
27
+ ard-reset-arduino --verbose --period=0.1 /dev/cu.usb*
28
+ .PP
29
+ ard-reset-arduino --verbose --caterina /dev/ttyUSB0
30
+
31
+ .SH BUGS
32
+ There are no known bugs in this application. Please report problems
33
+ to the author. Patches are welcome.
34
+
35
+ .SH AUTHOR
36
+ Simon John, git@the-jedi.co.uk
37
+
38
+ .SH LICENSE
39
+ Copyright (c) 2014, Simon John. All rights reserved.
40
+ .PP
41
+ This file is free software; you can redistribute it and/or modify it
42
+ under the terms of the GNU Lesser General Public License as published
43
+ by the Free Software Foundation; either version 2.1 of the License, or
44
+ (at your option) any later version.
45
+ .PP
46
+ This program is distributed in the hope that it will be useful, but
47
+ WITHOUT ANY WARRANTY; without even the implied warranty of
48
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ Arduino platform.
27
27
%install
28
28
mkdir -p %{buildroot }/%{_datadir }/arduino
29
29
mkdir -p %{buildroot }/%{_bindir }
30
+ mkdir -p %{buildroot }/%{_mandir }/man1
30
31
mkdir -p %{buildroot }/%{_docdir }/%{name }/examples
31
32
install -m 755 -d %{buildroot }/%{_docdir }/%{name }
32
33
install -m 755 -d %{buildroot }/%{_docdir }/%{name }/examples
@@ -35,20 +36,24 @@ for file in `find examples -type f ! -name .gitignore` ; do install -m 644 $file
35
36
install -m 644 * .mk arduino-mk-vars.md %{buildroot }/%{_datadir }/arduino
36
37
install -m 644 licence.txt %{buildroot }/%{_docdir }/%{name }
37
38
install -m 755 bin/ard-reset-arduino %{buildroot }/%{_bindir }/ard-reset-arduino
39
+ install -m 644 ard-reset-arduino.1 %{buildroot }/%{_mandir }/man1
38
40
39
41
%clean
40
42
rm -rf %{buildroot }
41
43
42
44
%files
43
45
%defattr(-,root,root,-)
44
46
%{_bindir }/ard-reset-arduino
47
+ %{_mandir }/man1/ard-reset-arduino.1*
45
48
%{_datadir }/arduino/* .mk
46
49
%{_datadir }/arduino/arduino-mk-vars.md
47
50
%doc %{_docdir }/%{name }/licence.txt
48
51
%docdir %{_docdir }/%{name }/examples
49
52
%{_docdir }/%{name }/examples
50
53
51
54
%changelog
55
+ * Sat Apr 12 2014 Simon John <git@the-jedi.co.uk>
56
+ - Put manpage back.
52
57
* Fri Apr 04 2014 Simon John <git@the-jedi.co.uk>
53
58
- Removed BuildRequires of python3/pyserial.
54
59
* Wed Apr 02 2014 Simon John <git@the-jedi.co.uk>
You can’t perform that action at this time.
0 commit comments