Community news, upcoming events and general discussions
Threads: 34 Posts: 85
Get technical support from the community
Threads: 1251 Posts: 6913
Threads: 16 Posts: 58
Tell us how to make XDK better!
Threads: 35 Posts: 117
Share and discuss community member projects
Threads: 67 Posts: 296
We would like to get streaming data - over USB - from the XDK. Then, on the Windows host, we would like to read the sensor output values (sent to stdout using printf statements). The sensor readings (from stdout) will be read using a Python program. Python can read stdout from Windows executables.
I have seen and ran the example projects. And I know that the Makefile is used to compile the code and it produces different targets. In the Workbench, the Binaries folder has the .out file, a .cfx file and several .elf files.
The documentation says that XDK_APP_EXECUTABLE_NAME may be used to set the name of the resulting output file. However, XDK_APP_EXECUTABLE_NAME is not used in the example projects.
1>> Can the Wordbench compiler be configured to produce a Windows 64 bit executable file?
2>> If so, how do we configure it to do that?
Ghassan [Guss-an] Hariz.
Thanks for the detailed reply. Data can be seen in Putty terminal program.
The XDK USB Guide (section 3.4 USB as Application Interface), does say that USB may be used to send and receive data from an endpoint application running on a USB host device.
So what you are saying is that the Workbench cannot be used to build such endpoint applications. It is just used to program the XDK.