-
Hi, I recently had a successful build for OpenThread as FTD device (cli app) to a new testing platform, and now I want to build as RCP device so that i can integrate with raspberry pi as OTBR. I'm uncertain about the specific configurations required for RCP build. I have tried to follow steps from the following but still looking for the required files to be included in simple RCP build. I am seeking guidance in modifying my FTD build application to include RCP application. Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi @testter2, How did you build your FTD application? I assume you have added your new testing platform under
This doc may help. The key configuration for RCP device is Note that you will also need to update the build script to add the name of your new platform: https://github.com/openthread/openthread/blob/main/script/cmake-build#L70 And of course, you'll need to add cmake files to build the sources of your platform.
BTW, not sure if I understand this, an application can be either FTD or RCP. But cannot be both. |
Beta Was this translation helpful? Give feedback.
-
Hi @Irving-cl my application follows a different structure from the one outlined in https://openthread.io/guides/porting/set-up-the-build-environment#repository_structure I have built FTD App with direct use of Makefiles, So I want to modify the app so that it builds for RCP only not FTD. I plan to take the following steps: Considering these adjustments, I kindly request guidance on the necessary configuration and files essential for RCP build |
Beta Was this translation helpful? Give feedback.
Given that you are using your on build system, take a look at the CMake files, especially around the
OT_RCP
option.