Using more than one target/ST-Link #2259
Replies: 2 comments 2 replies
-
Yes it is not supported using stlink. |
Beta Was this translation helpful? Give feedback.
-
We found a workaround using Windows "pnputil" example:
I am not familiar with Arduino IDE 1 and 2, so I don't know if its possible there, but using sloeber/eclipse one can define pre- and post-build scripts which can be used to automate the selection project-specific, which probably is what you want... Following this instruction, you can create shortcuts in your projects source-code folder for the scheduler tasks of the batch scripts. This is necessary, because admin privileges are needed and we don't want to type in credentials or confirm a nagging "allow blahblah to make changes to your computer" screeens. They can then be launched from within a prebuild_device_X.bat (that can hold further steps to add before the build) example:
Maybe it is of use to someone :) |
Beta Was this translation helpful? Give feedback.
-
For my project I have two boards with STM32 MCUs that I'd like to have connected simultaneously.
However, I have not found out how I can decide to which board a binary is downloaded...
I am currently using Sloeber, but I think that with the Arduino IDE it was also not clear which ST-Link is used, and there is no possibility to choose one.
Is this scenario not supported?
Beta Was this translation helpful? Give feedback.
All reactions