Balance mega tests, shorten some env names

This commit is contained in:
Scott Lahteine
2020-03-01 17:39:46 -06:00
committed by Scott Lahteine
parent 870a1f753a
commit 736521a3f1
15 changed files with 206 additions and 208 deletions

View File

@ -600,13 +600,13 @@ def get_env(board_name, ver_Marlin):
target_env = 'DUE_USB'
else:
target_env = 'DUE'
elif env_A == 'STM32F103RC_bigtree' or env_A == 'STM32F103RE_bigtree':
if env_A == 'STM32F103RE_bigtree':
elif env_A == 'STM32F103RC_btt' or env_A == 'STM32F103RE_btt':
if env_A == 'STM32F103RE_btt':
get_answer(board_name, 'MCU Type?', 'STM32F103RC', 'STM32F103RE')
if 1 == get_answer_val:
env_A = 'STM32F103RC_bigtree'
env_A = 'STM32F103RC_btt'
target_env = env_A
if env_A == 'STM32F103RC_bigtree':
if env_A == 'STM32F103RC_btt':
get_answer(board_name, 'RCT6 Flash Size?', '512K', '256K')
if 1 == get_answer_val:
target_env += '_512K'