|
1 |
| -/** |
| 1 | +/* mbed Microcontroller Library |
| 2 | + * Copyright (c) 2017 ARM Limited |
2 | 3 | *
|
3 |
| - * This sourcecode is derived from STMicroelectronics CubeMX generated code. |
4 |
| - * It is modified to work with mbed RTOS. |
| 4 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | + * you may not use this file except in compliance with the License. |
| 6 | + * You may obtain a copy of the License at |
5 | 7 | *
|
6 |
| - ****************************************************************************** |
7 |
| - * @file bsp_driver_sd.h for F4 (based on stm324x9i_eval_sd.h) |
8 |
| - * @brief This file contains the common defines and functions prototypes for |
9 |
| - * the bsp_driver_sd.c driver. |
10 |
| - ****************************************************************************** |
11 |
| - * This notice applies to any and all portions of this file |
12 |
| - * that are not between comment pairs USER CODE BEGIN and |
13 |
| - * USER CODE END. Other portions of this file, whether |
14 |
| - * inserted by the user or by software development tools |
15 |
| - * are owned by their respective copyright owners. |
16 |
| - * |
17 |
| - * Copyright (c) 2018 STMicroelectronics International N.V. |
18 |
| - * All rights reserved. |
19 |
| - * |
20 |
| - * Redistribution and use in source and binary forms, with or without |
21 |
| - * modification, are permitted, provided that the following conditions are met: |
22 |
| - * |
23 |
| - * 1. Redistribution of source code must retain the above copyright notice, |
24 |
| - * this list of conditions and the following disclaimer. |
25 |
| - * 2. Redistributions in binary form must reproduce the above copyright notice, |
26 |
| - * this list of conditions and the following disclaimer in the documentation |
27 |
| - * and/or other materials provided with the distribution. |
28 |
| - * 3. Neither the name of STMicroelectronics nor the names of other |
29 |
| - * contributors to this software may be used to endorse or promote products |
30 |
| - * derived from this software without specific written permission. |
31 |
| - * 4. This software, including modifications and/or derivative works of this |
32 |
| - * software, must execute solely and exclusively on microcontroller or |
33 |
| - * microprocessor devices manufactured by or for STMicroelectronics. |
34 |
| - * 5. Redistribution and use of this software other than as permitted under |
35 |
| - * this license is void and will automatically terminate your rights under |
36 |
| - * this license. |
37 |
| - * |
38 |
| - * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" |
39 |
| - * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT |
40 |
| - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A |
41 |
| - * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY |
42 |
| - * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT |
43 |
| - * SHALL STMICROELECTRONICS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, |
44 |
| - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
45 |
| - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, |
46 |
| - * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF |
47 |
| - * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
48 |
| - * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, |
49 |
| - * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
50 |
| - * |
51 |
| - ****************************************************************************** |
52 |
| - */ |
| 8 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | + * |
| 10 | + * Unless required by applicable law or agreed to in writing, software |
| 11 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | + * See the License for the specific language governing permissions and |
| 14 | + * limitations under the License. |
| 15 | + */ |
53 | 16 |
|
54 | 17 | /* Define to prevent recursive inclusion -------------------------------------*/
|
55 |
| -#ifndef __STM32F4_SD_H |
56 |
| -#define __STM32F4_SD_H |
| 18 | +#ifndef __SDIO_DEVICE_H |
| 19 | +#define __SDIO_DEVICE_H |
57 | 20 |
|
58 | 21 | #ifdef __cplusplus
|
59 | 22 | extern "C"
|
@@ -121,6 +84,4 @@ extern "C"
|
121 | 84 | }
|
122 | 85 | #endif
|
123 | 86 |
|
124 |
| -#endif /* __STM32F4_SD_H */ |
125 |
| - |
126 |
| -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |
| 87 | +#endif /* __SDIO_DEVICE_H */ |
0 commit comments