npk.yml 886 B

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