The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
mbed 2
This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.
TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/device.h@171:3a7713b1edbc, 2018-11-08 (annotated)
- Committer:
- AnnaBridge
- Date:
- Thu Nov 08 11:45:42 2018 +0000
- Revision:
- 171:3a7713b1edbc
- Parent:
- TARGET_NUCLEO_F413ZH/TARGET_STM/TARGET_STM32F4/device.h@170:e95d10626187
mbed library. Release version 164
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Anna Bridge |
160:5571c4ff569f | 1 | // The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. |
Anna Bridge |
160:5571c4ff569f | 2 | // Check the 'features' section of the target description in 'targets.json' for more details. |
Anna Bridge |
160:5571c4ff569f | 3 | /* mbed Microcontroller Library |
Anna Bridge |
160:5571c4ff569f | 4 | ******************************************************************************* |
Anna Bridge |
160:5571c4ff569f | 5 | * Copyright (c) 2014, STMicroelectronics |
Anna Bridge |
160:5571c4ff569f | 6 | * All rights reserved. |
Anna Bridge |
160:5571c4ff569f | 7 | * |
Anna Bridge |
160:5571c4ff569f | 8 | * Redistribution and use in source and binary forms, with or without |
Anna Bridge |
160:5571c4ff569f | 9 | * modification, are permitted provided that the following conditions are met: |
Anna Bridge |
160:5571c4ff569f | 10 | * |
Anna Bridge |
160:5571c4ff569f | 11 | * 1. Redistributions of source code must retain the above copyright notice, |
Anna Bridge |
160:5571c4ff569f | 12 | * this list of conditions and the following disclaimer. |
Anna Bridge |
160:5571c4ff569f | 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, |
Anna Bridge |
160:5571c4ff569f | 14 | * this list of conditions and the following disclaimer in the documentation |
Anna Bridge |
160:5571c4ff569f | 15 | * and/or other materials provided with the distribution. |
Anna Bridge |
160:5571c4ff569f | 16 | * 3. Neither the name of STMicroelectronics nor the names of its contributors |
Anna Bridge |
160:5571c4ff569f | 17 | * may be used to endorse or promote products derived from this software |
Anna Bridge |
160:5571c4ff569f | 18 | * without specific prior written permission. |
Anna Bridge |
160:5571c4ff569f | 19 | * |
Anna Bridge |
160:5571c4ff569f | 20 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
Anna Bridge |
160:5571c4ff569f | 21 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
Anna Bridge |
160:5571c4ff569f | 22 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
Anna Bridge |
160:5571c4ff569f | 23 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
Anna Bridge |
160:5571c4ff569f | 24 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
Anna Bridge |
160:5571c4ff569f | 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
Anna Bridge |
160:5571c4ff569f | 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
Anna Bridge |
160:5571c4ff569f | 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
Anna Bridge |
160:5571c4ff569f | 28 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
Anna Bridge |
160:5571c4ff569f | 29 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
Anna Bridge |
160:5571c4ff569f | 30 | ******************************************************************************* |
Anna Bridge |
160:5571c4ff569f | 31 | */ |
Anna Bridge |
160:5571c4ff569f | 32 | #ifndef MBED_DEVICE_H |
Anna Bridge |
160:5571c4ff569f | 33 | #define MBED_DEVICE_H |
Anna Bridge |
160:5571c4ff569f | 34 | |
Anna Bridge |
160:5571c4ff569f | 35 | //======================================= |
Anna Bridge |
160:5571c4ff569f | 36 | #define DEVICE_ID_LENGTH 24 |
Anna Bridge |
160:5571c4ff569f | 37 | |
Anna Bridge |
160:5571c4ff569f | 38 | #include "objects.h" |
AnnaBridge | 170:e95d10626187 | 39 | /* WORKAROUND waiting for mbed-os issue 4408 to be addressed */ |
AnnaBridge | 170:e95d10626187 | 40 | #include "stm32f4xx_ll_usart.h" |
Anna Bridge |
160:5571c4ff569f | 41 | |
Anna Bridge |
160:5571c4ff569f | 42 | #endif |