app.json 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  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. "parallel" : "-j",
  18. "build_target": "clean all",
  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_cidu",
  31. "application/baremetal/demo_nice",
  32. "application/baremetal/dsp_examples",
  33. "application/baremetal/Internal"
  34. ],
  35. "appconfig": {
  36. "application/baremetal/benchmark/dhrystone": {
  37. "build_config" : {},
  38. "checks": {
  39. "PASS": ["CSV, Dhrystone"]
  40. }
  41. },
  42. "application/baremetal/benchmark/whetstone": {
  43. "build_config" : {},
  44. "checks": {
  45. "PASS": ["CSV, Whetstone"]
  46. }
  47. },
  48. "application/baremetal/benchmark/coremark": {
  49. "build_config" : {},
  50. "checks": {
  51. "PASS": ["CSV, CoreMark"]
  52. }
  53. },
  54. "application/baremetal/demo_timer": {
  55. "build_config" : {},
  56. "checks": {
  57. "PASS": ["MTimer msip and mtip interrupt test finish and pass"]
  58. }
  59. },
  60. "application/baremetal/helloworld": {
  61. "build_config" : {},
  62. "checks": {
  63. "PASS": ["19: Hello World From Nuclei RISC-V Processor!"]
  64. }
  65. },
  66. "application/baremetal/empty": {
  67. "build_config" : {},
  68. "checks": {
  69. "PASS": ["CPU HartID"]
  70. }
  71. },
  72. "application/baremetal/demo_eclic": {
  73. "build_config" : {},
  74. "checks": {
  75. "PASS": ["software interrupt hit 5 times"]
  76. }
  77. },
  78. "application/baremetal/demo_extirq": {
  79. "build_config" : {},
  80. "checks": {
  81. "PASS": ["You can press any key now to trigger uart receive interrupt"]
  82. }
  83. },
  84. "application/baremetal/demo_irqc": {
  85. "build_config" : {},
  86. "checks": {
  87. "PASS": ["IRQC Demo finished sucessfully in 20 loops"]
  88. }
  89. },
  90. "application/baremetal/demo_smode_eclic": {
  91. "build_config" : {},
  92. "checks": {
  93. "PASS": ["[IN S-MODE SOFTWARE INTERRUPT]software interrupt hit 10 times", "[ERROR]__TEE_PRESENT must be defined as 1"]
  94. }
  95. },
  96. "application/baremetal/demo_spmp": {
  97. "build_config" : {},
  98. "checks": {
  99. "PASS": ["Won't run here if violates L U\\R\\W\\X permission check!", "[ERROR]__TEE_PRESENT must be defined as 1"]
  100. }
  101. },
  102. "application/baremetal/demo_cache": {
  103. "build_config" : {},
  104. "checks": {
  105. "PASS": ["[ERROR]__CCM_PRESENT must be defined as 1 in <Device>.h!"]
  106. }
  107. },
  108. "application/baremetal/demo_cidu": {
  109. "build_config" : {},
  110. "checks": {
  111. "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"]
  112. }
  113. },
  114. "application/baremetal/demo_pmp": {
  115. "build_config" : {},
  116. "checks": {
  117. "PASS": ["Won't run here if violates L R\\W\\X permission check!"]
  118. }
  119. },
  120. "application/baremetal/demo_nice": {
  121. "build_config" : {},
  122. "checks": {
  123. "PASS": ["PASS"],
  124. "FAIL": ["FAIL", "MEPC"]
  125. }
  126. },
  127. "application/baremetal/smphello": {
  128. "build_config" : {},
  129. "checks": {
  130. "PASS": ["All harts boot successfully!"]
  131. }
  132. },
  133. "application/baremetal/lowpower": {
  134. "build_config" : {},
  135. "checks": {
  136. "PASS": ["CSV, WFI Cost,"]
  137. }
  138. },
  139. "application/baremetal/demo_dsp": {
  140. "build_config" : {},
  141. "checks": {
  142. "PASS": ["all test are passed"],
  143. "FAIL": ["test error apprears", "MEPC"]
  144. }
  145. },
  146. "application/freertos/demo": {
  147. "build_config" : {},
  148. "checks": {
  149. "PASS": ["timers Callback 3"]
  150. }
  151. },
  152. "application/rtthread/demo": {
  153. "build_config" : {},
  154. "checks": {
  155. "PASS": ["Main thread count: 3"]
  156. }
  157. },
  158. "application/rtthread/msh": {
  159. "build_config" : {},
  160. "checks": {
  161. "PASS": ["msh >", "Hello RT-Thread!"]
  162. }
  163. },
  164. "application/ucosii/demo": {
  165. "build_config" : {},
  166. "checks": {
  167. "PASS": ["task3 is running... 3"]
  168. }
  169. },
  170. "test/core": {
  171. "build_config" : {},
  172. "checks": {
  173. "PASS": [", 0 failed"],
  174. "FAIL": ["[FAIL]", "MEPC"]
  175. }
  176. },
  177. "application/baremetal/demo_stack_check": {
  178. "build_config" : {},
  179. "checks": {
  180. "PASS": ["Stack check demo over"]
  181. }
  182. },
  183. "application/baremetal/cpuinfo": {
  184. "build_config" : {},
  185. "checks": {
  186. "PASS": ["End of Nuclei CPU INFO"]
  187. }
  188. }
  189. }
  190. }