npk.yml 1015 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. # REQUIRE: ECLIC, SYSTIMER
  23. value: -O2 -DTX_INCLUDE_USER_DEFINE_FILE
  24. type: text
  25. description: Application Compile Flags
  26. ## Set Configuration for other packages
  27. setconfig:
  28. ## Source Code Management
  29. codemanage:
  30. copyfiles:
  31. - path: ["*.c", "*.h"]
  32. incdirs:
  33. - path: ["./"]
  34. libdirs:
  35. ldlibs:
  36. - libs:
  37. ## Build Configuration
  38. buildconfig:
  39. - type: common
  40. common_flags: # flags need to be combined together across all packages
  41. - flags: ${app_commonflags}
  42. - type: gcc
  43. common_flags:
  44. # -fno-tree-tail-merge is required > O1 optimization level case
  45. - flags: -fno-tree-tail-merge