USBX CDC ACM example fails when project directory is moved
Hello,
I am trying to get USBX to work on my NUCLEO-U5A5ZJ-Q board independently from the example provided. I can copy and paste the project into the same directory location as the example (inside the firmware package) and it works absolutely fine.
When copying the project to another location outside the firmware directory and reroute all the files that use the relative directory position of files to the true location of the files (done inside the project preferences window and inside the .project folder), the project builds without errors or warnings but the USBC does not enumerate.
All of the project settings, IDE settings and file contents should be identical to the example.
Is there anything I have missed because I don't understand why it wouldn't work exactly the same as the example. If anyone has experienced this problem before or has any ideas on why this might be happening / how to fix this issue I would be very grateful.
(I'm using firmware version 1.7.0 & STM32CubeIDE version 1.17.0)
Kind regards,
Sonny
