Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed by
Diff: TARGET_NRF51_DK/nrf.h
- Revision:
- 123:b0220dba8be7
- Parent:
- 122:f9eeca106725
--- a/TARGET_NRF51_DK/nrf.h Thu Jul 07 14:34:11 2016 +0100 +++ b/TARGET_NRF51_DK/nrf.h Fri Aug 12 13:04:35 2016 +0200 @@ -1,22 +1,28 @@ -/* - * Copyright (c) Nordic Semiconductor ASA +/* + * Copyright (c) 2015 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. * - * 1. Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. + * 2. Redistributions in binary form, except as embedded into a Nordic Semiconductor ASA + * integrated circuit in a product or a software update for such product, 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. * - * 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 its contributors may be + * used to endorse or promote products derived from this software without specific prior + * written permission. * - * 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. + * 4. This software, with or without modification, must only be used with a + * Nordic Semiconductor ASA integrated circuit. * - * + * 5. Any software provided in binary or object form under this license must not be reverse + * engineered, decompiled, modified and/or disassembled. + * * 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 @@ -27,12 +33,18 @@ * 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. - * + * */ + #ifndef NRF_H #define NRF_H +/* MDK version */ +#define MDK_MAJOR_VERSION 8 +#define MDK_MINOR_VERSION 5 +#define MDK_MICRO_VERSION 0 + #if defined(_WIN32) /* Do not include nrf51 specific files when building for PC host */ #elif defined(__unix) @@ -50,6 +62,7 @@ #include "nrf52.h" #include "nrf52_bitfields.h" #include "nrf51_to_nrf52.h" + #include "nrf52_name_change.h" #else #error "Device family must be defined. See nrf.h." #endif /* NRF51, NRF52 */ @@ -59,3 +72,4 @@ #endif /* _WIN32 || __unix || __APPLE__ */ #endif /* NRF_H */ +