summaryrefslogtreecommitdiffstats
path: root/rules/pyserial.in
diff options
context:
space:
mode:
authorJuergen Beisert <jbe@pengutronix.de>2011-12-25 19:20:43 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-01-04 11:02:08 +0100
commite7e45fc758fa8846cd451e2d490ab12410ca6817 (patch)
tree4ba4b3858f82eecab99c527143169ce39b3e7afc /rules/pyserial.in
parent294c7ac8f0344d39803b026e16b8dc112c87acd0 (diff)
downloadptxdist-e7e45fc758fa8846cd451e2d490ab12410ca6817.tar.gz
ptxdist-e7e45fc758fa8846cd451e2d490ab12410ca6817.tar.xz
Python/pyserial: add serial/UART module feature
Add operating system independent UART handling to the Python interpreter. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/pyserial.in')
-rw-r--r--rules/pyserial.in41
1 files changed, 41 insertions, 0 deletions
diff --git a/rules/pyserial.in b/rules/pyserial.in
new file mode 100644
index 000000000..c67a69bac
--- /dev/null
+++ b/rules/pyserial.in
@@ -0,0 +1,41 @@
+## SECTION=python
+
+menuconfig PYSERIAL
+ tristate
+ select PYTHON
+ prompt "pyserial "
+ help
+ This module encapsulates the access for the serial port. It provides
+ backends for Python running on Windows, Linux, BSD (possibly any
+ POSIX compliant system), Jython and IronPython (.NET and Mono). The
+ module named "serial" automatically selects the appropriate backend.
+
+ - Project Homepage: http://pyserial.sourceforge.net
+ - Project page on SourceForge: http://sourceforge.net/projects/pyserial/
+ - SVN repository: http://sourceforge.net/svn/?group_id=46487
+ - Download Page: http://sourceforge.net/project/showfiles.php?group_id=46487
+
+if PYSERIAL
+
+config PYSERIAL_MINITERM
+ bool
+ prompt "Install 'miniterm'"
+ help
+ Install the miniterm script coming with this package.
+
+config PYSERIAL_EXAMPLES
+ bool
+ prompt "Install usage examples"
+ help
+ Install the examples coming with this package (for example a serial
+ to network forwarder).
+
+config PYSERIAL_TESTS
+ bool
+ prompt "Install test scripts"
+ help
+ Install the test scripts coming with this package. They could be useful
+ to check if the installation is complete and working. So, they are
+ more for development or debugging. Nothing really required.
+
+endif