2019-11-16 12:14 PM
Some setting in the .ioc file causes it to put many links into the project for files that are already in the source tree. This results in hundreds for duplicate symbols. They are in several directories
How can I stop it from doing that?
2019-11-18 06:00 AM
Does this happen in every project or just a specific one?
Can you provide the steps to reproduce it? Also, what OS and version of CubeIDE is it?
2019-11-18 10:20 PM
STM32CubeIDE
Version: 1.1.0
Build: 4551_20191014-1140 (UTC)
It's the same project I;m having other issues like losing manually added directories. I'll send files privately.
2019-12-13 10:41 AM
@Markus GIRDLAND I have a clue when the links are erroneously created. Today I made 1 change to the IOC that triggered this mess,:
NVIC.EXTI4_IRQn=true\:5\:0\:false\:false\:true\:true\:true\:true
Then the .project had all these linked resources added:
<linkedResources>
<link>
<name>Application/User/custom_bus.c</name>
<type>1</type>
<locationURI>$%7BPROJECT_LOC%7D/Core/Src/custom_bus.c</locationURI>
</link>
<link>
<name>Application/User/freertos.c</name>
<type>1</type>
<locationURI>$%7BPROJECT_LOC%7D/Core/Src/freertos.c</locationURI>
</link>
<link>
<name>Application/User/main.c</name>
<type>1</type>
<locationURI>$%7BPROJECT_LOC%7D/Core/Src/main.c</locationURI>
</link>
<link>
... TOO MANY TO LIST
</linkedResources>