BLE FOTA APP

Dependencies:   BLE_API mbed

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

Committer:
yihui
Date:
Fri Oct 10 03:36:28 2014 +0000
Revision:
1:a607cd9655d7
use NVIC_SystemReset() to run bootloader

Who changed what in which revision?

UserRevisionLine numberNew contents of line
yihui 1:a607cd9655d7 1 /* Copyright (c) 2014 Nordic Semiconductor. All Rights Reserved.
yihui 1:a607cd9655d7 2 *
yihui 1:a607cd9655d7 3 * Licensed under the Apache License, Version 2.0 (the "License");
yihui 1:a607cd9655d7 4 * you may not use this file except in compliance with the License.
yihui 1:a607cd9655d7 5 * You may obtain a copy of the License at
yihui 1:a607cd9655d7 6 *
yihui 1:a607cd9655d7 7 * http://www.apache.org/licenses/LICENSE-2.0
yihui 1:a607cd9655d7 8 *
yihui 1:a607cd9655d7 9 * Unless required by applicable law or agreed to in writing, software
yihui 1:a607cd9655d7 10 * distributed under the License is distributed on an "AS IS" BASIS,
yihui 1:a607cd9655d7 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
yihui 1:a607cd9655d7 12 * See the License for the specific language governing permissions and
yihui 1:a607cd9655d7 13 * limitations under the License.
yihui 1:a607cd9655d7 14 */
yihui 1:a607cd9655d7 15
yihui 1:a607cd9655d7 16 #ifndef _NORDIC_GLOBAL_H_
yihui 1:a607cd9655d7 17 #define _NORDIC_GLOBAL_H_
yihui 1:a607cd9655d7 18
yihui 1:a607cd9655d7 19 /* There are no global defines in mbed, so we need to define */
yihui 1:a607cd9655d7 20 /* mandatory conditional compilation flags here */
yihui 1:a607cd9655d7 21 #define NRF51
yihui 1:a607cd9655d7 22 #define DEBUG_NRF_USER
yihui 1:a607cd9655d7 23 #define BLE_STACK_SUPPORT_REQD
yihui 1:a607cd9655d7 24 #define BOARD_PCA10001
yihui 1:a607cd9655d7 25
yihui 1:a607cd9655d7 26 #endif