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.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
TARGET_DELTA_DFCM_NNN40/nrf.h@122:f9eeca106725, 2016-07-07 (annotated)
- Committer:
- Kojto
- Date:
- Thu Jul 07 14:34:11 2016 +0100
- Revision:
- 122:f9eeca106725
- Parent:
- 101:7cff1c4259d7
Release 122 of the mbed library
Changes:
- new targets - Nucleo L432KC, Beetle, Nucleo F446ZE, Nucleo L011K4
- Thread safety addition - mbed API should contain a statement about thread safety
- critical section API addition
- CAS API (core_util_atomic_incr/decr)
- DEVICE_ are generated from targets.json file, device.h deprecated
- Callback replaces FunctionPointer to provide std like interface
- mbed HAL API docs improvements
- toolchain - prexif attributes with MBED_
- add new attributes - packed, weak, forcedinline, align
- target.json - contains targets definitions
- ST - L1XX - Cube update to 1.5
- SPI clock selection fix (clock from APB domain)
- F7 - Cube update v1.4.0
- L0 - baudrate init fix
- L1 - Cube update v1.5
- F3 - baudrate init fix, 3 targets CAN support
- F4 - Cube update v1.12.0, 3 targets CAN support
- L4XX - Cube update v1.5.1
- F0 - update Cube to v1.5.0
- L4 - 2 targets (L476RG/VG) CAN support
- NXP - pwm clock fix for KSDK2 MCU
- LPC2368 - remove ARM toolchain support - due to regression
- KSDK2 - fix SPI , I2C address and repeat start
- Silabs - some fixes backported from mbed 3
- Renesas - RZ_A1H - SystemCoreClockUpdate addition
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Kojto | 122:f9eeca106725 | 1 | /* |
Kojto | 122:f9eeca106725 | 2 | * Copyright (c) Nordic Semiconductor ASA |
Kojto | 101:7cff1c4259d7 | 3 | * All rights reserved. |
Kojto | 101:7cff1c4259d7 | 4 | * |
Kojto | 122:f9eeca106725 | 5 | * Redistribution and use in source and binary forms, with or without modification, |
Kojto | 122:f9eeca106725 | 6 | * are permitted provided that the following conditions are met: |
Kojto | 101:7cff1c4259d7 | 7 | * |
Kojto | 122:f9eeca106725 | 8 | * 1. Redistributions of source code must retain the above copyright notice, this |
Kojto | 122:f9eeca106725 | 9 | * list of conditions and the following disclaimer. |
Kojto | 101:7cff1c4259d7 | 10 | * |
Kojto | 122:f9eeca106725 | 11 | * 2. Redistributions in binary form must reproduce the above copyright notice, this |
Kojto | 122:f9eeca106725 | 12 | * list of conditions and the following disclaimer in the documentation and/or |
Kojto | 122:f9eeca106725 | 13 | * other materials provided with the distribution. |
Kojto | 101:7cff1c4259d7 | 14 | * |
Kojto | 122:f9eeca106725 | 15 | * 3. Neither the name of Nordic Semiconductor ASA nor the names of other |
Kojto | 122:f9eeca106725 | 16 | * contributors to this software may be used to endorse or promote products |
Kojto | 122:f9eeca106725 | 17 | * derived from this software without specific prior written permission. |
Kojto | 122:f9eeca106725 | 18 | * |
Kojto | 101:7cff1c4259d7 | 19 | * |
Kojto | 122:f9eeca106725 | 20 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND |
Kojto | 122:f9eeca106725 | 21 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
Kojto | 122:f9eeca106725 | 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
Kojto | 122:f9eeca106725 | 23 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR |
Kojto | 122:f9eeca106725 | 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
Kojto | 122:f9eeca106725 | 25 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
Kojto | 122:f9eeca106725 | 26 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON |
Kojto | 122:f9eeca106725 | 27 | * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
Kojto | 122:f9eeca106725 | 28 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
Kojto | 122:f9eeca106725 | 29 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
Kojto | 101:7cff1c4259d7 | 30 | * |
Kojto | 101:7cff1c4259d7 | 31 | */ |
Kojto | 122:f9eeca106725 | 32 | |
Kojto | 101:7cff1c4259d7 | 33 | #ifndef NRF_H |
Kojto | 101:7cff1c4259d7 | 34 | #define NRF_H |
Kojto | 101:7cff1c4259d7 | 35 | |
Kojto | 122:f9eeca106725 | 36 | #if defined(_WIN32) |
Kojto | 122:f9eeca106725 | 37 | /* Do not include nrf51 specific files when building for PC host */ |
Kojto | 122:f9eeca106725 | 38 | #elif defined(__unix) |
Kojto | 122:f9eeca106725 | 39 | /* Do not include nrf51 specific files when building for PC host */ |
Kojto | 122:f9eeca106725 | 40 | #elif defined(__APPLE__) |
Kojto | 122:f9eeca106725 | 41 | /* Do not include nrf51 specific files when building for PC host */ |
Kojto | 101:7cff1c4259d7 | 42 | #else |
Kojto | 101:7cff1c4259d7 | 43 | |
Kojto | 122:f9eeca106725 | 44 | /* Family selection for family includes. */ |
Kojto | 122:f9eeca106725 | 45 | #if defined (NRF51) |
Kojto | 122:f9eeca106725 | 46 | #include "nrf51.h" |
Kojto | 122:f9eeca106725 | 47 | #include "nrf51_bitfields.h" |
Kojto | 122:f9eeca106725 | 48 | #include "nrf51_deprecated.h" |
Kojto | 122:f9eeca106725 | 49 | #elif defined (NRF52) |
Kojto | 122:f9eeca106725 | 50 | #include "nrf52.h" |
Kojto | 122:f9eeca106725 | 51 | #include "nrf52_bitfields.h" |
Kojto | 122:f9eeca106725 | 52 | #include "nrf51_to_nrf52.h" |
Kojto | 122:f9eeca106725 | 53 | #else |
Kojto | 122:f9eeca106725 | 54 | #error "Device family must be defined. See nrf.h." |
Kojto | 122:f9eeca106725 | 55 | #endif /* NRF51, NRF52 */ |
Kojto | 101:7cff1c4259d7 | 56 | |
Kojto | 122:f9eeca106725 | 57 | #include "compiler_abstraction.h" |
Kojto | 122:f9eeca106725 | 58 | |
Kojto | 122:f9eeca106725 | 59 | #endif /* _WIN32 || __unix || __APPLE__ */ |
Kojto | 101:7cff1c4259d7 | 60 | |
Kojto | 101:7cff1c4259d7 | 61 | #endif /* NRF_H */ |