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