Browse Source

[bsp/Infineon] 修复 SCons 中的 typo 并优化表达 (#9262)

Co-authored-by: clow1710 <gh.my1710@outlook.com>
耿浩 11 months ago
parent
commit
8d15f15f16

+ 1 - 1
bsp/Infineon/libraries/templates/XMC7200D/SConstruct

@@ -39,7 +39,7 @@ SDK_ROOT = os.path.abspath('./')
 if os.path.exists(SDK_ROOT + '/packages'):
     libraries_path_prefix = SDK_ROOT + '/packages'
 else:
-    print("Error: Don't have Packages for HAL_Driver, Please Use \"pkgs --Update\" in ENV")
+    print("Error: Packages for HAL_Driver does not exist, pull it in ENV using `pkg --update`.")
 
 SDK_LIB = libraries_path_prefix
 Export('SDK_LIB')

+ 1 - 1
bsp/Infineon/psoc6-cy8ckit-062-BLE/SConstruct

@@ -41,7 +41,7 @@ libraries_path_prefix = SDK_ROOT
 if os.path.exists(SDK_ROOT + '/packages'):
     libraries_path_prefix = SDK_ROOT + '/packages'
 else:
-    print("Error: Don't have Packages for HAL_Driver, Please Use \"pkgs --Update\" in ENV")
+    print("Error: Packages for HAL_Driver does not exist, pull it in ENV using `pkg --update`.")
 
 SDK_LIB = libraries_path_prefix
 Export('SDK_LIB')

+ 1 - 1
bsp/Infineon/psoc6-cy8ckit-062-WIFI-BT/SConstruct

@@ -41,7 +41,7 @@ libraries_path_prefix = SDK_ROOT
 if os.path.exists(SDK_ROOT + '/packages'):
     libraries_path_prefix = SDK_ROOT + '/packages'
 else:
-    print("Error: Don't have Packages for HAL_Driver, Please Use \"pkgs --Update\" in ENV")
+    print("Error: Packages for HAL_Driver does not exist, pull it in ENV using `pkg --update`.")
 
 SDK_LIB = libraries_path_prefix
 Export('SDK_LIB')

+ 1 - 1
bsp/Infineon/psoc6-cy8ckit-062S2-43012/SConstruct

@@ -41,7 +41,7 @@ libraries_path_prefix = SDK_ROOT
 if os.path.exists(SDK_ROOT + '/packages'):
     libraries_path_prefix = SDK_ROOT + '/packages'
 else:
-    print("Error: Don't have Packages for HAL_Driver, Please Use \"pkgs --Update\" in ENV")
+    print("Error: Packages for HAL_Driver does not exist, pull it in ENV using `pkg --update`.")
 
 SDK_LIB = libraries_path_prefix
 Export('SDK_LIB')

+ 1 - 1
bsp/Infineon/psoc6-cy8ckit-062s4/SConstruct

@@ -41,7 +41,7 @@ libraries_path_prefix = SDK_ROOT
 if os.path.exists(SDK_ROOT + '/packages'):
     libraries_path_prefix = SDK_ROOT + '/packages'
 else:
-    print("Error: Don't have Packages for HAL_Driver, Please Use \"pkgs --Update\" in ENV")
+    print("Error: Packages for HAL_Driver does not exist, pull it in ENV using `pkg --update`.")
 
 SDK_LIB = libraries_path_prefix
 Export('SDK_LIB')

+ 1 - 1
bsp/Infineon/psoc6-cy8cproto-062S3-4343W/SConstruct

@@ -41,7 +41,7 @@ libraries_path_prefix = SDK_ROOT
 if os.path.exists(SDK_ROOT + '/packages'):
     libraries_path_prefix = SDK_ROOT + '/packages'
 else:
-    print("Error: Don't have Packages for HAL_Driver, Please Use \"pkgs --Update\" in ENV")
+    print("Error: Packages for HAL_Driver does not exist, pull it in ENV using `pkg --update`.")
 
 SDK_LIB = libraries_path_prefix
 Export('SDK_LIB')

+ 1 - 1
bsp/Infineon/psoc6-evaluationkit-062S2/SConstruct

@@ -41,7 +41,7 @@ libraries_path_prefix = SDK_ROOT
 if os.path.exists(SDK_ROOT + '/packages'):
     libraries_path_prefix = SDK_ROOT + '/packages'
 else:
-    print("Error: Don't have Packages for HAL_Driver, Please Use \"pkgs --Update\" in ENV")
+    print("Error: Packages for HAL_Driver does not exist, pull it in ENV using `pkg --update`.")
 
 SDK_LIB = libraries_path_prefix
 Export('SDK_LIB')

+ 1 - 1
bsp/Infineon/xmc7200-kit_xmc7200_evk/SConstruct

@@ -41,7 +41,7 @@ libraries_path_prefix = SDK_ROOT
 if os.path.exists(SDK_ROOT + '/packages'):
     libraries_path_prefix = SDK_ROOT + '/packages'
 else:
-    print("Error: Don't have Packages for HAL_Driver, Please Use \"pkgs --Update\" in ENV")
+    print("Error: Packages for HAL_Driver does not exist, pull it in ENV using `pkg --update`.")
 
 SDK_LIB = libraries_path_prefix
 Export('SDK_LIB')