|
@ -24,7 +24,7 @@ |
|
|
|
|
|
|
|
|
####################################### |
|
|
####################################### |
|
|
# |
|
|
# |
|
|
# Revision: 2.0.1 |
|
|
# Revision: 2.1.0 |
|
|
# |
|
|
# |
|
|
# Description: script to automate PlatformIO builds |
|
|
# Description: script to automate PlatformIO builds |
|
|
# CLI: python auto_build.py build_option |
|
|
# CLI: python auto_build.py build_option |
|
@ -599,12 +599,16 @@ def get_env(board_name, ver_Marlin): |
|
|
target_env = 'DUE_USB' |
|
|
target_env = 'DUE_USB' |
|
|
else: |
|
|
else: |
|
|
target_env = 'DUE' |
|
|
target_env = 'DUE' |
|
|
elif env_A == 'STM32F103RC_bigtree': |
|
|
elif env_A == 'STM32F103RC_bigtree' or env_A == 'STM32F103RE_bigtree': |
|
|
|
|
|
if env_A == 'STM32F103RE_bigtree': |
|
|
|
|
|
get_answer(board_name, 'MCU Type?', 'STM32F103RC', 'STM32F103RE') |
|
|
|
|
|
if 1 == get_answer_val: |
|
|
|
|
|
env_A = 'STM32F103RC_bigtree' |
|
|
|
|
|
target_env = env_A |
|
|
|
|
|
if env_A == 'STM32F103RC_bigtree': |
|
|
get_answer(board_name, 'RCT6 Flash Size?', '512K', '256K') |
|
|
get_answer(board_name, 'RCT6 Flash Size?', '512K', '256K') |
|
|
if 1 == get_answer_val: |
|
|
if 1 == get_answer_val: |
|
|
target_env = 'STM32F103RC_bigtree_512K' |
|
|
target_env += '_512K' |
|
|
else: |
|
|
|
|
|
target_env = 'STM32F103RC_bigtree' |
|
|
|
|
|
get_answer(board_name, 'USB Support?', 'No USB', 'USB') |
|
|
get_answer(board_name, 'USB Support?', 'No USB', 'USB') |
|
|
if 1 == get_answer_val: |
|
|
if 1 == get_answer_val: |
|
|
target_env += '_NOUSB' |
|
|
target_env += '_NOUSB' |
|
@ -1203,7 +1207,6 @@ class output_window(Text): |
|
|
pass |
|
|
pass |
|
|
|
|
|
|
|
|
def cut(self, event): |
|
|
def cut(self, event): |
|
|
|
|
|
|
|
|
try: |
|
|
try: |
|
|
selection = self.get(*self.tag_ranges('sel')) |
|
|
selection = self.get(*self.tag_ranges('sel')) |
|
|
self.clipboard_clear() |
|
|
self.clipboard_clear() |
|
@ -1224,7 +1227,6 @@ class output_window(Text): |
|
|
self.popup.grab_release() |
|
|
self.popup.grab_release() |
|
|
|
|
|
|
|
|
def _cut(self): |
|
|
def _cut(self): |
|
|
|
|
|
|
|
|
try: |
|
|
try: |
|
|
selection = self.get(*self.tag_ranges('sel')) |
|
|
selection = self.get(*self.tag_ranges('sel')) |
|
|
self.clipboard_clear() |
|
|
self.clipboard_clear() |
|
@ -1249,7 +1251,6 @@ class output_window(Text): |
|
|
self._copy() |
|
|
self._copy() |
|
|
|
|
|
|
|
|
def _paste(self): |
|
|
def _paste(self): |
|
|
|
|
|
|
|
|
self.insert('insert', self.selection_get(selection='CLIPBOARD')) |
|
|
self.insert('insert', self.selection_get(selection='CLIPBOARD')) |
|
|
|
|
|
|
|
|
def _select_all(self): |
|
|
def _select_all(self): |
|
|