Просмотр исходного кода

bsp: Add a reminder when dependency packages fail to fetch

zhangshuxun 6 месяцев назад
Родитель
Сommit
c3da935369
100 измененных файлов с 301 добавлено и 200 удалено
  1. 3 2
      bsp/nxp/imx/imx6sx/cortex-a9/SConstruct
  2. 3 2
      bsp/nxp/imx/imx6ul/SConstruct
  3. 3 2
      bsp/nxp/imx/imx6ull-smart/SConstruct
  4. 3 2
      bsp/nxp/imx/imxrt/imxrt1021-nxp-evk/SConstruct
  5. 3 2
      bsp/nxp/imx/imxrt/imxrt1052-atk-commander/SConstruct
  6. 3 2
      bsp/nxp/imx/imxrt/imxrt1052-fire-pro/SConstruct
  7. 3 2
      bsp/nxp/imx/imxrt/imxrt1052-nxp-evk/SConstruct
  8. 3 2
      bsp/nxp/imx/imxrt/imxrt1052-seeed-ArchMix/SConstruct
  9. 3 2
      bsp/nxp/imx/imxrt/imxrt1060-nxp-evk/SConstruct
  10. 3 2
      bsp/nxp/imx/imxrt/imxrt1061-forlinx-OK1061-S/SConstruct
  11. 3 2
      bsp/nxp/imx/imxrt/imxrt1064-nxp-evk/SConstruct
  12. 3 2
      bsp/nxp/imx/imxrt/imxrt1170-nxp-evk/SConstruct
  13. 3 2
      bsp/nxp/lpc/lpc176x/SConstruct
  14. 3 2
      bsp/nxp/lpc/lpc178x/SConstruct
  15. 3 2
      bsp/nxp/lpc/lpc408x/SConstruct
  16. 3 2
      bsp/nxp/lpc/lpc5410x/SConstruct
  17. 3 2
      bsp/nxp/lpc/lpc54114-lite/SConstruct
  18. 3 2
      bsp/nxp/lpc/lpc54608-LPCXpresso/SConstruct
  19. 3 2
      bsp/nxp/lpc/lpc55sxx/lpc55s06_nxp_evk/SConstruct
  20. 3 2
      bsp/nxp/lpc/lpc55sxx/lpc55s16_nxp_evk/SConstruct
  21. 3 2
      bsp/nxp/lpc/lpc55sxx/lpc55s28_nxp_evk/SConstruct
  22. 3 2
      bsp/nxp/lpc/lpc55sxx/lpc55s36_nxp_evk/SConstruct
  23. 3 2
      bsp/nxp/lpc/lpc55sxx/lpc55s69_nxp_evk/SConstruct
  24. 3 2
      bsp/nxp/lpc/lpc824/SConstruct
  25. 3 2
      bsp/nxp/mcx/mcxa/frdm-mcxa153/SConstruct
  26. 3 2
      bsp/nxp/mcx/mcxa/frdm-mcxa156/SConstruct
  27. 3 2
      bsp/nxp/mcx/mcxc/frdm-mcxc444/SConstruct
  28. 3 2
      bsp/nxp/mcx/mcxn/frdm-mcxn236/SConstruct
  29. 4 2
      bsp/nxp/mcx/mcxn/frdm-mcxn947/SConstruct
  30. 3 2
      bsp/stm32/stm32f072-st-nucleo/SConstruct
  31. 3 2
      bsp/stm32/stm32f091-st-nucleo/SConstruct
  32. 3 2
      bsp/stm32/stm32f103-100ask-mini/SConstruct
  33. 3 2
      bsp/stm32/stm32f103-100ask-pro/SConstruct
  34. 3 2
      bsp/stm32/stm32f103-atk-nano/SConstruct
  35. 3 2
      bsp/stm32/stm32f103-atk-warshipv3/SConstruct
  36. 3 2
      bsp/stm32/stm32f103-blue-pill/SConstruct
  37. 3 2
      bsp/stm32/stm32f103-dofly-M3S/SConstruct
  38. 3 2
      bsp/stm32/stm32f103-dofly-lyc8/SConstruct
  39. 3 2
      bsp/stm32/stm32f103-fire-arbitrary/SConstruct
  40. 3 2
      bsp/stm32/stm32f103-gizwits-gokitv21/SConstruct
  41. 3 2
      bsp/stm32/stm32f103-hw100k-ibox/SConstruct
  42. 3 2
      bsp/stm32/stm32f103-onenet-nbiot/SConstruct
  43. 3 2
      bsp/stm32/stm32f103-yf-ufun/SConstruct
  44. 3 2
      bsp/stm32/stm32f103-ys-f1pro/SConstruct
  45. 3 2
      bsp/stm32/stm32f107-uc-eval/SConstruct
  46. 3 2
      bsp/stm32/stm32f207-st-nucleo/SConstruct
  47. 3 2
      bsp/stm32/stm32f302-st-nucleo/SConstruct
  48. 3 2
      bsp/stm32/stm32f334-st-nucleo/SConstruct
  49. 3 2
      bsp/stm32/stm32f401-st-nucleo/SConstruct
  50. 3 2
      bsp/stm32/stm32f401-weact-blackpill/SConstruct
  51. 3 2
      bsp/stm32/stm32f405-smdz-breadfruit/SConstruct
  52. 3 2
      bsp/stm32/stm32f405zg-mini-template/SConstruct
  53. 3 2
      bsp/stm32/stm32f407-armfly-v5/SConstruct
  54. 3 2
      bsp/stm32/stm32f407-atk-explorer/SConstruct
  55. 3 2
      bsp/stm32/stm32f407-fk407m2-zgt6/SConstruct
  56. 3 2
      bsp/stm32/stm32f407-lckfb-skystar/SConstruct
  57. 3 2
      bsp/stm32/stm32f407-robomaster-c/SConstruct
  58. 3 2
      bsp/stm32/stm32f407-rt-spark/SConstruct
  59. 3 2
      bsp/stm32/stm32f407-st-discovery/SConstruct
  60. 3 2
      bsp/stm32/stm32f410-st-nucleo/SConstruct
  61. 3 2
      bsp/stm32/stm32f411-atk-nano/SConstruct
  62. 3 2
      bsp/stm32/stm32f411-st-nucleo/SConstruct
  63. 3 2
      bsp/stm32/stm32f411-weact-blackpill/SConstruct
  64. 3 2
      bsp/stm32/stm32f412-st-nucleo/SConstruct
  65. 3 2
      bsp/stm32/stm32f413-st-nucleo/SConstruct
  66. 3 2
      bsp/stm32/stm32f427-robomaster-a/SConstruct
  67. 3 2
      bsp/stm32/stm32f429-armfly-v6/SConstruct
  68. 3 2
      bsp/stm32/stm32f429-atk-apollo/SConstruct
  69. 3 2
      bsp/stm32/stm32f429-fire-challenger/SConstruct
  70. 3 2
      bsp/stm32/stm32f429-st-disco/SConstruct
  71. 3 2
      bsp/stm32/stm32f446-st-nucleo/SConstruct
  72. 3 2
      bsp/stm32/stm32f469-st-disco/SConstruct
  73. 3 2
      bsp/stm32/stm32f723-st-disco/SConstruct
  74. 3 2
      bsp/stm32/stm32f746-st-disco/SConstruct
  75. 3 2
      bsp/stm32/stm32f746-st-nucleo/SConstruct
  76. 3 2
      bsp/stm32/stm32f767-atk-apollo/SConstruct
  77. 3 2
      bsp/stm32/stm32f767-fire-challenger-v1/SConstruct
  78. 3 2
      bsp/stm32/stm32f767-st-nucleo/SConstruct
  79. 3 2
      bsp/stm32/stm32f769-st-disco/SConstruct
  80. 3 2
      bsp/stm32/stm32g030-tiny-board/SConstruct
  81. 3 2
      bsp/stm32/stm32g070-st-nucleo/SConstruct
  82. 3 2
      bsp/stm32/stm32g071-st-nucleo/SConstruct
  83. 3 2
      bsp/stm32/stm32g431-st-nucleo/SConstruct
  84. 3 2
      bsp/stm32/stm32g474-st-nucleo/SConstruct
  85. 3 2
      bsp/stm32/stm32g491-st-nucleo/SConstruct
  86. 3 2
      bsp/stm32/stm32h503-st-nucleo/SConstruct
  87. 3 2
      bsp/stm32/stm32h563-st-nucleo/SConstruct
  88. 3 2
      bsp/stm32/stm32h723-st-nucleo/SConstruct
  89. 3 2
      bsp/stm32/stm32h730-esphosted-evb/SConstruct
  90. 3 2
      bsp/stm32/stm32h743-armfly-v7/SConstruct
  91. 3 2
      bsp/stm32/stm32h743-atk-apollo/SConstruct
  92. 3 2
      bsp/stm32/stm32h743-openmv-h7plus/SConstruct
  93. 3 2
      bsp/stm32/stm32h743-st-nucleo/SConstruct
  94. 3 2
      bsp/stm32/stm32h747-st-discovery/SConstruct
  95. 3 2
      bsp/stm32/stm32h750-armfly-h7-tool/SConstruct
  96. 3 2
      bsp/stm32/stm32h750-artpi/SConstruct
  97. 3 2
      bsp/stm32/stm32h750-fk750m1-vbt6/SConstruct
  98. 3 2
      bsp/stm32/stm32h750-weact-ministm32h7xx/SConstruct
  99. 3 2
      bsp/stm32/stm32h7r7-artpi2/SConstruct
  100. 3 2
      bsp/stm32/stm32h7s7-st-disco/SConstruct

+ 3 - 2
bsp/nxp/imx/imx6sx/cortex-a9/SConstruct

@@ -20,9 +20,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/nxp/imx/imx6ul/SConstruct

@@ -20,9 +20,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/nxp/imx/imx6ull-smart/SConstruct

@@ -17,9 +17,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/nxp/imx/imxrt/imxrt1021-nxp-evk/SConstruct

@@ -25,9 +25,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/nxp/imx/imxrt/imxrt1052-atk-commander/SConstruct

@@ -25,9 +25,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/nxp/imx/imxrt/imxrt1052-fire-pro/SConstruct

@@ -25,9 +25,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/nxp/imx/imxrt/imxrt1052-nxp-evk/SConstruct

@@ -25,9 +25,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/nxp/imx/imxrt/imxrt1052-seeed-ArchMix/SConstruct

@@ -25,9 +25,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/nxp/imx/imxrt/imxrt1060-nxp-evk/SConstruct

@@ -25,9 +25,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/nxp/imx/imxrt/imxrt1061-forlinx-OK1061-S/SConstruct

@@ -25,9 +25,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/nxp/imx/imxrt/imxrt1064-nxp-evk/SConstruct

@@ -25,9 +25,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/nxp/imx/imxrt/imxrt1170-nxp-evk/SConstruct

@@ -25,9 +25,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/nxp/lpc/lpc176x/SConstruct

@@ -19,9 +19,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/nxp/lpc/lpc178x/SConstruct

@@ -20,9 +20,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/nxp/lpc/lpc408x/SConstruct

@@ -20,9 +20,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/nxp/lpc/lpc5410x/SConstruct

@@ -20,9 +20,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/nxp/lpc/lpc54114-lite/SConstruct

@@ -20,9 +20,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/nxp/lpc/lpc54608-LPCXpresso/SConstruct

@@ -20,9 +20,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/nxp/lpc/lpc55sxx/lpc55s06_nxp_evk/SConstruct

@@ -25,9 +25,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/nxp/lpc/lpc55sxx/lpc55s16_nxp_evk/SConstruct

@@ -25,9 +25,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/nxp/lpc/lpc55sxx/lpc55s28_nxp_evk/SConstruct

@@ -25,9 +25,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/nxp/lpc/lpc55sxx/lpc55s36_nxp_evk/SConstruct

@@ -25,9 +25,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/nxp/lpc/lpc55sxx/lpc55s69_nxp_evk/SConstruct

@@ -25,9 +25,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/nxp/lpc/lpc824/SConstruct

@@ -20,9 +20,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/nxp/mcx/mcxa/frdm-mcxa153/SConstruct

@@ -26,9 +26,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/nxp/mcx/mcxa/frdm-mcxa156/SConstruct

@@ -26,9 +26,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/nxp/mcx/mcxc/frdm-mcxc444/SConstruct

@@ -26,9 +26,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/nxp/mcx/mcxn/frdm-mcxn236/SConstruct

@@ -26,9 +26,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 4 - 2
bsp/nxp/mcx/mcxn/frdm-mcxn947/SConstruct

@@ -26,9 +26,11 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
+
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f072-st-nucleo/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f091-st-nucleo/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f103-100ask-mini/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f103-100ask-pro/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f103-atk-nano/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)   

+ 3 - 2
bsp/stm32/stm32f103-atk-warshipv3/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f103-blue-pill/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f103-dofly-M3S/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f103-dofly-lyc8/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f103-fire-arbitrary/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f103-gizwits-gokitv21/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f103-hw100k-ibox/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f103-onenet-nbiot/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f103-yf-ufun/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f103-ys-f1pro/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f107-uc-eval/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f207-st-nucleo/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f302-st-nucleo/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f334-st-nucleo/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f401-st-nucleo/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f401-weact-blackpill/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f405-smdz-breadfruit/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f405zg-mini-template/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f407-armfly-v5/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f407-atk-explorer/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f407-fk407m2-zgt6/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f407-lckfb-skystar/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f407-robomaster-c/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f407-rt-spark/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f407-st-discovery/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f410-st-nucleo/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f411-atk-nano/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f411-st-nucleo/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f411-weact-blackpill/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f412-st-nucleo/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f413-st-nucleo/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f427-robomaster-a/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f429-armfly-v6/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f429-atk-apollo/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f429-fire-challenger/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f429-st-disco/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f446-st-nucleo/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f469-st-disco/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f723-st-disco/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f746-st-disco/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f746-st-nucleo/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f767-atk-apollo/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f767-fire-challenger-v1/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f767-st-nucleo/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32f769-st-disco/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32g030-tiny-board/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32g070-st-nucleo/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32g071-st-nucleo/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32g431-st-nucleo/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32g474-st-nucleo/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32g491-st-nucleo/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32h503-st-nucleo/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32h563-st-nucleo/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32h723-st-nucleo/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32h730-esphosted-evb/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32h743-armfly-v7/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32h743-atk-apollo/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32h743-openmv-h7plus/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32h743-st-nucleo/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32h747-st-discovery/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32h750-armfly-h7-tool/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32h750-artpi/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32h750-fk750m1-vbt6/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32h750-weact-ministm32h7xx/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32h7r7-artpi2/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

+ 3 - 2
bsp/stm32/stm32h7s7-st-disco/SConstruct

@@ -27,9 +27,10 @@ def bsp_pkg_check():
     need_update = not all(os.path.exists(p) for p in check_paths)
 
     if need_update:
-        print("\n==============================================================")
+        print("\n===============================================================================")
         print("Dependency packages missing, please running 'pkgs --update'...")
-        print("==============================================================")
+        print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
+        print("===============================================================================")
         exit(1)
 
 RegisterPreBuildingAction(bsp_pkg_check)

Некоторые файлы не были показаны из-за большого количества измененных файлов