mynewt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject [08/50] incubator-mynewt-core git commit: MYNEWT-527; add wrapper for shell scripts when running on Windows.
Date Tue, 07 Mar 2017 00:05:03 GMT
MYNEWT-527; add wrapper for shell scripts when running on Windows.


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/9cd6ba52
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/9cd6ba52
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/9cd6ba52

Branch: refs/heads/1_0_0_dev
Commit: 9cd6ba521d330830fe59aae1cd9d2ef19e48e48e
Parents: b41f55d
Author: Marko Kiiskila <marko@runtime.io>
Authored: Mon Feb 27 20:59:50 2017 -0800
Committer: Marko Kiiskila <marko@runtime.io>
Committed: Mon Mar 6 15:48:28 2017 -0800

----------------------------------------------------------------------
 hw/bsp/ada_feather_nrf52/ada_feather_nrf52_debug.cmd           | 3 +++
 hw/bsp/ada_feather_nrf52/ada_feather_nrf52_download.cmd        | 3 +++
 hw/bsp/ada_feather_nrf52/bsp.yml                               | 2 ++
 hw/bsp/arduino_primo_nrf52/bsp.yml                             | 2 ++
 hw/bsp/arduino_primo_nrf52/primo_debug.cmd                     | 3 +++
 hw/bsp/arduino_primo_nrf52/primo_download.cmd                  | 3 +++
 hw/bsp/bbc_microbit/bsp.yml                                    | 6 ++++--
 hw/bsp/bbc_microbit/microbit_debug.cmd                         | 3 +++
 hw/bsp/bbc_microbit/microbit_download.cmd                      | 3 +++
 hw/bsp/bmd200/bsp.yml                                          | 2 ++
 hw/bsp/bmd200/nrf51dk_debug.cmd                                | 3 +++
 hw/bsp/bmd200/nrf51dk_download.cmd                             | 3 +++
 hw/bsp/bmd300eval/bmd300eval_debug.cmd                         | 3 +++
 hw/bsp/bmd300eval/bmd300eval_download.cmd                      | 3 +++
 hw/bsp/bmd300eval/bsp.yml                                      | 2 ++
 hw/bsp/frdm-k64f/bsp.yml                                       | 2 ++
 hw/bsp/frdm-k64f/frdm-k64_debug.cmd                            | 3 +++
 hw/bsp/frdm-k64f/frdm-k64_download.cmd                         | 3 +++
 hw/bsp/nrf51-arduino_101/bsp.yml                               | 2 ++
 hw/bsp/nrf51-arduino_101/nrf51dk-16kbram_debug.cmd             | 3 +++
 hw/bsp/nrf51-arduino_101/nrf51dk-16kbram_download.cmd          | 3 +++
 hw/bsp/nrf51dk-16kbram/bsp.yml                                 | 2 ++
 hw/bsp/nrf51dk-16kbram/nrf51dk-16kbram_debug.cmd               | 3 +++
 hw/bsp/nrf51dk-16kbram/nrf51dk-16kbram_download.cmd            | 3 +++
 hw/bsp/nrf51dk/bsp.yml                                         | 2 ++
 hw/bsp/nrf51dk/nrf51dk_debug.cmd                               | 3 +++
 hw/bsp/nrf51dk/nrf51dk_download.cmd                            | 3 +++
 hw/bsp/nrf52840pdk/bsp.yml                                     | 2 ++
 hw/bsp/nrf52840pdk/nrf52840pdk_debug.cmd                       | 3 +++
 hw/bsp/nrf52840pdk/nrf52840pdk_download.cmd                    | 3 +++
 hw/bsp/nrf52dk/bsp.yml                                         | 2 ++
 hw/bsp/nrf52dk/nrf52dk_debug.cmd                               | 3 +++
 hw/bsp/nrf52dk/nrf52dk_download.cmd                            | 3 +++
 hw/bsp/nucleo-f401re/bsp.yml                                   | 2 ++
 hw/bsp/nucleo-f401re/nucleo-f401re_debug.cmd                   | 3 +++
 hw/bsp/nucleo-f401re/nucleo-f401re_download.cmd                | 3 +++
 hw/bsp/olimex_stm32-e407_devboard/bsp.yml                      | 2 ++
 .../olimex_stm32-e407_devboard_debug.cmd                       | 3 +++
 .../olimex_stm32-e407_devboard_download.cmd                    | 3 +++
 hw/bsp/rb-nano2/bsp.yml                                        | 2 ++
 hw/bsp/rb-nano2/rb-nano2_debug.cmd                             | 3 +++
 hw/bsp/rb-nano2/rb-nano2_download.cmd                          | 3 +++
 hw/bsp/stm32f4discovery/bsp.yml                                | 2 ++
 hw/bsp/stm32f4discovery/stm32f4discovery_debug.cmd             | 3 +++
 hw/bsp/stm32f4discovery/stm32f4discovery_download.cmd          | 3 +++
 hw/bsp/usbmkw41z/bsp.yml                                       | 2 ++
 hw/bsp/usbmkw41z/usbkw41z_debug.cmd                            | 3 +++
 hw/bsp/usbmkw41z/usbkw41z_download.cmd                         | 3 +++
 48 files changed, 130 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/ada_feather_nrf52/ada_feather_nrf52_debug.cmd
----------------------------------------------------------------------
diff --git a/hw/bsp/ada_feather_nrf52/ada_feather_nrf52_debug.cmd b/hw/bsp/ada_feather_nrf52/ada_feather_nrf52_debug.cmd
new file mode 100755
index 0000000..d6cfc11
--- /dev/null
+++ b/hw/bsp/ada_feather_nrf52/ada_feather_nrf52_debug.cmd
@@ -0,0 +1,3 @@
+@rem Execute a shell with a script of the same name and .sh extension
+
+@bash "%~dp0%~n0.sh"

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/ada_feather_nrf52/ada_feather_nrf52_download.cmd
----------------------------------------------------------------------
diff --git a/hw/bsp/ada_feather_nrf52/ada_feather_nrf52_download.cmd b/hw/bsp/ada_feather_nrf52/ada_feather_nrf52_download.cmd
new file mode 100755
index 0000000..d6cfc11
--- /dev/null
+++ b/hw/bsp/ada_feather_nrf52/ada_feather_nrf52_download.cmd
@@ -0,0 +1,3 @@
+@rem Execute a shell with a script of the same name and .sh extension
+
+@bash "%~dp0%~n0.sh"

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/ada_feather_nrf52/bsp.yml
----------------------------------------------------------------------
diff --git a/hw/bsp/ada_feather_nrf52/bsp.yml b/hw/bsp/ada_feather_nrf52/bsp.yml
index 80c9a5d..3721c2b 100644
--- a/hw/bsp/ada_feather_nrf52/bsp.yml
+++ b/hw/bsp/ada_feather_nrf52/bsp.yml
@@ -28,6 +28,8 @@ bsp.linkerscript.BOOT_LOADER.OVERWRITE:
 bsp.part2linkerscript: "hw/bsp/ada_feather_nrf52/split_ada_feather_nrf52.ld"
 bsp.downloadscript: "hw/bsp/ada_feather_nrf52/ada_feather_nrf52_download.sh"
 bsp.debugscript: "hw/bsp/ada_feather_nrf52/ada_feather_nrf52_debug.sh"
+bsp.downloadscript.WINDOWS.OVERWRITE: "hw/bsp/ada_feather_nrf52/ada_feather_nrf52_download.cmd"
+bsp.debugscript.WINDOWS.OVERWRITE: "hw/bsp/ada_feather_nrf52/ada_feather_nrf52_debug.cmd"
 
 bsp.flash_map:
     areas:

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/arduino_primo_nrf52/bsp.yml
----------------------------------------------------------------------
diff --git a/hw/bsp/arduino_primo_nrf52/bsp.yml b/hw/bsp/arduino_primo_nrf52/bsp.yml
index a24479b..15928c7 100644
--- a/hw/bsp/arduino_primo_nrf52/bsp.yml
+++ b/hw/bsp/arduino_primo_nrf52/bsp.yml
@@ -28,6 +28,8 @@ bsp.linkerscript.BOOT_LOADER.OVERWRITE:
 bsp.part2linkerscript: "hw/bsp/arduino_primo_nrf52/split-primo.ld"
 bsp.downloadscript: "hw/bsp/arduino_primo_nrf52/primo_download.sh"
 bsp.debugscript: "hw/bsp/arduino_primo_nrf52/primo_debug.sh"
+bsp.downloadscript.WINDOWS.OVERWRITE: "hw/bsp/arduino_primo_nrf52/primo_download.cmd"
+bsp.debugscript.WINDOWS.OVERWRITE: "hw/bsp/arduino_primo_nrf52/primo_debug.cmd"
 
 bsp.flash_map:
     areas:

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/arduino_primo_nrf52/primo_debug.cmd
----------------------------------------------------------------------
diff --git a/hw/bsp/arduino_primo_nrf52/primo_debug.cmd b/hw/bsp/arduino_primo_nrf52/primo_debug.cmd
new file mode 100755
index 0000000..d6cfc11
--- /dev/null
+++ b/hw/bsp/arduino_primo_nrf52/primo_debug.cmd
@@ -0,0 +1,3 @@
+@rem Execute a shell with a script of the same name and .sh extension
+
+@bash "%~dp0%~n0.sh"

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/arduino_primo_nrf52/primo_download.cmd
----------------------------------------------------------------------
diff --git a/hw/bsp/arduino_primo_nrf52/primo_download.cmd b/hw/bsp/arduino_primo_nrf52/primo_download.cmd
new file mode 100755
index 0000000..d6cfc11
--- /dev/null
+++ b/hw/bsp/arduino_primo_nrf52/primo_download.cmd
@@ -0,0 +1,3 @@
+@rem Execute a shell with a script of the same name and .sh extension
+
+@bash "%~dp0%~n0.sh"

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/bbc_microbit/bsp.yml
----------------------------------------------------------------------
diff --git a/hw/bsp/bbc_microbit/bsp.yml b/hw/bsp/bbc_microbit/bsp.yml
index ee9bdf1..c344752 100644
--- a/hw/bsp/bbc_microbit/bsp.yml
+++ b/hw/bsp/bbc_microbit/bsp.yml
@@ -26,8 +26,10 @@ bsp.linkerscript.BOOT_LOADER.OVERWRITE:
     - "hw/bsp/bbc_microbit/boot-nrf51xxac.ld"
     - "hw/mcu/nordic/nrf51xxx/nrf51.ld"
 bsp.part2linkerscript: "hw/bsp/bbc_microbit/split-nrf51dk.ld"
-bsp.downloadscript: "hw/bsp/bbc_microbit/microbit_download.sh"
-bsp.debugscript: "hw/bsp/bbc_microbit/microbit_debug.sh"
+bsp.downloadscript: hw/bsp/bbc_microbit/microbit_download.sh
+bsp.debugscript: hw/bsp/bbc_microbit/microbit_debug.sh
+bsp.downloadscript.WINDOWS.OVERWRITE: hw/bsp/bbc_microbit/microbit_download.cmd
+bsp.debugscript.WINDOWS.OVERWRITE: hw/bsp/bbc_microbit/microbit_debug.cmd
 
 bsp.flash_map:
     areas:

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/bbc_microbit/microbit_debug.cmd
----------------------------------------------------------------------
diff --git a/hw/bsp/bbc_microbit/microbit_debug.cmd b/hw/bsp/bbc_microbit/microbit_debug.cmd
new file mode 100755
index 0000000..d6cfc11
--- /dev/null
+++ b/hw/bsp/bbc_microbit/microbit_debug.cmd
@@ -0,0 +1,3 @@
+@rem Execute a shell with a script of the same name and .sh extension
+
+@bash "%~dp0%~n0.sh"

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/bbc_microbit/microbit_download.cmd
----------------------------------------------------------------------
diff --git a/hw/bsp/bbc_microbit/microbit_download.cmd b/hw/bsp/bbc_microbit/microbit_download.cmd
new file mode 100755
index 0000000..d6cfc11
--- /dev/null
+++ b/hw/bsp/bbc_microbit/microbit_download.cmd
@@ -0,0 +1,3 @@
+@rem Execute a shell with a script of the same name and .sh extension
+
+@bash "%~dp0%~n0.sh"

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/bmd200/bsp.yml
----------------------------------------------------------------------
diff --git a/hw/bsp/bmd200/bsp.yml b/hw/bsp/bmd200/bsp.yml
index ed5b7b1..3fe1275 100644
--- a/hw/bsp/bmd200/bsp.yml
+++ b/hw/bsp/bmd200/bsp.yml
@@ -28,6 +28,8 @@ bsp.linkerscript.BOOT_LOADER.OVERWRITE:
 bsp.part2linkerscript: "hw/bsp/bmd200/split-nrf51dk.ld"
 bsp.downloadscript: "hw/bsp/bmd200/nrf51dk_download.sh"
 bsp.debugscript: "hw/bsp/bmd200/nrf51dk_debug.sh"
+bsp.downloadscript.WINDOWS.OVERRIDE: "hw/bsp/bmd200/nrf51dk_download.cmd"
+bsp.debugscript.WINDOWS.OVERWRITE: "hw/bsp/bmd200/nrf51dk_debug.cmd"
 
 bsp.flash_map:
     areas:

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/bmd200/nrf51dk_debug.cmd
----------------------------------------------------------------------
diff --git a/hw/bsp/bmd200/nrf51dk_debug.cmd b/hw/bsp/bmd200/nrf51dk_debug.cmd
new file mode 100755
index 0000000..d6cfc11
--- /dev/null
+++ b/hw/bsp/bmd200/nrf51dk_debug.cmd
@@ -0,0 +1,3 @@
+@rem Execute a shell with a script of the same name and .sh extension
+
+@bash "%~dp0%~n0.sh"

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/bmd200/nrf51dk_download.cmd
----------------------------------------------------------------------
diff --git a/hw/bsp/bmd200/nrf51dk_download.cmd b/hw/bsp/bmd200/nrf51dk_download.cmd
new file mode 100755
index 0000000..d6cfc11
--- /dev/null
+++ b/hw/bsp/bmd200/nrf51dk_download.cmd
@@ -0,0 +1,3 @@
+@rem Execute a shell with a script of the same name and .sh extension
+
+@bash "%~dp0%~n0.sh"

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/bmd300eval/bmd300eval_debug.cmd
----------------------------------------------------------------------
diff --git a/hw/bsp/bmd300eval/bmd300eval_debug.cmd b/hw/bsp/bmd300eval/bmd300eval_debug.cmd
new file mode 100755
index 0000000..d6cfc11
--- /dev/null
+++ b/hw/bsp/bmd300eval/bmd300eval_debug.cmd
@@ -0,0 +1,3 @@
+@rem Execute a shell with a script of the same name and .sh extension
+
+@bash "%~dp0%~n0.sh"

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/bmd300eval/bmd300eval_download.cmd
----------------------------------------------------------------------
diff --git a/hw/bsp/bmd300eval/bmd300eval_download.cmd b/hw/bsp/bmd300eval/bmd300eval_download.cmd
new file mode 100755
index 0000000..d6cfc11
--- /dev/null
+++ b/hw/bsp/bmd300eval/bmd300eval_download.cmd
@@ -0,0 +1,3 @@
+@rem Execute a shell with a script of the same name and .sh extension
+
+@bash "%~dp0%~n0.sh"

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/bmd300eval/bsp.yml
----------------------------------------------------------------------
diff --git a/hw/bsp/bmd300eval/bsp.yml b/hw/bsp/bmd300eval/bsp.yml
index 5f31de9..f3a9a5d 100644
--- a/hw/bsp/bmd300eval/bsp.yml
+++ b/hw/bsp/bmd300eval/bsp.yml
@@ -28,6 +28,8 @@ bsp.linkerscript.BOOT_LOADER.OVERWRITE:
 bsp.part2linkerscript: "hw/bsp/bmd300eval/split-bmd300eval.ld"
 bsp.downloadscript: "hw/bsp/bmd300eval/bmd300eval_download.sh"
 bsp.debugscript: "hw/bsp/bmd300eval/bmd300eval_debug.sh"
+bsp.downloadscript.WINDOWS.OVERRIDE: "hw/bsp/bmd300eval/bmd300eval_download.cmd"
+bsp.debugscript.WINDOWS.OVERRIDE: "hw/bsp/bmd300eval/bmd300eval_debug.cmd"
 
 bsp.flash_map:
     areas:

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/frdm-k64f/bsp.yml
----------------------------------------------------------------------
diff --git a/hw/bsp/frdm-k64f/bsp.yml b/hw/bsp/frdm-k64f/bsp.yml
index e1ef7d6..a771696 100644
--- a/hw/bsp/frdm-k64f/bsp.yml
+++ b/hw/bsp/frdm-k64f/bsp.yml
@@ -23,6 +23,8 @@ bsp.linkerscript: "hw/bsp/frdm-k64f/MK64FN1M0xxx12_flash.ld"
 bsp.linkerscript.BOOT_LOADER.OVERWRITE: "hw/bsp/frdm-k64f/boot-MK64FN1M0xxx12_flash.ld"
 bsp.downloadscript: "hw/bsp/frdm-k64f/frdm-k64_download.sh"
 bsp.debugscript: "hw/bsp/frdm-k64f/frdm-k64_debug.sh"
+bsp.downloadscript.WINDOWS.OVERRIDE: "hw/bsp/frdm-k64f/frdm-k64_download.cmd"
+bsp.debugscript.WINDOWS.OVERRIDE: "hw/bsp/frdm-k64f/frdm-k64_debug.cmd"
 
 bsp.flash_map:
     areas:

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/frdm-k64f/frdm-k64_debug.cmd
----------------------------------------------------------------------
diff --git a/hw/bsp/frdm-k64f/frdm-k64_debug.cmd b/hw/bsp/frdm-k64f/frdm-k64_debug.cmd
new file mode 100755
index 0000000..d6cfc11
--- /dev/null
+++ b/hw/bsp/frdm-k64f/frdm-k64_debug.cmd
@@ -0,0 +1,3 @@
+@rem Execute a shell with a script of the same name and .sh extension
+
+@bash "%~dp0%~n0.sh"

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/frdm-k64f/frdm-k64_download.cmd
----------------------------------------------------------------------
diff --git a/hw/bsp/frdm-k64f/frdm-k64_download.cmd b/hw/bsp/frdm-k64f/frdm-k64_download.cmd
new file mode 100755
index 0000000..d6cfc11
--- /dev/null
+++ b/hw/bsp/frdm-k64f/frdm-k64_download.cmd
@@ -0,0 +1,3 @@
+@rem Execute a shell with a script of the same name and .sh extension
+
+@bash "%~dp0%~n0.sh"

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/nrf51-arduino_101/bsp.yml
----------------------------------------------------------------------
diff --git a/hw/bsp/nrf51-arduino_101/bsp.yml b/hw/bsp/nrf51-arduino_101/bsp.yml
index 00ecf5c..7a75151 100644
--- a/hw/bsp/nrf51-arduino_101/bsp.yml
+++ b/hw/bsp/nrf51-arduino_101/bsp.yml
@@ -27,6 +27,8 @@ bsp.linkerscript.BOOT_LOADER.OVERWRITE:
     - "hw/mcu/nordic/nrf51xxx/nrf51.ld"
 bsp.downloadscript: "hw/bsp/nrf51-arduino_101/nrf51dk-16kbram_download.sh"
 bsp.debugscript: "hw/bsp/nrf51-arduino_101/nrf51dk-16kbram_debug.sh"
+bsp.downloadscript.WINDOWS.OVERRIDE: "hw/bsp/nrf51-arduino_101/nrf51dk-16kbram_download.cmd"
+bsp.debugscript.WINDOWS.OVERRIDE: "hw/bsp/nrf51-arduino_101/nrf51dk-16kbram_debug.cmd"
 
 bsp.flash_map:
     areas:

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/nrf51-arduino_101/nrf51dk-16kbram_debug.cmd
----------------------------------------------------------------------
diff --git a/hw/bsp/nrf51-arduino_101/nrf51dk-16kbram_debug.cmd b/hw/bsp/nrf51-arduino_101/nrf51dk-16kbram_debug.cmd
new file mode 100755
index 0000000..d6cfc11
--- /dev/null
+++ b/hw/bsp/nrf51-arduino_101/nrf51dk-16kbram_debug.cmd
@@ -0,0 +1,3 @@
+@rem Execute a shell with a script of the same name and .sh extension
+
+@bash "%~dp0%~n0.sh"

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/nrf51-arduino_101/nrf51dk-16kbram_download.cmd
----------------------------------------------------------------------
diff --git a/hw/bsp/nrf51-arduino_101/nrf51dk-16kbram_download.cmd b/hw/bsp/nrf51-arduino_101/nrf51dk-16kbram_download.cmd
new file mode 100755
index 0000000..d6cfc11
--- /dev/null
+++ b/hw/bsp/nrf51-arduino_101/nrf51dk-16kbram_download.cmd
@@ -0,0 +1,3 @@
+@rem Execute a shell with a script of the same name and .sh extension
+
+@bash "%~dp0%~n0.sh"

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/nrf51dk-16kbram/bsp.yml
----------------------------------------------------------------------
diff --git a/hw/bsp/nrf51dk-16kbram/bsp.yml b/hw/bsp/nrf51dk-16kbram/bsp.yml
index 78ef8a7..94dd59f 100644
--- a/hw/bsp/nrf51dk-16kbram/bsp.yml
+++ b/hw/bsp/nrf51dk-16kbram/bsp.yml
@@ -28,6 +28,8 @@ bsp.linkerscript.BOOT_LOADER.OVERWRITE:
 bsp.part2linkerscript: "hw/bsp/nrf51dk-16kbram/split-nrf51dk-16kbram.ld"
 bsp.downloadscript: "hw/bsp/nrf51dk-16kbram/nrf51dk-16kbram_download.sh"
 bsp.debugscript: "hw/bsp/nrf51dk-16kbram/nrf51dk-16kbram_debug.sh"
+bsp.downloadscript.WINDOWS.OVERRIDE: "hw/bsp/nrf51dk-16kbram/nrf51dk-16kbram_download.cmd"
+bsp.debugscript.WINDOWS.OVERRIDE: "hw/bsp/nrf51dk-16kbram/nrf51dk-16kbram_debug.cmd"
 
 bsp.flash_map:
     areas:

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/nrf51dk-16kbram/nrf51dk-16kbram_debug.cmd
----------------------------------------------------------------------
diff --git a/hw/bsp/nrf51dk-16kbram/nrf51dk-16kbram_debug.cmd b/hw/bsp/nrf51dk-16kbram/nrf51dk-16kbram_debug.cmd
new file mode 100755
index 0000000..d6cfc11
--- /dev/null
+++ b/hw/bsp/nrf51dk-16kbram/nrf51dk-16kbram_debug.cmd
@@ -0,0 +1,3 @@
+@rem Execute a shell with a script of the same name and .sh extension
+
+@bash "%~dp0%~n0.sh"

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/nrf51dk-16kbram/nrf51dk-16kbram_download.cmd
----------------------------------------------------------------------
diff --git a/hw/bsp/nrf51dk-16kbram/nrf51dk-16kbram_download.cmd b/hw/bsp/nrf51dk-16kbram/nrf51dk-16kbram_download.cmd
new file mode 100755
index 0000000..d6cfc11
--- /dev/null
+++ b/hw/bsp/nrf51dk-16kbram/nrf51dk-16kbram_download.cmd
@@ -0,0 +1,3 @@
+@rem Execute a shell with a script of the same name and .sh extension
+
+@bash "%~dp0%~n0.sh"

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/nrf51dk/bsp.yml
----------------------------------------------------------------------
diff --git a/hw/bsp/nrf51dk/bsp.yml b/hw/bsp/nrf51dk/bsp.yml
index 5e78d60..247dc54 100644
--- a/hw/bsp/nrf51dk/bsp.yml
+++ b/hw/bsp/nrf51dk/bsp.yml
@@ -28,6 +28,8 @@ bsp.linkerscript.BOOT_LOADER.OVERWRITE:
 bsp.part2linkerscript: "hw/bsp/nrf51dk/split-nrf51dk.ld"
 bsp.downloadscript: "hw/bsp/nrf51dk/nrf51dk_download.sh"
 bsp.debugscript: "hw/bsp/nrf51dk/nrf51dk_debug.sh"
+bsp.downloadscript.WINDOWS.OVERRIDE: "hw/bsp/nrf51dk/nrf51dk_download.cmd"
+bsp.debugscript.WINDOWS.OVERRIDE: "hw/bsp/nrf51dk/nrf51dk_debug.cmd"
 
 bsp.flash_map:
     areas:

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/nrf51dk/nrf51dk_debug.cmd
----------------------------------------------------------------------
diff --git a/hw/bsp/nrf51dk/nrf51dk_debug.cmd b/hw/bsp/nrf51dk/nrf51dk_debug.cmd
new file mode 100755
index 0000000..d6cfc11
--- /dev/null
+++ b/hw/bsp/nrf51dk/nrf51dk_debug.cmd
@@ -0,0 +1,3 @@
+@rem Execute a shell with a script of the same name and .sh extension
+
+@bash "%~dp0%~n0.sh"

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/nrf51dk/nrf51dk_download.cmd
----------------------------------------------------------------------
diff --git a/hw/bsp/nrf51dk/nrf51dk_download.cmd b/hw/bsp/nrf51dk/nrf51dk_download.cmd
new file mode 100755
index 0000000..d6cfc11
--- /dev/null
+++ b/hw/bsp/nrf51dk/nrf51dk_download.cmd
@@ -0,0 +1,3 @@
+@rem Execute a shell with a script of the same name and .sh extension
+
+@bash "%~dp0%~n0.sh"

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/nrf52840pdk/bsp.yml
----------------------------------------------------------------------
diff --git a/hw/bsp/nrf52840pdk/bsp.yml b/hw/bsp/nrf52840pdk/bsp.yml
index 16f878b..e168d57 100644
--- a/hw/bsp/nrf52840pdk/bsp.yml
+++ b/hw/bsp/nrf52840pdk/bsp.yml
@@ -28,6 +28,8 @@ bsp.linkerscript.BOOT_LOADER.OVERWRITE:
 bsp.part2linkerscript: "hw/bsp/nrf52840pdk/split-nrf52840pdk.ld"
 bsp.downloadscript: "hw/bsp/nrf52840pdk/nrf52840pdk_download.sh"
 bsp.debugscript: "hw/bsp/nrf52840pdk/nrf52840pdk_debug.sh"
+bsp.downloadscript.WINDOWS.OVERRIDE: "hw/bsp/nrf52840pdk/nrf52840pdk_download.cmd"
+bsp.debugscript.WINDOWS.OVERRIDE: "hw/bsp/nrf52840pdk/nrf52840pdk_debug.cmd"
 
 bsp.flash_map:
     areas:

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/nrf52840pdk/nrf52840pdk_debug.cmd
----------------------------------------------------------------------
diff --git a/hw/bsp/nrf52840pdk/nrf52840pdk_debug.cmd b/hw/bsp/nrf52840pdk/nrf52840pdk_debug.cmd
new file mode 100755
index 0000000..d6cfc11
--- /dev/null
+++ b/hw/bsp/nrf52840pdk/nrf52840pdk_debug.cmd
@@ -0,0 +1,3 @@
+@rem Execute a shell with a script of the same name and .sh extension
+
+@bash "%~dp0%~n0.sh"

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/nrf52840pdk/nrf52840pdk_download.cmd
----------------------------------------------------------------------
diff --git a/hw/bsp/nrf52840pdk/nrf52840pdk_download.cmd b/hw/bsp/nrf52840pdk/nrf52840pdk_download.cmd
new file mode 100755
index 0000000..d6cfc11
--- /dev/null
+++ b/hw/bsp/nrf52840pdk/nrf52840pdk_download.cmd
@@ -0,0 +1,3 @@
+@rem Execute a shell with a script of the same name and .sh extension
+
+@bash "%~dp0%~n0.sh"

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/nrf52dk/bsp.yml
----------------------------------------------------------------------
diff --git a/hw/bsp/nrf52dk/bsp.yml b/hw/bsp/nrf52dk/bsp.yml
index d0e5fc1..050c16a 100644
--- a/hw/bsp/nrf52dk/bsp.yml
+++ b/hw/bsp/nrf52dk/bsp.yml
@@ -28,6 +28,8 @@ bsp.linkerscript.BOOT_LOADER.OVERWRITE:
 bsp.part2linkerscript: "hw/bsp/nrf52dk/split-nrf52dk.ld"
 bsp.downloadscript: "hw/bsp/nrf52dk/nrf52dk_download.sh"
 bsp.debugscript: "hw/bsp/nrf52dk/nrf52dk_debug.sh"
+bsp.downloadscript.WINDOWS.OVERRIDE: "hw/bsp/nrf52dk/nrf52dk_download.cmd"
+bsp.debugscript.WINDOWS.OVERRIDE: "hw/bsp/nrf52dk/nrf52dk_debug.cmd"
 
 bsp.flash_map:
     areas:

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/nrf52dk/nrf52dk_debug.cmd
----------------------------------------------------------------------
diff --git a/hw/bsp/nrf52dk/nrf52dk_debug.cmd b/hw/bsp/nrf52dk/nrf52dk_debug.cmd
new file mode 100755
index 0000000..d6cfc11
--- /dev/null
+++ b/hw/bsp/nrf52dk/nrf52dk_debug.cmd
@@ -0,0 +1,3 @@
+@rem Execute a shell with a script of the same name and .sh extension
+
+@bash "%~dp0%~n0.sh"

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/nrf52dk/nrf52dk_download.cmd
----------------------------------------------------------------------
diff --git a/hw/bsp/nrf52dk/nrf52dk_download.cmd b/hw/bsp/nrf52dk/nrf52dk_download.cmd
new file mode 100755
index 0000000..d6cfc11
--- /dev/null
+++ b/hw/bsp/nrf52dk/nrf52dk_download.cmd
@@ -0,0 +1,3 @@
+@rem Execute a shell with a script of the same name and .sh extension
+
+@bash "%~dp0%~n0.sh"

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/nucleo-f401re/bsp.yml
----------------------------------------------------------------------
diff --git a/hw/bsp/nucleo-f401re/bsp.yml b/hw/bsp/nucleo-f401re/bsp.yml
index 73313b8..7610b47 100644
--- a/hw/bsp/nucleo-f401re/bsp.yml
+++ b/hw/bsp/nucleo-f401re/bsp.yml
@@ -27,6 +27,8 @@ bsp.linkerscript.BOOT_LOADER.OVERWRITE:
     - "hw/mcu/stm/stm32f4xx/stm32f401.ld"
 bsp.downloadscript: "hw/bsp/nucleo-f401re/nucleo-f401re_download.sh"
 bsp.debugscript: "hw/bsp/nucleo-f401re/nucleo-f401re_debug.sh"
+bsp.downloadscript.WINDOWS.OVERRIDE: "hw/bsp/nucleo-f401re/nucleo-f401re_download.cmd"
+bsp.debugscript.WINDOWS.OVERRIDE: "hw/bsp/nucleo-f401re/nucleo-f401re_debug.cmd"
 
 bsp.flash_map:
     areas:

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/nucleo-f401re/nucleo-f401re_debug.cmd
----------------------------------------------------------------------
diff --git a/hw/bsp/nucleo-f401re/nucleo-f401re_debug.cmd b/hw/bsp/nucleo-f401re/nucleo-f401re_debug.cmd
new file mode 100755
index 0000000..d6cfc11
--- /dev/null
+++ b/hw/bsp/nucleo-f401re/nucleo-f401re_debug.cmd
@@ -0,0 +1,3 @@
+@rem Execute a shell with a script of the same name and .sh extension
+
+@bash "%~dp0%~n0.sh"

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/nucleo-f401re/nucleo-f401re_download.cmd
----------------------------------------------------------------------
diff --git a/hw/bsp/nucleo-f401re/nucleo-f401re_download.cmd b/hw/bsp/nucleo-f401re/nucleo-f401re_download.cmd
new file mode 100755
index 0000000..d6cfc11
--- /dev/null
+++ b/hw/bsp/nucleo-f401re/nucleo-f401re_download.cmd
@@ -0,0 +1,3 @@
+@rem Execute a shell with a script of the same name and .sh extension
+
+@bash "%~dp0%~n0.sh"

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/olimex_stm32-e407_devboard/bsp.yml
----------------------------------------------------------------------
diff --git a/hw/bsp/olimex_stm32-e407_devboard/bsp.yml b/hw/bsp/olimex_stm32-e407_devboard/bsp.yml
index 62a7899..478703b 100644
--- a/hw/bsp/olimex_stm32-e407_devboard/bsp.yml
+++ b/hw/bsp/olimex_stm32-e407_devboard/bsp.yml
@@ -27,6 +27,8 @@ bsp.linkerscript.BOOT_LOADER.OVERWRITE:
     - "hw/mcu/stm/stm32f4xx/stm32f407.ld"
 bsp.downloadscript: "hw/bsp/olimex_stm32-e407_devboard/olimex_stm32-e407_devboard_download.sh"
 bsp.debugscript: "hw/bsp/olimex_stm32-e407_devboard/olimex_stm32-e407_devboard_debug.sh"
+bsp.downloadscript.WINDOWS.OVERRIDE: "hw/bsp/olimex_stm32-e407_devboard/olimex_stm32-e407_devboard_download.cmd"
+bsp.debugscript.WINDOWS.OVERRIDE: "hw/bsp/olimex_stm32-e407_devboard/olimex_stm32-e407_devboard_debug.cmd"
 
 bsp.flash_map:
     areas:

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/olimex_stm32-e407_devboard/olimex_stm32-e407_devboard_debug.cmd
----------------------------------------------------------------------
diff --git a/hw/bsp/olimex_stm32-e407_devboard/olimex_stm32-e407_devboard_debug.cmd b/hw/bsp/olimex_stm32-e407_devboard/olimex_stm32-e407_devboard_debug.cmd
new file mode 100755
index 0000000..d6cfc11
--- /dev/null
+++ b/hw/bsp/olimex_stm32-e407_devboard/olimex_stm32-e407_devboard_debug.cmd
@@ -0,0 +1,3 @@
+@rem Execute a shell with a script of the same name and .sh extension
+
+@bash "%~dp0%~n0.sh"

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/olimex_stm32-e407_devboard/olimex_stm32-e407_devboard_download.cmd
----------------------------------------------------------------------
diff --git a/hw/bsp/olimex_stm32-e407_devboard/olimex_stm32-e407_devboard_download.cmd b/hw/bsp/olimex_stm32-e407_devboard/olimex_stm32-e407_devboard_download.cmd
new file mode 100755
index 0000000..d6cfc11
--- /dev/null
+++ b/hw/bsp/olimex_stm32-e407_devboard/olimex_stm32-e407_devboard_download.cmd
@@ -0,0 +1,3 @@
+@rem Execute a shell with a script of the same name and .sh extension
+
+@bash "%~dp0%~n0.sh"

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/rb-nano2/bsp.yml
----------------------------------------------------------------------
diff --git a/hw/bsp/rb-nano2/bsp.yml b/hw/bsp/rb-nano2/bsp.yml
index 4be5b52..c4fc926 100644
--- a/hw/bsp/rb-nano2/bsp.yml
+++ b/hw/bsp/rb-nano2/bsp.yml
@@ -28,6 +28,8 @@ bsp.linkerscript.BOOT_LOADER.OVERWRITE:
 bsp.part2linkerscript: "hw/bsp/rb-nano2/split-rb-nano2.ld"
 bsp.downloadscript: "hw/bsp/rb-nano2/rb-nano2_download.sh"
 bsp.debugscript: "hw/bsp/rb-nano2/rb-nano2_debug.sh"
+bsp.downloadscript.WINDOWS.OVERRIDE: "hw/bsp/rb-nano2/rb-nano2_download.cmd"
+bsp.debugscript.WINDOWS.OVERRIDE: "hw/bsp/rb-nano2/rb-nano2_debug.cmd"
 
 bsp.flash_map:
     areas:

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/rb-nano2/rb-nano2_debug.cmd
----------------------------------------------------------------------
diff --git a/hw/bsp/rb-nano2/rb-nano2_debug.cmd b/hw/bsp/rb-nano2/rb-nano2_debug.cmd
new file mode 100755
index 0000000..d6cfc11
--- /dev/null
+++ b/hw/bsp/rb-nano2/rb-nano2_debug.cmd
@@ -0,0 +1,3 @@
+@rem Execute a shell with a script of the same name and .sh extension
+
+@bash "%~dp0%~n0.sh"

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/rb-nano2/rb-nano2_download.cmd
----------------------------------------------------------------------
diff --git a/hw/bsp/rb-nano2/rb-nano2_download.cmd b/hw/bsp/rb-nano2/rb-nano2_download.cmd
new file mode 100755
index 0000000..d6cfc11
--- /dev/null
+++ b/hw/bsp/rb-nano2/rb-nano2_download.cmd
@@ -0,0 +1,3 @@
+@rem Execute a shell with a script of the same name and .sh extension
+
+@bash "%~dp0%~n0.sh"

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/stm32f4discovery/bsp.yml
----------------------------------------------------------------------
diff --git a/hw/bsp/stm32f4discovery/bsp.yml b/hw/bsp/stm32f4discovery/bsp.yml
index 2e50d60..658cb21 100644
--- a/hw/bsp/stm32f4discovery/bsp.yml
+++ b/hw/bsp/stm32f4discovery/bsp.yml
@@ -27,6 +27,8 @@ bsp.linkerscript.BOOT_LOADER.OVERWRITE:
     - "hw/mcu/stm/stm32f4xx/stm32f407.ld"
 bsp.downloadscript: "hw/bsp/stm32f4discovery/stm32f4discovery_download.sh"
 bsp.debugscript: "hw/bsp/stm32f4discovery/stm32f4discovery_debug.sh"
+bsp.downloadscript.WINDOWS.OVERRIDE: "hw/bsp/stm32f4discovery/stm32f4discovery_download.cmd"
+bsp.debugscript.WINDOWS.OVERRIDE: "hw/bsp/stm32f4discovery/stm32f4discovery_debug.cmd"
 
 bsp.flash_map:
     areas:

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/stm32f4discovery/stm32f4discovery_debug.cmd
----------------------------------------------------------------------
diff --git a/hw/bsp/stm32f4discovery/stm32f4discovery_debug.cmd b/hw/bsp/stm32f4discovery/stm32f4discovery_debug.cmd
new file mode 100755
index 0000000..d6cfc11
--- /dev/null
+++ b/hw/bsp/stm32f4discovery/stm32f4discovery_debug.cmd
@@ -0,0 +1,3 @@
+@rem Execute a shell with a script of the same name and .sh extension
+
+@bash "%~dp0%~n0.sh"

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/stm32f4discovery/stm32f4discovery_download.cmd
----------------------------------------------------------------------
diff --git a/hw/bsp/stm32f4discovery/stm32f4discovery_download.cmd b/hw/bsp/stm32f4discovery/stm32f4discovery_download.cmd
new file mode 100755
index 0000000..d6cfc11
--- /dev/null
+++ b/hw/bsp/stm32f4discovery/stm32f4discovery_download.cmd
@@ -0,0 +1,3 @@
+@rem Execute a shell with a script of the same name and .sh extension
+
+@bash "%~dp0%~n0.sh"

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/usbmkw41z/bsp.yml
----------------------------------------------------------------------
diff --git a/hw/bsp/usbmkw41z/bsp.yml b/hw/bsp/usbmkw41z/bsp.yml
index 2084335..55e9ae7 100644
--- a/hw/bsp/usbmkw41z/bsp.yml
+++ b/hw/bsp/usbmkw41z/bsp.yml
@@ -26,6 +26,8 @@ bsp.linkerscript.BOOT_LOADER.OVERWRITE:
 bsp.part2linkerscript: "hw/bsp/usbmkw41z/split-usbkw41z.ld"
 bsp.downloadscript: "hw/bsp/usbmkw41z/usbkw41z_download.sh"
 bsp.debugscript: "hw/bsp/usbmkw41z/usbkw41z_debug.sh"
+bsp.downloadscript.WINDOWS.OVERRIDE: "hw/bsp/usbmkw41z/usbkw41z_download.cmd"
+bsp.debugscript.WINDOWS.OVERRIDE: "hw/bsp/usbmkw41z/usbkw41z_debug.cmd"
 
 bsp.flash_map:
     areas:

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/usbmkw41z/usbkw41z_debug.cmd
----------------------------------------------------------------------
diff --git a/hw/bsp/usbmkw41z/usbkw41z_debug.cmd b/hw/bsp/usbmkw41z/usbkw41z_debug.cmd
new file mode 100755
index 0000000..d6cfc11
--- /dev/null
+++ b/hw/bsp/usbmkw41z/usbkw41z_debug.cmd
@@ -0,0 +1,3 @@
+@rem Execute a shell with a script of the same name and .sh extension
+
+@bash "%~dp0%~n0.sh"

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cd6ba52/hw/bsp/usbmkw41z/usbkw41z_download.cmd
----------------------------------------------------------------------
diff --git a/hw/bsp/usbmkw41z/usbkw41z_download.cmd b/hw/bsp/usbmkw41z/usbkw41z_download.cmd
new file mode 100755
index 0000000..d6cfc11
--- /dev/null
+++ b/hw/bsp/usbmkw41z/usbkw41z_download.cmd
@@ -0,0 +1,3 @@
+@rem Execute a shell with a script of the same name and .sh extension
+
+@bash "%~dp0%~n0.sh"


Mime
View raw message