You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by je...@apache.org on 2019/04/01 14:01:47 UTC

[mynewt-core] branch master updated: hifive1: Add Windows load/debug scripts

This is an automated email from the ASF dual-hosted git repository.

jerzy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git


The following commit(s) were added to refs/heads/master by this push:
     new a0d61fa  hifive1: Add Windows load/debug scripts
a0d61fa is described below

commit a0d61fa0d8c8088d8e7820070c61358186210d9f
Author: Jerzy Kasenberg <je...@gmail.com>
AuthorDate: Mon Apr 1 00:55:40 2019 +0200

    hifive1: Add Windows load/debug scripts
    
    Windows load/debug scripts were missing.
---
 hw/bsp/hifive1/bsp.yml              |  2 ++
 hw/bsp/hifive1/hifive1_debug.cmd    | 22 ++++++++++++++++++++++
 hw/bsp/hifive1/hifive1_download.cmd | 22 ++++++++++++++++++++++
 3 files changed, 46 insertions(+)

diff --git a/hw/bsp/hifive1/bsp.yml b/hw/bsp/hifive1/bsp.yml
index d02e850..142a6c7 100644
--- a/hw/bsp/hifive1/bsp.yml
+++ b/hw/bsp/hifive1/bsp.yml
@@ -27,6 +27,8 @@ bsp.linkerscript.BOOT_LOADER.OVERWRITE:
     - "hw/bsp/hifive1/hifive1.ld"
 bsp.downloadscript: "hw/bsp/hifive1/hifive1_download.sh"
 bsp.debugscript: "hw/bsp/hifive1/hifive1_debug.sh"
+bsp.downloadscript.WINDOWS.OVERWRITE: "hw/bsp/hifive1/hifive1_download.cmd"
+bsp.debugscript.WINDOWS.OVERWRITE: "hw/bsp/hifive1/hifive1_debug.cmd"
 
 bsp.flash_map:
     areas:
diff --git a/hw/bsp/hifive1/hifive1_debug.cmd b/hw/bsp/hifive1/hifive1_debug.cmd
new file mode 100644
index 0000000..870128e
--- /dev/null
+++ b/hw/bsp/hifive1/hifive1_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"
diff --git a/hw/bsp/hifive1/hifive1_download.cmd b/hw/bsp/hifive1/hifive1_download.cmd
new file mode 100644
index 0000000..870128e
--- /dev/null
+++ b/hw/bsp/hifive1/hifive1_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"