rafacouto opened a new pull request #2403:
URL: https://github.com/apache/mynewt-core/pull/2403


   Here is a new bash funtion in _hw/scripts/common.sh_ to detect connected 
programmers. I've added detection by USB vendor:product IDs, but other methods 
could be implemented. At the moment I've tested with Segger's **jlink** nrf5x 
on-board, **cmsis-dap** on STM32 and **stlink-v2** and **stlink-v2.1**.
   
   Detected programmer is put on **DETECTED_PROGRAMMER variable** so download 
or debug script for some board. For example, scripts for pinetime BSP are using 
this feature.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to