Nordic nrf51 sdk sources. Mirrored from https://github.com/ARMmbed/nrf51-sdk.

Dependents:   nRF51822 nRF51822

Revision:
28:041dac1366b2
Parent:
20:a90c48eb1d30
Child:
29:286940b7ee5a
--- a/source/nordic_sdk/components/libraries/bootloader_dfu/dfu_init.h	Thu Apr 07 17:37:52 2016 +0100
+++ b/source/nordic_sdk/components/libraries/bootloader_dfu/dfu_init.h	Thu Apr 07 17:37:56 2016 +0100
@@ -1,44 +1,24 @@
-/*
- * Copyright (c) Nordic Semiconductor ASA
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- *   1. Redistributions of source code must retain the above copyright notice, this
- *   list of conditions and the following disclaimer.
- *
- *   2. Redistributions in binary form must reproduce the above copyright notice, this
- *   list of conditions and the following disclaimer in the documentation and/or
- *   other materials provided with the distribution.
- *
- *   3. Neither the name of Nordic Semiconductor ASA nor the names of other
- *   contributors to this software may be used to endorse or promote products
- *   derived from this software without specific prior written permission.
- *
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
+/* Copyright (c) 2014 Nordic Semiconductor. All Rights Reserved.
+ *
+ * The information contained herein is property of Nordic Semiconductor ASA.
+ * Terms and conditions of usage are described in detail in NORDIC
+ * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT.
+ *
+ * Licensees are granted free, non-transferable use of the information. NO
+ * WARRANTY of ANY KIND is provided. This heading must NOT be removed from
+ * the file.
+ *
  */
 
 /**@file
  *
- * @defgroup nrf_dfu_init Init packet handling in DFU.
+ * @defgroup nrf_dfu_init Init packet handling in DFU
  * @{
  *
  * @brief Device Firmware Update module type and function declaration for init packet handling.
  *
  * @details This header contains basic functionality for performing safety checks on software 
- *          updates for nRF51 based devices. It provides a skeleton for pre-checking an init packet
+ *          updates for \nRFXX based devices. It provides a skeleton for pre-checking an init packet
  *          to ensure the following image is compatible with this device. A safety check should 
  *          always be performed to prevent accidental flashing of unsupported applications or a
  *          wrong combination of application and SoftDevice.
@@ -62,7 +42,7 @@
 #define DFU_INIT_H__
 
 #include <stdint.h>
-#include "nrf51.h"
+#include "nrf.h"
 
 /**@brief Structure contained in an init packet. Contains information on device type, revision, and 
  *        supported SoftDevices.