Step 7. Build the Examples

The DT7816 example programs are located in separate directories in the following subdirectory under the TI SDK directory: example-applications/dt78xx-examples/

Each example includes a README.txt file and a makefile.

To build an example program, perform the following steps:

  1. Change to the directory that contains the example that you want to build. For example, if you want to build the web server application, enter the following command:

# cd example-applications/dt78xx-examples/web-server/

  1. To clean up any automatically generated files, enter this command:

# make BOARD_TYPE=DT7816 clean

  1. Enter the following command to build the example in this directory:

# make BOARD_TYPE=DT7816

Note: The sig-analyzer example requires the FFTW library. When you build the sig-analyzer example, use the following command from the sig-analyzer directory, where path is the directory where the FFTW library is installed; refer to the makefile for more information:

# make FFTW_DIR=path

Note:  Linux is an open-source development environment. As such, our example programs may use code from other vendors. This code is for demonstration purposes only. If you want to use this code for commercial purposes, you must ensure that you resolve any licensing issues with the appropriate parties.

Click here to learn how to create an optional Netbeans project for any DT78XX example.

Next, it is recommended that you build the Linux kernel.