Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C214C200C33 for ; Sat, 11 Mar 2017 20:03:40 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id C0A55160B7B; Sat, 11 Mar 2017 19:03:40 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BA317160B64 for ; Sat, 11 Mar 2017 20:03:39 +0100 (CET) Received: (qmail 35911 invoked by uid 500); 11 Mar 2017 19:03:33 -0000 Mailing-List: contact commits-help@mynewt.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mynewt.incubator.apache.org Delivered-To: mailing list commits@mynewt.incubator.apache.org Received: (qmail 35902 invoked by uid 99); 11 Mar 2017 19:03:33 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Mar 2017 19:03:33 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 752E7C2298 for ; Sat, 11 Mar 2017 19:03:33 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -3.568 X-Spam-Level: X-Spam-Status: No, score=-3.568 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id SfkjlZlm-kRG for ; Sat, 11 Mar 2017 19:03:30 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id 897D25F23A for ; Sat, 11 Mar 2017 19:03:29 +0000 (UTC) Received: (qmail 29710 invoked by uid 99); 11 Mar 2017 18:56:48 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Mar 2017 18:56:48 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 7C701DFF71; Sat, 11 Mar 2017 18:56:48 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sterling@apache.org To: commits@mynewt.incubator.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: incubator-mynewt-core git commit: remove diff.txt, spuriously merged. Date: Sat, 11 Mar 2017 18:56:48 +0000 (UTC) archived-at: Sat, 11 Mar 2017 19:03:40 -0000 Repository: incubator-mynewt-core Updated Branches: refs/heads/develop b729f76a9 -> c9fbdfc35 remove diff.txt, spuriously merged. 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/c9fbdfc3 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/c9fbdfc3 Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/c9fbdfc3 Branch: refs/heads/develop Commit: c9fbdfc3529c9b512b24693a6fb01eef8e5951b1 Parents: b729f76 Author: Sterling Hughes Authored: Sat Mar 11 10:56:41 2017 -0800 Committer: Sterling Hughes Committed: Sat Mar 11 10:56:41 2017 -0800 ---------------------------------------------------------------------- diff.txt | 330 ---------------------------------------------------------- 1 file changed, 330 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/c9fbdfc3/diff.txt ---------------------------------------------------------------------- diff --git a/diff.txt b/diff.txt deleted file mode 100644 index 1496b88..0000000 --- a/diff.txt +++ /dev/null @@ -1,330 +0,0 @@ -diff --git a/apps/boot/src/boot.c b/apps/boot/src/boot.c -index 9cd59e7..4f4f827 100755 ---- a/apps/boot/src/boot.c -+++ b/apps/boot/src/boot.c -@@ -23,7 +23,7 @@ - #include "syscfg/syscfg.h" - #include - #include --#include -+//#include - #include - #include - #include -diff --git a/hw/bsp/sensorhub/boot-stm32f4discovery.ld b/hw/bsp/sensorhub/boot-stm32f4discovery.ld -deleted file mode 100644 -index ae34f19..0000000 ---- a/hw/bsp/sensorhub/boot-stm32f4discovery.ld -+++ /dev/null -@@ -1,31 +0,0 @@ --/* -- * Licensed to the Apache Software Foundation (ASF) under one -- * or more contributor license agreements. See the NOTICE file -- * distributed with this work for additional information -- * regarding copyright ownership. The ASF licenses this file -- * to you under the Apache License, Version 2.0 (the -- * "License"); you may not use this file except in compliance -- * with the License. You may obtain a copy of the License at -- * -- * http://www.apache.org/licenses/LICENSE-2.0 -- * -- * Unless required by applicable law or agreed to in writing, -- * software distributed under the License is distributed on an -- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -- * KIND, either express or implied. See the License for the -- * specific language governing permissions and limitations -- * under the License. -- */ -- --/* Linker script for STM32F427 when running from flash and using the bootloader */ -- --/* Linker script to configure memory regions. */ --MEMORY --{ -- FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 32K -- CCM (rwx) : ORIGIN = 0x10000000, LENGTH = 64K -- RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 192K --} -- --/* The bootloader does not contain an image header */ --_imghdr_size = 0x0; -diff --git a/hw/bsp/sensorhub/bsp.yml b/hw/bsp/sensorhub/bsp.yml -index c87e36a..f19e0e8 100644 ---- a/hw/bsp/sensorhub/bsp.yml -+++ b/hw/bsp/sensorhub/bsp.yml -@@ -20,15 +20,15 @@ - bsp.arch: cortex_m4 - bsp.compiler: compiler/arm-none-eabi-m4 - bsp.linkerscript: -- - "hw/bsp/stm32f4discovery/stm32f4discovery.ld" -+ - "hw/bsp/sensorhub/sensorhub.ld" - - "hw/mcu/stm/stm32f4xx/stm32f427.ld" - bsp.linkerscript.BOOT_LOADER.OVERWRITE: -- - "hw/bsp/stm32f4discovery/boot-stm32f4discovery.ld" -+ - "hw/bsp/sensorhub/boot-sensorhub.ld" - - "hw/mcu/stm/stm32f4xx/stm32f427.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.downloadscript: "hw/bsp/sensorhub/sensorhub_download.sh" -+bsp.debugscript: "hw/bsp/sensorhub/sensorhub_debug.sh" -+bsp.downloadscript.WINDOWS.OVERRIDE: "hw/bsp/sensorhub/sensorhub_download.cmd" -+bsp.debugscript.WINDOWS.OVERRIDE: "hw/bsp/sensorhub/sensorhub_debug.cmd" - - bsp.flash_map: - areas: -diff --git a/hw/bsp/sensorhub/f4discovery.cfg b/hw/bsp/sensorhub/f4discovery.cfg -deleted file mode 100644 -index 3fa5699..0000000 ---- a/hw/bsp/sensorhub/f4discovery.cfg -+++ /dev/null -@@ -1,22 +0,0 @@ --#!/bin/sh --# Licensed to the Apache Software Foundation (ASF) under one --# or more contributor license agreements. See the NOTICE file --# distributed with this work for additional information --# regarding copyright ownership. The ASF licenses this file --# to you under the Apache License, Version 2.0 (the --# "License"); you may not use this file except in compliance --# with the License. You may obtain a copy of the License at --# --# http://www.apache.org/licenses/LICENSE-2.0 --# --# Unless required by applicable law or agreed to in writing, --# software distributed under the License is distributed on an --# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --# KIND, either express or implied. See the License for the --# specific language governing permissions and limitations --# under the License. -- --# JLink debugger --source [find interface/jlink.cfg] --transport select hla_swd --source [find target/stm32f4x.cfg] -diff --git a/hw/bsp/sensorhub/include/bsp/bsp.h b/hw/bsp/sensorhub/include/bsp/bsp.h -index f7866a2..ef7f6b4 100644 ---- a/hw/bsp/sensorhub/include/bsp/bsp.h -+++ b/hw/bsp/sensorhub/include/bsp/bsp.h -@@ -1,4 +1,4 @@ --/* -+quit/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information -@@ -35,11 +35,10 @@ extern "C" { - /* More convenient section placement macros. */ - #define bssnz_t sec_bss_nz_core - --extern uint8_t _ram_start; --extern uint8_t _ccram_start; -- - /* System SRAM including CCM (core coupled memory) data RAM. */ -+extern uint8_t _ram_start; - #define RAM_SIZE (192 * 1024) -+extern uint8_t _ccram_start; - #define CCRAM_SIZE (64 * 1024) - - /* 4KB of backup SRAM, accessible only from the CPU. -@@ -54,14 +53,14 @@ extern uint8_t _ccram_start; - #define UART_CNT 1 - #define CONSOLE_UART "uart0" - --#if MYNEWT_VAL(BOOT_SERIAL) -+//#if MYNEWT_VAL(BOOT_SERIAL) - #define BOOT_SERIAL_DETECT_PIN 16 /* on Sensor Hub board BOOT0 is dedicated! */ - #define BOOT_SERIAL_DETECT_PIN_CFG HAL_GPIO_PULL_UP - #define BOOT_SERIAL_DETECT_PIN_VAL 0 - - #define BOOT_SERIAL_REPORT_PIN LED_BLINK_PIN - #define BOOT_SERIAL_REPORT_FREQ (MYNEWT_VAL(OS_CPUTIME_FREQ) / 4) --#endif -+//#endif - - #define NFFS_AREA_MAX (8) - -diff --git a/hw/bsp/sensorhub/src/hal_bsp.c b/hw/bsp/sensorhub/src/hal_bsp.c -index 18a0f6c..1cea958 100644 ---- a/hw/bsp/sensorhub/src/hal_bsp.c -+++ b/hw/bsp/sensorhub/src/hal_bsp.c -@@ -16,15 +16,10 @@ - * specific language governing permissions and limitations - * under the License. - */ -+#include -+#include - #include -- --#include -- --#include --#if MYNEWT_VAL(UART_0) --#include --#include --#endif -+#include "syscfg/syscfg.h" - - #include - #include -@@ -35,7 +30,12 @@ - #include - #include - --#include "bsp/bsp.h" -+#if MYNEWT_VAL(UART_0) -+#include -+#include -+#endif -+#include "os/os_dev.h" -+#include "bsp.h" - - #if MYNEWT_VAL(UART_0) - static struct uart_dev hal_uart0; -diff --git a/hw/bsp/sensorhub/stm32f4discovery.ld b/hw/bsp/sensorhub/stm32f4discovery.ld -deleted file mode 100644 -index 923a133..0000000 ---- a/hw/bsp/sensorhub/stm32f4discovery.ld -+++ /dev/null -@@ -1,31 +0,0 @@ --/* -- * Licensed to the Apache Software Foundation (ASF) under one -- * or more contributor license agreements. See the NOTICE file -- * distributed with this work for additional information -- * regarding copyright ownership. The ASF licenses this file -- * to you under the Apache License, Version 2.0 (the -- * "License"); you may not use this file except in compliance -- * with the License. You may obtain a copy of the License at -- * -- * http://www.apache.org/licenses/LICENSE-2.0 -- * -- * Unless required by applicable law or agreed to in writing, -- * software distributed under the License is distributed on an -- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -- * KIND, either express or implied. See the License for the -- * specific language governing permissions and limitations -- * under the License. -- */ -- --/* Linker script for STM32F427 when running from flash and using the bootloader */ -- --/* Linker script to configure memory regions. */ --MEMORY --{ -- FLASH (rx) : ORIGIN = 0x08020000, LENGTH = 384K /* First image slot. */ -- CCM (rwx) : ORIGIN = 0x10000000, LENGTH = 64K -- RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 192K --} -- --/* This linker script is used for images and thus contains an image header */ --_imghdr_size = 0x20; -diff --git a/hw/bsp/sensorhub/stm32f4discovery_debug.cmd b/hw/bsp/sensorhub/stm32f4discovery_debug.cmd -deleted file mode 100755 -index d6cfc11..0000000 ---- a/hw/bsp/sensorhub/stm32f4discovery_debug.cmd -+++ /dev/null -@@ -1,3 +0,0 @@ --@rem Execute a shell with a script of the same name and .sh extension -- --@bash "%~dp0%~n0.sh" -diff --git a/hw/bsp/sensorhub/stm32f4discovery_debug.sh b/hw/bsp/sensorhub/stm32f4discovery_debug.sh -deleted file mode 100755 -index 14b2a64..0000000 ---- a/hw/bsp/sensorhub/stm32f4discovery_debug.sh -+++ /dev/null -@@ -1,39 +0,0 @@ --#!/bin/sh --# Licensed to the Apache Software Foundation (ASF) under one --# or more contributor license agreements. See the NOTICE file --# distributed with this work for additional information --# regarding copyright ownership. The ASF licenses this file --# to you under the Apache License, Version 2.0 (the --# "License"); you may not use this file except in compliance --# with the License. You may obtain a copy of the License at --# --# http://www.apache.org/licenses/LICENSE-2.0 --# --# Unless required by applicable law or agreed to in writing, --# software distributed under the License is distributed on an --# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --# KIND, either express or implied. See the License for the --# specific language governing permissions and limitations --# under the License. --# -- --# Called with following variables set: --# - CORE_PATH is absolute path to @apache-mynewt-core --# - BSP_PATH is absolute path to hw/bsp/bsp_name --# - BIN_BASENAME is the path to prefix to target binary, --# .elf appended to name is the ELF file --# - FEATURES holds the target features string --# - EXTRA_JTAG_CMD holds extra parameters to pass to jtag software --# - RESET set if target should be reset when attaching --# - NO_GDB set if we should not start gdb to debug --# --. $CORE_PATH/hw/scripts/openocd.sh -- --FILE_NAME=$BIN_BASENAME.elf --CFG="-s $BSP_PATH -f $BSP_PATH/f4discovery.cfg" --#ADG! CFG="-s $BSP_PATH -f /usr/share/openocd/scripts/interface/jlink.cfg -f /home/alan/dev/myproj-2/targets/stm_blinky/openocd.cfg" -- --# Exit openocd when gdb detaches. --EXTRA_JTAG_CMD="$EXTRA_JTAG_CMD; stm32f4x.cpu configure -event gdb-detach {if {[stm32f4x.cpu curstate] eq \"halted\"} resume;shutdown}" -- --openocd_debug -diff --git a/hw/bsp/sensorhub/stm32f4discovery_download.cmd b/hw/bsp/sensorhub/stm32f4discovery_download.cmd -deleted file mode 100755 -index d6cfc11..0000000 ---- a/hw/bsp/sensorhub/stm32f4discovery_download.cmd -+++ /dev/null -@@ -1,3 +0,0 @@ --@rem Execute a shell with a script of the same name and .sh extension -- --@bash "%~dp0%~n0.sh" -diff --git a/hw/bsp/sensorhub/stm32f4discovery_download.sh b/hw/bsp/sensorhub/stm32f4discovery_download.sh -deleted file mode 100755 -index 5a3a17d..0000000 ---- a/hw/bsp/sensorhub/stm32f4discovery_download.sh -+++ /dev/null -@@ -1,42 +0,0 @@ --#!/bin/sh --# Licensed to the Apache Software Foundation (ASF) under one --# or more contributor license agreements. See the NOTICE file --# distributed with this work for additional information --# regarding copyright ownership. The ASF licenses this file --# to you under the Apache License, Version 2.0 (the --# "License"); you may not use this file except in compliance --# with the License. You may obtain a copy of the License at --# --# http://www.apache.org/licenses/LICENSE-2.0 --# --# Unless required by applicable law or agreed to in writing, --# software distributed under the License is distributed on an --# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --# KIND, either express or implied. See the License for the --# specific language governing permissions and limitations --# under the License. --# -- --# Called with following variables set: --# - CORE_PATH is absolute path to @apache-mynewt-core --# - BSP_PATH is absolute path to hw/bsp/bsp_name --# - BIN_BASENAME is the path to prefix to target binary, --# .elf appended to name is the ELF file --# - IMAGE_SLOT is the image slot to download to (for non-mfg-image, non-boot) --# - FEATURES holds the target features string --# - EXTRA_JTAG_CMD holds extra parameters to pass to jtag software --# - MFG_IMAGE is "1" if this is a manufacturing image --# - FLASH_OFFSET contains the flash offset to download to --# - BOOT_LOADER is set if downloading a bootloader --. $CORE_PATH/hw/scripts/openocd.sh -- --CFG="-s $BSP_PATH -f f4discovery.cfg" --#ADG! CFG="-s $BSP_PATH -f /usr/share/openocd/scripts/interface/jlink.cfg -f /home/alan/dev/myproj-2/targets/stm_blinky/openocd.cfg" -- --if [ "$MFG_IMAGE" ]; then -- FLASH_OFFSET=0x08000000 --fi -- --common_file_to_load --openocd_load --openocd_reset_run