npk.yml 984 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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}
  41. - type: gcc
  42. common_flags:
  43. # -fno-tree-tail-merge is required > O1 optimization level case
  44. - flags: -fno-tree-tail-merge