npk.yml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. ## Package Base Information
  2. name: app-nsdk_demo_clint_timer
  3. owner: nuclei
  4. version:
  5. description: SysTimer interrupt demo working in CLINT interrupt mode
  6. type: app
  7. keywords:
  8. - app
  9. - risc-v
  10. license:
  11. homepage:
  12. ## Package Dependency
  13. dependencies:
  14. - name: sdk-nuclei_sdk
  15. version:
  16. ## Package Configurations
  17. configuration:
  18. app_commonflags:
  19. # REQUIRE: SYSTIMER
  20. value:
  21. type: text
  22. description: Application Compile Flags
  23. ## Set Configuration for other packages
  24. setconfig:
  25. # Disable ECLIC v2 hardware context auto save and restore
  26. # for CLINT/PLIC interrupt mode
  27. - config: eclic_hwctx
  28. value: 0
  29. ## Source Code Management
  30. codemanage:
  31. copyfiles:
  32. - path: ["*.c", "*.h"]
  33. incdirs:
  34. - path: ["./"]
  35. libdirs:
  36. ldlibs:
  37. - libs:
  38. ## Build Configuration
  39. buildconfig:
  40. - type: gcc
  41. common_flags: # flags need to be combined together across all packages
  42. - flags: ${app_commonflags}
  43. ldflags:
  44. cflags:
  45. asmflags:
  46. cxxflags:
  47. prebuild_steps: # could be override by app/bsp type
  48. command:
  49. description:
  50. postbuild_steps: # could be override by app/bsp type
  51. command:
  52. description: