File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
buildroot/share/PlatformIO/scripts Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -60,10 +60,10 @@ def sanity_check_target():
6060 raise SystemExit ("Error: Marlin requires PlatformIO >= 6.1.1. Use 'pio upgrade' to get a newer version." )
6161
6262 if 'MARLIN_FEATURES' not in env :
63- raise SystemExit ("Error: this script should be used after common Marlin scripts" )
63+ raise SystemExit ("Error: this script should be used after common Marlin scripts. " )
6464
65- if 'MOTHERBOARD' not in env ['MARLIN_FEATURES' ]:
66- raise SystemExit ("Error: MOTHERBOARD is not defined in Configuration.h " )
65+ if len ( env ['MARLIN_FEATURES' ]) == 0 :
66+ raise SystemExit ("Error: Failed to parse Marlin features. See previous error messages. " )
6767
6868 build_env = env ['PIOENV' ]
6969 motherboard = env ['MARLIN_FEATURES' ]['MOTHERBOARD' ]
You can’t perform that action at this time.
0 commit comments