12/16/2023 0 Comments Sourcetree custom action copy logIf you like the random collection of stuff in the apps/ directory but just want to expand the existing components with your own, external sub-directory then there is an easy way to that too: You just create a sympolic link in the apps/ directory that redirects to your application sub-directory (or copy your code into a sub-directory of apps/). This is documented in nuttx/boards/README.txt, in the NuttX Porting Guide and Build options, and in the apps/README.txt file. You can copy any pieces that you like from the old apps/directory to your custom apps directory as necessary. Note that CONFIG_APPS_DIR is a relative path from the top-level nuttx/ directory. config file so that it points to a different, custom application directory. To use a different apps directory, simply execute make menuconfig in the top-level nuttx/ directory and redefine CONFIG_APPS_DIR in your. It should not dictate anything that that you do. The apps/ is simply provided for you to help with your application development. You can replace the entire apps/ directory. This make target is documented in the top level nuttx/README.txt. You can even build NuttX under a DOS CMD window. zip file into any build environment you want. It will build NuttX, then bundle all of the header files, libaries, startup objects, and other build components into a. There is a make target called make export. Q: Has anyone come up with a tidy way to build NuttX with board-specific pieces outside the source tree? A: Here are four: 1.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |