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"