npk.yml 1.1 KB

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