Skip to content

Commit

Permalink
Enable serial port access for Python apps:
Browse files Browse the repository at this point in the history
- activate module "serial" in Python
- add user ftc to group "dialout" (which is the group of /dev/ttyUSB0)
  • Loading branch information
TiniTech committed May 22, 2016
1 parent 5936242 commit ade867a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion board/fischertechnik/TXT/user.tab
@@ -1,3 +1,3 @@
- -1 i2c 84 - - - -
ROBOPro 1000 ROBOPro 1000 !=ROBOPro /opt/fischertechnik /bin/sh users,tty,video,audio,i2c
ftc 1001 ftc 1001 - /home/ftc /bin/sh users,tty,video,audio,i2c,sudo,gpio
ftc 1001 ftc 1001 - /home/ftc /bin/sh users,tty,video,audio,i2c,sudo,gpio,dialout
1 change: 1 addition & 0 deletions configs/fischertechnik_TXT_defconfig
Expand Up @@ -176,6 +176,7 @@ BR2_PACKAGE_PYTHON_PYQT=y
BR2_PACKAGE_PYTHON_PYQT_ARCH_USES_QREAL_FLOAT=y
BR2_PACKAGE_PYTHON_PYUSB=y
BR2_PACKAGE_PYTHON_ROBOLT=y
BR2_PACKAGE_PYTHON_SERIAL=y
BR2_PACKAGE_PYTHON_SETUPTOOLS=y
BR2_PACKAGE_PYTHON_SIP=y
BR2_PACKAGE_PYTHON_SMBUS_CFFI=y
Expand Down

0 comments on commit ade867a

Please sign in to comment.