Regenerating a UCPD project in CubeIDE 1.6 deletes the library file from the linker settings in the project configuration.
This thread is a new problem discovered while investigating a different USB-PD issue in another thread. @Yohann M. recommended that I create a new thread for this issue. Here is the link to the other thread: https://community.st.com/s/feed/0D53W00000e3gI6SAI
I've set up a basic project to run the USB-PD middleware in CubeIDE 1.6 on the Nucleo-G071RB dev board. Basically, turn on UCPD 1 and 2, enable freeRTOS, serial port, USBPD middleware, tracer EMB, and GUI interface. After generating the project, the library :USBPDCORE_PD3_FULL_CM0PLUS_wc32.a is missing from the linker settings in the project configuration. If I regenerate the project again, after adding the missing file, the setting is erased so that I have to add the missing file every time.
If I make a copy of the IOC file in a new directory, open it in standalone CubeMX 6.2.0, and generate the project, the library file is present in the linker settings.
I tried starting a new clean project with more or less the same settings in CubeIDE and got the same error.
The weird thing is, this error only started sometime last week. Before that, I was able to generate the project without incident.
I have attached the IOC file.
Thanks,
Nathan
