[tools] allow users to set specific link scripts. (#5678)
This commit is contained in:
parent
bb4fc9cb3a
commit
84ebead9c9
|
@ -291,7 +291,8 @@ def HandleToolOption(tools, env, project, reset):
|
||||||
|
|
||||||
listOptionValue = option.find('listOptionValue')
|
listOptionValue = option.find('listOptionValue')
|
||||||
if listOptionValue != None:
|
if listOptionValue != None:
|
||||||
listOptionValue.set('value', linker_script)
|
if reset is True or IsRttEclipsePathFormat(listOptionValue.get('value')):
|
||||||
|
listOptionValue.set('value', linker_script)
|
||||||
else:
|
else:
|
||||||
SubElement(option, 'listOptionValue', {'builtIn': 'false', 'value': linker_script})
|
SubElement(option, 'listOptionValue', {'builtIn': 'false', 'value': linker_script})
|
||||||
# scriptfile in stm32cubeIDE
|
# scriptfile in stm32cubeIDE
|
||||||
|
|
Loading…
Reference in New Issue