LEON3_LOAD.py
12 lines
| 391 B
| text/x-python
|
PythonLexer
Jeandet Alexis
|
r15 | #!/usr/bin/socexplorer -e | ||
Jeandet Alexis
|
r0 | |||
proxy.loadSysDriver("AHBUARTplugin","AHBUART"); | ||||
proxy.loadSysDriverToParent("dsu3plugin","AHBUART"); | ||||
Jeandet Alexis
|
r15 | proxy.loadSysDriverToParent("APB_UART_PLUGIN","AHBUART"); | ||
Jeandet Alexis
|
r0 | AHBUART.open("/dev/ttyUSB0",30000000) | ||
FILE=QtGui.QFileDialog.getOpenFileName() | ||||
if FILE!="": | ||||
dsu3plugin0.openFile(FILE) | ||||
dsu3plugin0.loadFile() | ||||
dsu3plugin0.run() | ||||
print "File loaded and running" | ||||