npk.yml 879 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. ## Package Base Information
  2. name: osp-nsdk_freertos
  3. owner: nuclei
  4. version: 11.1.0
  5. description: FreeRTOS Port Package for Nuclei SDK
  6. type: osp
  7. keywords:
  8. - rtos
  9. - risc-v
  10. license: MIT
  11. homepage: https://freertos.org/
  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: FreeRTOS
  21. copyfiles:
  22. - path: ["Source/*.c", "Source/portable/MemMang/heap_4.c", "Source/include"]
  23. - path: ["Source/portable/port.c", "Source/portable/portmacro.h"]
  24. - path: ["Source/portable/GCC"]
  25. incdirs:
  26. - path: ["Source/include", "Source/portable"]
  27. libdirs:
  28. ldlibs:
  29. ## Build Configuration
  30. buildconfig:
  31. - type: common
  32. common_defines:
  33. - defines: RTOS_FREERTOS
  34. - defines: configNUMBER_OF_CORES=${nuclei_smp}
  35. condition: $( ${nuclei_smp} > 1 )