Skip to main content
inky
Associate II
Sep 14, 2019 11:37 AM UTC
Solved

Change hardware target on STM32CubeIde

Apologies if this has been asked before, I did a search and couldn't find it.....

Using STM32CubeIde, I set the project to be the USB dongle P-Nucleo-WB55. Now, trying to flash this and I am told it doesn't have debug capabilities. Shame, but OK, there is the other board (Nucleo-68) with a very similar chip.

I can not find how to change the target from the USB dongle to the other board. Please help.

Thanks

Ian

This topic has been closed for replies.
Markus GIRDLAND
Markus GIRDLANDBest answer
ST Employee
Sep 16, 2019 1:13 PM UTC

Unfortunately, there's no way to switch at the moment. It's listed under known issues in the release note as:

"• STM32CubeIDE does not support switching from one MCU to another once the project is created."

You will need to create a new project and copy/paste the relevant code.

4 replies

Markus GIRDLAND
Markus GIRDLANDBest answer
ST Employee
Sep 16, 2019 1:13 PM UTC

Unfortunately, there's no way to switch at the moment. It's listed under known issues in the release note as:

"• STM32CubeIDE does not support switching from one MCU to another once the project is created."

You will need to create a new project and copy/paste the relevant code.

inky
inkyAuthor
Associate II
Sep 17, 2019 7:32 AM UTC

Thanks for the response. I had missed that :(

Shame, as there was a lot of work linking in files from a larger project I am porting across......

Mar 31, 2020 12:30 PM UTC

hello @Markus GIRDLAND​ @inky​  ! is it possible to upload a code that I wrote on my own to USB Dongle? As far as I saw only example can be uploaded because they have binaries. And my code has not binaries.

Markus GIRDLAND
ST Employee
Mar 31, 2020 1:27 PM UTC

Could you explain a bit further about what you're trying to do? You can have the code itself on the USB dongle but are you trying to execute the code to a dongle?