Creating Custom Applications

TI-OpenThread Stack-based system designers must have a firm grasp on the general system architecture, application, and TI-OpenThread Stack framework to implement a custom application. This section provides indications on where and how to start writing a custom application, and to decide which role and purpose the custom application should have.

Adding a Board File

After selecting the reference application and preprocessor symbol, add a board file that matches the custom board layout. The following steps provide guidance on adding a custom board file to the project.

  1. Create a custom board file (TI recommends using the Launchpad module board files as a starting reference).
  2. Modify the PIN structure.
  3. Add peripheral driver initialization objects, according to the board design.
  4. Include files from the folder of the start-up application.
  5. Add the custom board file to the application project.
  6. Update the C compiler search path of the IDE to point to the header file of the new board file.
  7. Define an identifier for the new board file.
  8. Rebuild the application project.

Configuring OpenThread Parameters

Creating Additional Tasks

Many implementations can use the RTOS environment to operate in the application task framework. However, if the system design requires an additional RTOS task, see Tasks for guidance on adding a task.