ble
Dependencies: HC_SR04_Ultrasonic_Library Servo mbed
Fork of FIP_REV1 by
BlueNRG_F4_BSP/inc/compiler.h@4:69a35a56ac48, 2015-07-09 (annotated)
- Committer:
- julientiron
- Date:
- Thu Jul 09 13:33:36 2015 +0000
- Revision:
- 4:69a35a56ac48
- Parent:
- 0:3d641e170a74
BLE
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
julientiron | 0:3d641e170a74 | 1 | /******************** (C) COPYRIGHT 2012 STMicroelectronics ******************** |
julientiron | 0:3d641e170a74 | 2 | * File Name : compiler.h |
julientiron | 0:3d641e170a74 | 3 | * Author : AMS - HEA&RF BU |
julientiron | 0:3d641e170a74 | 4 | * Version : V1.0.0 |
julientiron | 0:3d641e170a74 | 5 | * Date : 19-July-2012 |
julientiron | 0:3d641e170a74 | 6 | * Description : Compiler-dependent macros. |
julientiron | 0:3d641e170a74 | 7 | ******************************************************************************** |
julientiron | 0:3d641e170a74 | 8 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS |
julientiron | 0:3d641e170a74 | 9 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. |
julientiron | 0:3d641e170a74 | 10 | * AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, |
julientiron | 0:3d641e170a74 | 11 | * INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE |
julientiron | 0:3d641e170a74 | 12 | * CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING |
julientiron | 0:3d641e170a74 | 13 | * INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. |
julientiron | 0:3d641e170a74 | 14 | *******************************************************************************/ |
julientiron | 0:3d641e170a74 | 15 | |
julientiron | 0:3d641e170a74 | 16 | #ifdef __ICCARM__ |
julientiron | 0:3d641e170a74 | 17 | #ifndef PACKED |
julientiron | 0:3d641e170a74 | 18 | #define PACKED |
julientiron | 0:3d641e170a74 | 19 | #endif |
julientiron | 0:3d641e170a74 | 20 | #endif |
julientiron | 0:3d641e170a74 | 21 | |
julientiron | 0:3d641e170a74 | 22 | #ifdef __GNUC__ |
julientiron | 0:3d641e170a74 | 23 | #ifndef __packed |
julientiron | 0:3d641e170a74 | 24 | #define __packed __attribute__((__packed__)) |
julientiron | 0:3d641e170a74 | 25 | #endif |
julientiron | 0:3d641e170a74 | 26 | #ifndef PACKED |
julientiron | 0:3d641e170a74 | 27 | #define PACKED __attribute__((packed)) |
julientiron | 0:3d641e170a74 | 28 | #endif |
julientiron | 0:3d641e170a74 | 29 | #endif |