npk.yml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. ## Package Base Information
  2. name: app-nsdk_threadx_smpdemo
  3. owner: nuclei
  4. version:
  5. description: ThreadX SMP Task Demo
  6. type: app
  7. keywords:
  8. - threadx
  9. - smp
  10. - task demo
  11. category: threadx application
  12. license: MIT
  13. homepage:
  14. ## Package Dependency
  15. dependencies:
  16. - name: sdk-nuclei_sdk
  17. version:
  18. - name: osp-nsdk_threadx
  19. version:
  20. ## Package Configurations
  21. configuration:
  22. app_commonflags:
  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. - config: nuclei_smp
  29. value: 2
  30. - config: nuclei_core
  31. value: nx900fd
  32. - config: download_mode
  33. value: sram
  34. ## Source Code Management
  35. codemanage:
  36. copyfiles:
  37. - path: ["*.c", "*.h"]
  38. incdirs:
  39. - path: ["./"]
  40. libdirs:
  41. ldlibs:
  42. - libs:
  43. ## Build Configuration
  44. buildconfig:
  45. - type: common
  46. common_flags: # flags need to be combined together across all packages
  47. - flags: ${app_commonflags}
  48. - type: gcc
  49. common_flags:
  50. # -fno-tree-tail-merge is required > O1 optimization level case
  51. - flags: -fno-tree-tail-merge