npk.yml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. ## Package Base Information
  2. name: osp-nsdk_threadx
  3. owner: nuclei
  4. version: 6.4.1
  5. description: ThreadX Port Package for Nuclei SDK
  6. type: osp
  7. keywords:
  8. - rtos
  9. - risc-v
  10. license: MIT
  11. homepage: https://github.com/eclipse-threadx/threadx
  12. ## Package Dependency
  13. dependencies:
  14. - name: sdk-nuclei_sdk
  15. version:
  16. ## Package Configurations
  17. configuration:
  18. ## Source Code Management
  19. codemanage:
  20. installdir: ThreadX
  21. copyfiles:
  22. - path: ["common", "ports/nuclei/gcc", "ports/nuclei/port.c", "ports/nuclei/tx_port.h"]
  23. condition: $( ${nuclei_smp} == "" || ${nuclei_smp} == 1 )
  24. - path: ["common_smp", "ports_smp/nuclei/gcc", "ports_smp/nuclei/port.c", "ports_smp/nuclei/tx_port.h"]
  25. condition: $( ${nuclei_smp} != "" && ${nuclei_smp} > 1 )
  26. incdirs:
  27. - path: ["common/inc", "ports/nuclei"]
  28. condition: $( ${nuclei_smp} == "" || ${nuclei_smp} == 1 )
  29. - path: ["common_smp/inc", "ports_smp/nuclei"]
  30. condition: $( ${nuclei_smp} != "" && ${nuclei_smp} > 1 )
  31. libdirs:
  32. ldlibs:
  33. ## Build Configuration
  34. buildconfig:
  35. - type: common
  36. common_defines:
  37. - defines: RTOS_THREADX