West Flash to a Specific Board #103211
Answered
by
heronet
metahead00
asked this question in
Q&A
-
|
I am working with multiple boards connected to my PC. I want to flash the app to the one I want, but it seems like west flashes the app to the first board it finds. Is there any way I can choose which board to flash? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Answered by
heronet
Jan 30, 2026
Replies: 1 comment
-
|
If you are working with an ESP32, you can just use Like for Run |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
metahead00
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you are working with an ESP32, you can just use
--esp-device /dev/ttyUSBx. But for other boards you can pass runner specific arguments.Like for
stm32cubeprogrammeryou can runwest flash --runner stm32cubeprogrammer --dev-id SERIAL.Run
west flash --contextto see what options you have for other runners.