STM Linux Device Driver

From Texas Instruments Embedded Processors Wiki

Jump to: navigation, search
Translate this page to   

Contents

Linux Device Driver for STM

How to build and run the STM Linux driver for Android on Blaze

  • Follow the steps in the README.txt file to build the kernel module.
  • You need to first install the busybox command line tools. See this article.
  • Following the instructions in the README.txt on how to install the kernel module.

Demo

Note: You would need Adobe Shockwave player/plugin to play this video.

Example Use

     /home/usr1>ls -l > /dev/stm1
     fd1 = open("/dev/stm1", O_WRONLY);  /* STM channel 1 for thread1 */

     /* in thread1, send data over dedicated channel */
     strcpy(data1, "From STM test application – thread1.\n");
     rtn = write(fd1, data1, strlen(data1));

Status and Download

Hints and Tips

Leave a Comment
Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox