You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ma...@apache.org on 2017/05/17 16:46:10 UTC

[1/2] incubator-mynewt-core git commit: Add .cmd files for debug and download scripts for Windows. They are added for the following boards: 1) stm32f767-nucleo (tested) 2) nina-b1 (not tested).

Repository: incubator-mynewt-core
Updated Branches:
  refs/heads/master 9c5eafdcd -> 33f4fbaed


Add .cmd files for debug and download scripts for Windows.
They are added for the following boards:
1) stm32f767-nucleo (tested)
2) nina-b1 (not tested).


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/a9407759
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/a9407759
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/a9407759

Branch: refs/heads/master
Commit: a9407759adeb4076f3e366cc64ff491ffcf9dbc4
Parents: 9c5eafd
Author: cwanda <wa...@happycity.com>
Authored: Wed May 17 09:07:20 2017 -0700
Committer: cwanda <wa...@happycity.com>
Committed: Wed May 17 09:22:49 2017 -0700

----------------------------------------------------------------------
 hw/bsp/nina-b1/bsp.yml                         |  2 ++
 hw/bsp/nina-b1/nrf52dk_debug.cmd               | 22 +++++++++++++++++++++
 hw/bsp/nina-b1/nrf52dk_download.cmd            | 22 +++++++++++++++++++++
 hw/bsp/stm32f767-nucleo/bsp.yml                |  2 ++
 hw/bsp/stm32f767-nucleo/nucleo767_debug.cmd    | 22 +++++++++++++++++++++
 hw/bsp/stm32f767-nucleo/nucleo767_download.cmd | 22 +++++++++++++++++++++
 6 files changed, 92 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/a9407759/hw/bsp/nina-b1/bsp.yml
----------------------------------------------------------------------
diff --git a/hw/bsp/nina-b1/bsp.yml b/hw/bsp/nina-b1/bsp.yml
index 9525330..6ee297a 100644
--- a/hw/bsp/nina-b1/bsp.yml
+++ b/hw/bsp/nina-b1/bsp.yml
@@ -28,6 +28,8 @@ bsp.linkerscript.BOOT_LOADER.OVERWRITE:
 bsp.part2linkerscript: "hw/bsp/nina-b1/split-nrf52dk.ld"
 bsp.downloadscript: "hw/bsp/nina-b1/nrf52dk_download.sh"
 bsp.debugscript: "hw/bsp/nina-b1/nrf52dk_debug.sh"
+bsp.downloadscript.WINDOWS_OVERWRITE: "hw/bsp/nina-b1/nrf52dk_download.cmd"
+bsp.debugscript.WINDOWS.OVERWRITE: "hw/bsp/nina-b1/nrf52dk_debug.cmd"
 
 bsp.flash_map:
     areas:

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/a9407759/hw/bsp/nina-b1/nrf52dk_debug.cmd
----------------------------------------------------------------------
diff --git a/hw/bsp/nina-b1/nrf52dk_debug.cmd b/hw/bsp/nina-b1/nrf52dk_debug.cmd
new file mode 100644
index 0000000..3444fd3
--- /dev/null
+++ b/hw/bsp/nina-b1/nrf52dk_debug.cmd
@@ -0,0 +1,22 @@
+@rem
+@rem Licensed to the Apache Software Foundation (ASF) under one
+@rem or more contributor license agreements.  See the NOTICE file
+@rem distributed with this work for additional information
+@rem regarding copyright ownership.  The ASF licenses this file
+@rem to you under the Apache License, Version 2.0 (the
+@rem "License"); you may not use this file except in compliance
+@rem with the License.  You may obtain a copy of the License at
+@rem
+@rem  http://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing,
+@rem software distributed under the License is distributed on an
+@rem "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+@rem KIND, either express or implied.  See the License for the
+@rem specific language governing permissions and limitations
+@rem under the License.
+@rem
+
+@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/a9407759/hw/bsp/nina-b1/nrf52dk_download.cmd
----------------------------------------------------------------------
diff --git a/hw/bsp/nina-b1/nrf52dk_download.cmd b/hw/bsp/nina-b1/nrf52dk_download.cmd
new file mode 100644
index 0000000..3444fd3
--- /dev/null
+++ b/hw/bsp/nina-b1/nrf52dk_download.cmd
@@ -0,0 +1,22 @@
+@rem
+@rem Licensed to the Apache Software Foundation (ASF) under one
+@rem or more contributor license agreements.  See the NOTICE file
+@rem distributed with this work for additional information
+@rem regarding copyright ownership.  The ASF licenses this file
+@rem to you under the Apache License, Version 2.0 (the
+@rem "License"); you may not use this file except in compliance
+@rem with the License.  You may obtain a copy of the License at
+@rem
+@rem  http://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing,
+@rem software distributed under the License is distributed on an
+@rem "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+@rem KIND, either express or implied.  See the License for the
+@rem specific language governing permissions and limitations
+@rem under the License.
+@rem
+
+@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/a9407759/hw/bsp/stm32f767-nucleo/bsp.yml
----------------------------------------------------------------------
diff --git a/hw/bsp/stm32f767-nucleo/bsp.yml b/hw/bsp/stm32f767-nucleo/bsp.yml
index b0dd3dd..50a9a6b 100644
--- a/hw/bsp/stm32f767-nucleo/bsp.yml
+++ b/hw/bsp/stm32f767-nucleo/bsp.yml
@@ -27,6 +27,8 @@ bsp.linkerscript.BOOT_LOADER.OVERWRITE:
     - "hw/mcu/stm/stm32f7xx/stm32f767.ld"
 bsp.downloadscript: "hw/bsp/stm32f767-nucleo/nucleo767_download.sh"
 bsp.debugscript: "hw/bsp/stm32f767-nucleo/nucleo767_debug.sh"
+bsp.downloadscript.WINDOWS.OVERWRITE: "hw/bsp/stm32f767-nucleo/nucleo767_download.cmd"
+bsp.debugscript.WINDOWS.OVERWRITE: "hw/bsp/stm32f767-nucleo/nucleo767_debug.cmd"
 
 bsp.flash_map:
     areas:

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/a9407759/hw/bsp/stm32f767-nucleo/nucleo767_debug.cmd
----------------------------------------------------------------------
diff --git a/hw/bsp/stm32f767-nucleo/nucleo767_debug.cmd b/hw/bsp/stm32f767-nucleo/nucleo767_debug.cmd
new file mode 100644
index 0000000..3444fd3
--- /dev/null
+++ b/hw/bsp/stm32f767-nucleo/nucleo767_debug.cmd
@@ -0,0 +1,22 @@
+@rem
+@rem Licensed to the Apache Software Foundation (ASF) under one
+@rem or more contributor license agreements.  See the NOTICE file
+@rem distributed with this work for additional information
+@rem regarding copyright ownership.  The ASF licenses this file
+@rem to you under the Apache License, Version 2.0 (the
+@rem "License"); you may not use this file except in compliance
+@rem with the License.  You may obtain a copy of the License at
+@rem
+@rem  http://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing,
+@rem software distributed under the License is distributed on an
+@rem "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+@rem KIND, either express or implied.  See the License for the
+@rem specific language governing permissions and limitations
+@rem under the License.
+@rem
+
+@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/a9407759/hw/bsp/stm32f767-nucleo/nucleo767_download.cmd
----------------------------------------------------------------------
diff --git a/hw/bsp/stm32f767-nucleo/nucleo767_download.cmd b/hw/bsp/stm32f767-nucleo/nucleo767_download.cmd
new file mode 100644
index 0000000..3444fd3
--- /dev/null
+++ b/hw/bsp/stm32f767-nucleo/nucleo767_download.cmd
@@ -0,0 +1,22 @@
+@rem
+@rem Licensed to the Apache Software Foundation (ASF) under one
+@rem or more contributor license agreements.  See the NOTICE file
+@rem distributed with this work for additional information
+@rem regarding copyright ownership.  The ASF licenses this file
+@rem to you under the Apache License, Version 2.0 (the
+@rem "License"); you may not use this file except in compliance
+@rem with the License.  You may obtain a copy of the License at
+@rem
+@rem  http://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing,
+@rem software distributed under the License is distributed on an
+@rem "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+@rem KIND, either express or implied.  See the License for the
+@rem specific language governing permissions and limitations
+@rem under the License.
+@rem
+
+@rem Execute a shell with a script of the same name and .sh extension
+
+@bash "%~dp0%~n0.sh"


[2/2] incubator-mynewt-core git commit: This closes #285.

Posted by ma...@apache.org.
This closes #285.

Merge branch 'windows_debug_script' of https://github.com/cwanda/incubator-mynewt-core


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/33f4fbae
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/33f4fbae
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/33f4fbae

Branch: refs/heads/master
Commit: 33f4fbaed09074a919042c939f369b7965b0f7ca
Parents: 9c5eafd a940775
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Wed May 17 09:45:57 2017 -0700
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Wed May 17 09:45:57 2017 -0700

----------------------------------------------------------------------
 hw/bsp/nina-b1/bsp.yml                         |  2 ++
 hw/bsp/nina-b1/nrf52dk_debug.cmd               | 22 +++++++++++++++++++++
 hw/bsp/nina-b1/nrf52dk_download.cmd            | 22 +++++++++++++++++++++
 hw/bsp/stm32f767-nucleo/bsp.yml                |  2 ++
 hw/bsp/stm32f767-nucleo/nucleo767_debug.cmd    | 22 +++++++++++++++++++++
 hw/bsp/stm32f767-nucleo/nucleo767_download.cmd | 22 +++++++++++++++++++++
 6 files changed, 92 insertions(+)
----------------------------------------------------------------------