2022-09-05 04:24 PM
I would like to run the STM32WB55 BLE_TransparentMode on my custom application board, but first I need to re-assign the pins used for LPUART1. However, any code generation from CubeMX, even without making any modifications, causes hundreds of compiler errors including "multiple definition of main". In fact, every function has the error that there is a duplicate definition. I have tried cleaning the build, but I get the same problem. Shouldn't I be able to generate code from the example's CubeMX .ioc file that compiles? Is there some setting or method I can change to be able to make simple modifications to this example?
Solved! Go to Solution.
2022-09-06 12:42 AM
Hello,
Indeed, when you regenerate the BLE_TransparentMode project for CubeIDE using CubeMX tool, there is build errors due to duplicate files inside CubeIDE project structure. To solve the issue, I recommend you to delete all files in BLE_TransparentMode \STM32CubeIDE folder and then regenerate the project using CubeMX.
Best Regards
2022-09-06 12:42 AM
Hello,
Indeed, when you regenerate the BLE_TransparentMode project for CubeIDE using CubeMX tool, there is build errors due to duplicate files inside CubeIDE project structure. To solve the issue, I recommend you to delete all files in BLE_TransparentMode \STM32CubeIDE folder and then regenerate the project using CubeMX.
Best Regards
2022-09-06 07:27 AM
Thanks for the fast response, that worked.