Added support for obtaining BLE device name by parsing advertising data.
Fork of BLE_BlueNRG by
bsp/inc/compiler.h@0:309c845d289d, 2014-07-16 (annotated)
- Committer:
- mridup
- Date:
- Wed Jul 16 04:59:51 2014 +0000
- Revision:
- 0:309c845d289d
Full BlueNRG library
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mridup | 0:309c845d289d | 1 | /******************** (C) COPYRIGHT 2012 STMicroelectronics ******************** |
mridup | 0:309c845d289d | 2 | * File Name : compiler.h |
mridup | 0:309c845d289d | 3 | * Author : AMS - HEA&RF BU |
mridup | 0:309c845d289d | 4 | * Version : V1.0.0 |
mridup | 0:309c845d289d | 5 | * Date : 19-July-2012 |
mridup | 0:309c845d289d | 6 | * Description : Compiler-dependent macros. |
mridup | 0:309c845d289d | 7 | ******************************************************************************** |
mridup | 0:309c845d289d | 8 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS |
mridup | 0:309c845d289d | 9 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. |
mridup | 0:309c845d289d | 10 | * AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, |
mridup | 0:309c845d289d | 11 | * INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE |
mridup | 0:309c845d289d | 12 | * CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING |
mridup | 0:309c845d289d | 13 | * INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. |
mridup | 0:309c845d289d | 14 | *******************************************************************************/ |
mridup | 0:309c845d289d | 15 | |
mridup | 0:309c845d289d | 16 | #ifdef __ICCARM__ |
mridup | 0:309c845d289d | 17 | #ifndef PACKED |
mridup | 0:309c845d289d | 18 | #define PACKED |
mridup | 0:309c845d289d | 19 | #endif |
mridup | 0:309c845d289d | 20 | #endif |
mridup | 0:309c845d289d | 21 | |
mridup | 0:309c845d289d | 22 | #ifdef __GNUC__ |
mridup | 0:309c845d289d | 23 | #ifndef __packed |
mridup | 0:309c845d289d | 24 | #define __packed __attribute__((__packed__)) |
mridup | 0:309c845d289d | 25 | #endif |
mridup | 0:309c845d289d | 26 | #ifndef PACKED |
mridup | 0:309c845d289d | 27 | #define PACKED __attribute__((packed)) |
mridup | 0:309c845d289d | 28 | #endif |
mridup | 0:309c845d289d | 29 | #endif |