app.json 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. {
  2. "run_config": {
  3. "target" : "hardware",
  4. "hardware" : {
  5. "baudrate": 115200,
  6. "timeout": 60
  7. },
  8. "qemu": {
  9. "qemu32": "qemu-system-riscv32",
  10. "qemu64": "qemu-system-riscv64",
  11. "timeout": 60
  12. },
  13. "ncycm": {
  14. "timeout": 1200
  15. }
  16. },
  17. "build_target": "clean all",
  18. "parallel" : "-j",
  19. "build_config": {
  20. },
  21. "checks": {
  22. "PASS": [],
  23. "FAIL": ["MEPC"]
  24. },
  25. "appdirs": [
  26. "application"
  27. ],
  28. "appdirs_ignore": [
  29. "application/baremetal/smphello",
  30. "application/baremetal/demo_profiling",
  31. "application/baremetal/demo_cidu",
  32. "application/baremetal/demo_nice",
  33. "application/baremetal/demo_vnice",
  34. "application/baremetal/dsp_examples",
  35. "application/freertos/smpdemo",
  36. "application/baremetal/Internal"
  37. ],
  38. "appconfig": {
  39. "application/baremetal/benchmark/dhrystone": {
  40. "build_config" : {},
  41. "checks": {
  42. "PASS": ["CSV, Dhrystone"]
  43. }
  44. },
  45. "application/baremetal/benchmark/whetstone": {
  46. "build_config" : {},
  47. "checks": {
  48. "PASS": ["CSV, Whetstone"]
  49. }
  50. },
  51. "application/baremetal/benchmark/coremark": {
  52. "build_config" : {},
  53. "checks": {
  54. "PASS": ["CSV, CoreMark"]
  55. }
  56. },
  57. "application/baremetal/demo_timer": {
  58. "build_config" : {},
  59. "checks": {
  60. "PASS": ["MTimer msip and mtip interrupt test finish and pass"]
  61. }
  62. },
  63. "application/baremetal/demo_clint_timer": {
  64. "build_config" : {},
  65. "checks": {
  66. "PASS": ["test finish and pass"]
  67. }
  68. },
  69. "application/baremetal/empty": {
  70. "build_config" : {},
  71. "checks": {
  72. "PASS": ["CPU HartID"]
  73. }
  74. },
  75. "application/baremetal/helloworld": {
  76. "build_config" : {},
  77. "checks": {
  78. "PASS": ["19: Hello World From Nuclei RISC-V Processor!"]
  79. }
  80. },
  81. "application/baremetal/demo_eclic": {
  82. "build_config" : {},
  83. "checks": {
  84. "PASS": ["software interrupt hit 5 times"]
  85. }
  86. },
  87. "application/baremetal/demo_smode_eclic": {
  88. "build_config" : {},
  89. "checks": {
  90. "PASS": ["[IN S-MODE SOFTWARE INTERRUPT]software interrupt hit 10 times", "[ERROR]__TEE_PRESENT"]
  91. }
  92. },
  93. "application/baremetal/demo_plic": {
  94. "build_config" : {"XLCFG_PLIC": "1"},
  95. "checks": {
  96. "PASS": ["You can press any key now", "[ERROR]__PLIC_PRESENT", "PLIC is not present"]
  97. }
  98. },
  99. "application/baremetal/demo_spmp": {
  100. "build_config" : {},
  101. "checks": {
  102. "PASS": ["Won't run here if violates L U\\R\\W\\X permission check!", "[ERROR]__TEE_PRESENT"]
  103. }
  104. },
  105. "application/baremetal/demo_smpu": {
  106. "build_config" : {},
  107. "checks": {
  108. "PASS": ["Won't run here if violates rules check!", "[ERROR]__TEE_PRESENT"]
  109. }
  110. },
  111. "application/baremetal/demo_cache": {
  112. "build_config" : {},
  113. "checks": {
  114. "PASS": ["[ERROR]__CCM_PRESENT must be defined as 1 in <Device>.h!"]
  115. }
  116. },
  117. "application/baremetal/demo_cidu": {
  118. "build_config" : {},
  119. "checks": {
  120. "PASS": ["[ERROR]__CIDU_PRESENT must be defined as 1 in <Device>.h!", "Core 1 has received interrupt from core 0", "[WARN] SMP & CIDU not present"]
  121. }
  122. },
  123. "application/baremetal/demo_pmp": {
  124. "build_config" : {},
  125. "checks": {
  126. "PASS": ["Won't run here if violates L R\\W\\X permission check!"]
  127. }
  128. },
  129. "application/baremetal/demo_nice": {
  130. "build_config" : {},
  131. "checks": {
  132. "PASS": ["PASS"],
  133. "FAIL": ["FAIL", "MEPC"]
  134. }
  135. },
  136. "application/baremetal/smphello": {
  137. "build_config" : {},
  138. "checks": {
  139. "PASS": ["All harts boot successfully!"]
  140. }
  141. },
  142. "application/baremetal/lowpower": {
  143. "build_config" : {},
  144. "checks": {
  145. "PASS": ["CSV, WFI Cost,"]
  146. }
  147. },
  148. "application/baremetal/demo_dsp": {
  149. "build_config" : {},
  150. "checks": {
  151. "PASS": ["all test are passed"],
  152. "FAIL": ["test error apprears", "MEPC"]
  153. }
  154. },
  155. "application/freertos/demo": {
  156. "build_config" : {},
  157. "checks": {
  158. "PASS": ["timers Callback 3"]
  159. }
  160. },
  161. "application/rtthread/demo": {
  162. "build_config" : {},
  163. "checks": {
  164. "PASS": ["Main thread count: 3"]
  165. }
  166. },
  167. "application/rtthread/msh": {
  168. "build_config" : {},
  169. "checks": {
  170. "PASS": ["msh >", "Hello RT-Thread!"]
  171. }
  172. },
  173. "application/ucosii/demo": {
  174. "build_config" : {},
  175. "checks": {
  176. "PASS": ["task3 is running... 3"]
  177. }
  178. },
  179. "application/threadx/demo": {
  180. "build_config" : {},
  181. "checks": {
  182. "PASS": ["thread 6_7 is running, current is 7, thread 6 counter 9, thread 7 counter 8"]
  183. }
  184. },
  185. "test/core": {
  186. "build_config" : {},
  187. "checks": {
  188. "PASS": [", 0 failed"],
  189. "FAIL": ["[FAIL]", "MEPC"]
  190. }
  191. },
  192. "application/baremetal/demo_stack_check": {
  193. "build_config" : {},
  194. "checks": {
  195. "PASS": ["Stack check demo over"]
  196. }
  197. },
  198. "application/baremetal/cpuinfo": {
  199. "build_config" : {},
  200. "checks": {
  201. "PASS": ["End of Nuclei CPU INFO"]
  202. }
  203. }
  204. }
  205. }