npk.yml 846 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. ## Package Base Information
  2. name: app-nsdk_threadx_demo
  3. owner: nuclei
  4. version:
  5. description: ThreadX Task Demo
  6. type: app
  7. keywords:
  8. - threadx
  9. - task demo
  10. category: threadx application
  11. license: MIT
  12. homepage:
  13. ## Package Dependency
  14. dependencies:
  15. - name: sdk-nuclei_sdk
  16. version:
  17. - name: osp-nsdk_threadx
  18. version:
  19. ## Package Configurations
  20. configuration:
  21. app_commonflags:
  22. value: -O2 -DTX_INCLUDE_USER_DEFINE_FILE
  23. type: text
  24. description: Application Compile Flags
  25. ## Set Configuration for other packages
  26. setconfig:
  27. ## Source Code Management
  28. codemanage:
  29. copyfiles:
  30. - path: ["*.c", "*.h"]
  31. incdirs:
  32. - path: ["./"]
  33. libdirs:
  34. ldlibs:
  35. - libs:
  36. ## Build Configuration
  37. buildconfig:
  38. - type: common
  39. common_flags: # flags need to be combined together across all packages
  40. - flags: ${app_commonflags}