npk.yml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. ## Package Base Information
  2. name: app-nsdk_rtthread_smode_demo
  3. owner: nuclei
  4. version:
  5. description: S-Mode RTThread Task Demo
  6. type: app
  7. keywords:
  8. - rtthread
  9. - task demo
  10. - tee
  11. category: rtthread application
  12. license:
  13. homepage:
  14. ## Package Dependency
  15. dependencies:
  16. - name: sdk-nuclei_sdk
  17. version:
  18. - name: osp-nsdk_rtthread
  19. version:
  20. ## Package Configurations
  21. configuration:
  22. app_commonflags:
  23. # SMODE_RTOS is required and S-Mode is required
  24. # SSTC could be optional, but we recommended for tee scenario
  25. # REQUIRE: SMODE, ECLIC, SYSTIMER
  26. # OPTIONAL: SSTC
  27. value: -O3 -DSMODE_RTOS -DXLCFG_SMODE=1 -DXLCFG_SSTC=1
  28. type: text
  29. description: Application Compile Flags
  30. ## Set Configuration for other packages
  31. setconfig:
  32. - config: rtthread_msh
  33. value: 0
  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}