BLE FOTA APP

Dependencies:   BLE_API mbed

It doesn't work with the default FOTA bootloader. It use NVIC_SystemReset() to enter a bootloader.

nRF51822/nordic/nrf-sdk/bootloader_dfu/bootloader_util.h

Committer:
yihui
Date:
2014-10-10
Revision:
1:a607cd9655d7

File content as of revision 1:a607cd9655d7:

/* Copyright (c) 2013 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_bootloader_util Bootloader util API.
 * @{     
 *  
 * @brief Bootloader util module interface.
 */
 
#ifndef BOOTLOADER_UTIL_H__
#define BOOTLOADER_UTIL_H__

#include <stdint.h>
#include "bootloader_types.h"

/**@brief Function for starting the application (or bootloader) at the provided address.
 * 
 * @param[in]  start_addr             Start address.
 *
 * @note This function will never retrun. Instead it will reset into the application of the 
 *       provided address.
 */
void bootloader_util_app_start(uint32_t start_addr);

#endif // BOOTLOADER_UTIL_H__

/**@} */