inport from local
Dependents: Hobbyking_Cheetah_0511
targets/TARGET_STM/TARGET_STM32F4/device.h@0:85b3fd62ea1a, 2020-03-16 (annotated)
- Committer:
- NYX
- Date:
- Mon Mar 16 06:35:48 2020 +0000
- Revision:
- 0:85b3fd62ea1a
reinport to mbed;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
NYX | 0:85b3fd62ea1a | 1 | // The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. |
NYX | 0:85b3fd62ea1a | 2 | // Check the 'features' section of the target description in 'targets.json' for more details. |
NYX | 0:85b3fd62ea1a | 3 | /* mbed Microcontroller Library |
NYX | 0:85b3fd62ea1a | 4 | ******************************************************************************* |
NYX | 0:85b3fd62ea1a | 5 | * Copyright (c) 2014, STMicroelectronics |
NYX | 0:85b3fd62ea1a | 6 | * All rights reserved. |
NYX | 0:85b3fd62ea1a | 7 | * |
NYX | 0:85b3fd62ea1a | 8 | * Redistribution and use in source and binary forms, with or without |
NYX | 0:85b3fd62ea1a | 9 | * modification, are permitted provided that the following conditions are met: |
NYX | 0:85b3fd62ea1a | 10 | * |
NYX | 0:85b3fd62ea1a | 11 | * 1. Redistributions of source code must retain the above copyright notice, |
NYX | 0:85b3fd62ea1a | 12 | * this list of conditions and the following disclaimer. |
NYX | 0:85b3fd62ea1a | 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, |
NYX | 0:85b3fd62ea1a | 14 | * this list of conditions and the following disclaimer in the documentation |
NYX | 0:85b3fd62ea1a | 15 | * and/or other materials provided with the distribution. |
NYX | 0:85b3fd62ea1a | 16 | * 3. Neither the name of STMicroelectronics nor the names of its contributors |
NYX | 0:85b3fd62ea1a | 17 | * may be used to endorse or promote products derived from this software |
NYX | 0:85b3fd62ea1a | 18 | * without specific prior written permission. |
NYX | 0:85b3fd62ea1a | 19 | * |
NYX | 0:85b3fd62ea1a | 20 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
NYX | 0:85b3fd62ea1a | 21 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
NYX | 0:85b3fd62ea1a | 22 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
NYX | 0:85b3fd62ea1a | 23 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
NYX | 0:85b3fd62ea1a | 24 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
NYX | 0:85b3fd62ea1a | 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
NYX | 0:85b3fd62ea1a | 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
NYX | 0:85b3fd62ea1a | 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
NYX | 0:85b3fd62ea1a | 28 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
NYX | 0:85b3fd62ea1a | 29 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
NYX | 0:85b3fd62ea1a | 30 | ******************************************************************************* |
NYX | 0:85b3fd62ea1a | 31 | */ |
NYX | 0:85b3fd62ea1a | 32 | #ifndef MBED_DEVICE_H |
NYX | 0:85b3fd62ea1a | 33 | #define MBED_DEVICE_H |
NYX | 0:85b3fd62ea1a | 34 | |
NYX | 0:85b3fd62ea1a | 35 | //======================================= |
NYX | 0:85b3fd62ea1a | 36 | #define DEVICE_ID_LENGTH 24 |
NYX | 0:85b3fd62ea1a | 37 | |
NYX | 0:85b3fd62ea1a | 38 | #include "objects.h" |
NYX | 0:85b3fd62ea1a | 39 | |
NYX | 0:85b3fd62ea1a | 40 | #endif |