app.json 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. {
  2. "run_config": {
  3. "target" : "hardware",
  4. "hardware" : {
  5. "baudrate": 115200,
  6. "timeout": 120
  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", "ERROR"]
  24. },
  25. "appdirs": [
  26. "application/baremetal/smphello",
  27. "application/baremetal/demo_cidu",
  28. "application/baremetal/demo_smpcc",
  29. "application/freertos/smpdemo",
  30. "application/threadx/smpdemo"
  31. ],
  32. "appdirs_ignore": [
  33. ],
  34. "appconfig": {
  35. "application/baremetal/demo_cidu": {
  36. "build_config" : {"XLCFG_CIDU": "1"},
  37. "checks": {
  38. "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"]
  39. }
  40. },
  41. "application/freertos/smpdemo": {
  42. "build_config" : {},
  43. "checks": {
  44. "PASS": ["timers Callback 500 on hart"]
  45. }
  46. },
  47. "application/threadx/smpdemo": {
  48. "build_config" : {},
  49. "checks": {
  50. "PASS": ["thread 0 events sent 100, thread 0 cpu"]
  51. }
  52. },
  53. "application/baremetal/smphello": {
  54. "build_config" : {},
  55. "checks": {
  56. "PASS": ["All harts boot successfully!"]
  57. }
  58. },
  59. "application/baremetal/demo_smpcc": {
  60. "build_config": {
  61. "MAX_L2_SIZE_KB": "4096",
  62. "CCM_EN": "1",
  63. "XLCFG_HPM": "1",
  64. "DOWNLOAD": "ddr"
  65. },
  66. "checks": {
  67. "PASS": [
  68. "End of SMPCC demo!",
  69. "SMP feature is not supported!",
  70. "There is no L2 cache or you may run on QEMU!",
  71. "L2 cache is larger than"
  72. ],
  73. "FAIL": [
  74. "MEPC",
  75. "L2 cache size is not a power of 2!"
  76. ]
  77. }
  78. }
  79. }
  80. }