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 2019/06/13 11:56:25 UTC

[mynewt-core] branch master updated: bsp/dialog_da1469x-dk-pro; fix download for bootloader on MacOS.

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

marko 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 c67f17c  bsp/dialog_da1469x-dk-pro; fix download for bootloader on MacOS.
     new 4e0fee5  Merge pull request #1874 from mkiiskila/dialog_mac_download
c67f17c is described below

commit c67f17c3a6340aedc1385ef4ee86f9c2146faf76
Author: Marko Kiiskila <ma...@apache.org>
AuthorDate: Thu Jun 13 14:15:18 2019 +0300

    bsp/dialog_da1469x-dk-pro; fix download for bootloader on MacOS.
---
 hw/bsp/dialog_da1469x-dk-pro/dialog_da1469x-dk-pro_download.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/bsp/dialog_da1469x-dk-pro/dialog_da1469x-dk-pro_download.sh b/hw/bsp/dialog_da1469x-dk-pro/dialog_da1469x-dk-pro_download.sh
index ecaf000..576a029 100755
--- a/hw/bsp/dialog_da1469x-dk-pro/dialog_da1469x-dk-pro_download.sh
+++ b/hw/bsp/dialog_da1469x-dk-pro/dialog_da1469x-dk-pro_download.sh
@@ -76,7 +76,7 @@ if [ "$BOOT_LOADER" ]; then
     IMAGE_FILE=$FILE_NAME.img
 
     # allocate 9K for header
-    dd if=/dev/zero bs=9k count=1 | LANG=C tr "\000" "\377" > ${IMAGE_FILE}
+    dd if=/dev/zero bs=9k count=1 | LANG=C LC_CTYPE=C tr "\000" "\377" > ${IMAGE_FILE}
 
     # update product header
     HEX="5070 00200000 00200000 eb00a5a8 66000000 aa11 0300 014007c84e"