kasjer commented on code in PR #3467:
URL: https://github.com/apache/mynewt-core/pull/3467#discussion_r2208443027


##########
hw/scripts/pyocd.sh:
##########
@@ -26,6 +26,18 @@ CONNECTION_MODE_DEFAULT="halt"
 # TARGET must be correectly set by the BSP; check `pyocd list --targets`
 # CONNECTION_MODE can be one of "attach", "halt" (default), "pre-reset", 
"under-reset"
 #
+pyocd_sn() {
+  if [ -n "$JLINK_SN" ]; then
+      UID_ARG="-u $JLINK_SN"
+  elif [ -n "$STLINK_SN" ]; then
+      UID_ARG="-u $STLINK_SN"
+  elif [ -n "$CMSIS_SN" ]; then
+      UID_ARG="-u $CMSIS_SN"
+  else
+      UID_ARG=""
+  fi

Review Comment:
   In other places indent is consistently set to 4, here is partial 2 and 
partial 4



-- 
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.

To unsubscribe, e-mail: notifications-unsubscr...@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to