Fix S3 linker error for Arduino/IDF projects
This commit is contained in:
@@ -1534,6 +1534,19 @@ try:
|
||||
except:
|
||||
print("Warning! Couldn't find the main linker script in the CMake code model.")
|
||||
|
||||
# remove circle linker commands
|
||||
try:
|
||||
link_args_index = link_args["LINKFLAGS"].index("-Wl,--start-group")
|
||||
link_args["LINKFLAGS"].pop(link_args_index)
|
||||
except:
|
||||
pass
|
||||
|
||||
try:
|
||||
link_args_index = link_args["LINKFLAGS"].index("-Wl,--end-group")
|
||||
link_args["LINKFLAGS"].pop(link_args_index)
|
||||
except:
|
||||
pass
|
||||
|
||||
#
|
||||
# Process project sources
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user