npk.yml 941 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. ## Package Base Information
  2. name: osp-nsdk_rtthread
  3. version: 3.1.3
  4. owner: nuclei
  5. description: RT-Thread Nano
  6. type: osp
  7. keywords:
  8. - rtos
  9. - risc-v
  10. license: Apache-2.0
  11. homepage: https://github.com/RT-Thread/rtthread-nano
  12. ## Package Dependency
  13. dependencies:
  14. - name: sdk-nuclei_sdk
  15. version:
  16. ## Package Configurations
  17. configuration:
  18. rtthread_msh:
  19. default_value: 0
  20. type: checkbox
  21. global: false
  22. description: Select RT-Thread MSH Component
  23. ## Source Code Management
  24. codemanage:
  25. installdir: RTThread
  26. copyfiles:
  27. - path: ["src", "libcpu/risc-v/nuclei", "include"]
  28. - path: ["components/finsh"]
  29. condition: $( ${rtthread_msh} == 1 )
  30. incdirs:
  31. - path: ["include", "include/libc", "libcpu/risc-v/nuclei"]
  32. - path: ["components/finsh"]
  33. condition: $( ${rtthread_msh} == 1 )
  34. libdirs:
  35. ldlibs:
  36. ## Build Configuration
  37. buildconfig:
  38. - type: gcc
  39. common_defines:
  40. - defines: RTOS_RTTHREAD