my fork of nrf51-sdk

Dependents:   nRF51822

Fork of nrf51-sdk by Nordic Semiconductor

Committer:
vcoubard
Date:
Thu Apr 07 17:37:17 2016 +0100
Revision:
1:ebc0e0ef0a11
Child:
10:233fefd8162b
Synchronized with git rev d1170b61
Author: Liyou Zhou
Pull the files we need directly out of the nordic-sdk
without modifications preserving the folder structure in
the sdk. nRF51_SDK_8.1.0_b6ed55f.zip from:
https://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v8.x.x/

Who changed what in which revision?

UserRevisionLine numberNew contents of line
vcoubard 1:ebc0e0ef0a11 1 /* Copyright (c) 2015, Nordic Semiconductor ASA
vcoubard 1:ebc0e0ef0a11 2 * All rights reserved.
vcoubard 1:ebc0e0ef0a11 3 *
vcoubard 1:ebc0e0ef0a11 4 * Redistribution and use in source and binary forms, with or without
vcoubard 1:ebc0e0ef0a11 5 * modification, are permitted provided that the following conditions are met:
vcoubard 1:ebc0e0ef0a11 6 *
vcoubard 1:ebc0e0ef0a11 7 * * Redistributions of source code must retain the above copyright notice, this
vcoubard 1:ebc0e0ef0a11 8 * list of conditions and the following disclaimer.
vcoubard 1:ebc0e0ef0a11 9 *
vcoubard 1:ebc0e0ef0a11 10 * * Redistributions in binary form must reproduce the above copyright notice,
vcoubard 1:ebc0e0ef0a11 11 * this list of conditions and the following disclaimer in the documentation
vcoubard 1:ebc0e0ef0a11 12 * and/or other materials provided with the distribution.
vcoubard 1:ebc0e0ef0a11 13 *
vcoubard 1:ebc0e0ef0a11 14 * * Neither the name of Nordic Semiconductor ASA nor the names of its
vcoubard 1:ebc0e0ef0a11 15 * contributors may be used to endorse or promote products derived from
vcoubard 1:ebc0e0ef0a11 16 * this software without specific prior written permission.
vcoubard 1:ebc0e0ef0a11 17 *
vcoubard 1:ebc0e0ef0a11 18 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
vcoubard 1:ebc0e0ef0a11 19 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
vcoubard 1:ebc0e0ef0a11 20 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
vcoubard 1:ebc0e0ef0a11 21 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
vcoubard 1:ebc0e0ef0a11 22 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
vcoubard 1:ebc0e0ef0a11 23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
vcoubard 1:ebc0e0ef0a11 24 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
vcoubard 1:ebc0e0ef0a11 25 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
vcoubard 1:ebc0e0ef0a11 26 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
vcoubard 1:ebc0e0ef0a11 27 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
vcoubard 1:ebc0e0ef0a11 28 *
vcoubard 1:ebc0e0ef0a11 29 */
vcoubard 1:ebc0e0ef0a11 30
vcoubard 1:ebc0e0ef0a11 31 #ifndef NRF_H
vcoubard 1:ebc0e0ef0a11 32 #define NRF_H
vcoubard 1:ebc0e0ef0a11 33
vcoubard 1:ebc0e0ef0a11 34 #if defined(_WIN32)
vcoubard 1:ebc0e0ef0a11 35 /* Do not include nrf51 specific files when building for PC host */
vcoubard 1:ebc0e0ef0a11 36 #elif defined(__unix)
vcoubard 1:ebc0e0ef0a11 37 /* Do not include nrf51 specific files when building for PC host */
vcoubard 1:ebc0e0ef0a11 38 #elif defined(__APPLE__)
vcoubard 1:ebc0e0ef0a11 39 /* Do not include nrf51 specific files when building for PC host */
vcoubard 1:ebc0e0ef0a11 40 #else
vcoubard 1:ebc0e0ef0a11 41
vcoubard 1:ebc0e0ef0a11 42 /* Family selection for family includes. */
vcoubard 1:ebc0e0ef0a11 43 #if defined (NRF51)
vcoubard 1:ebc0e0ef0a11 44 #include "nrf51.h"
vcoubard 1:ebc0e0ef0a11 45 #include "nrf51_bitfields.h"
vcoubard 1:ebc0e0ef0a11 46 #include "nrf51_deprecated.h"
vcoubard 1:ebc0e0ef0a11 47 #else
vcoubard 1:ebc0e0ef0a11 48 #error "Device family must be defined. See nrf.h."
vcoubard 1:ebc0e0ef0a11 49 #endif /* NRF51 */
vcoubard 1:ebc0e0ef0a11 50
vcoubard 1:ebc0e0ef0a11 51 #include "compiler_abstraction.h"
vcoubard 1:ebc0e0ef0a11 52
vcoubard 1:ebc0e0ef0a11 53 #endif /* _WIN32 || __unix || __APPLE__ */
vcoubard 1:ebc0e0ef0a11 54
vcoubard 1:ebc0e0ef0a11 55 #endif /* NRF_H */
vcoubard 1:ebc0e0ef0a11 56