mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-06-12 20:24:15 +08:00
[tools] allow users to set specific link scripts. (#5678)
This commit is contained in:
+2
-1
@@ -291,7 +291,8 @@ def HandleToolOption(tools, env, project, reset):
|
||||
|
||||
listOptionValue = option.find('listOptionValue')
|
||||
if listOptionValue != None:
|
||||
listOptionValue.set('value', linker_script)
|
||||
if reset is True or IsRttEclipsePathFormat(listOptionValue.get('value')):
|
||||
listOptionValue.set('value', linker_script)
|
||||
else:
|
||||
SubElement(option, 'listOptionValue', {'builtIn': 'false', 'value': linker_script})
|
||||
# scriptfile in stm32cubeIDE
|
||||
|
||||
Reference in New Issue
Block a user