HW layer for the Nucleo board, it only work with old BLE_API

Dependents:   Hello_BLE F446RE-BLE

Fork of X_NUCLEO_IDB0XA1 by ST

Committer:
mridup
Date:
Wed Nov 19 11:24:37 2014 +0000
Revision:
64:6d7b775c3f6d
Parent:
platform/inc/compiler.h@56:20e83a284019
Changed directory structure to support STM32Cube BlueNRG module, platform module and BLE_API adaptation module as separate entities. Added Doxygen support to Adaptation and used HCI components.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mridup 56:20e83a284019 1 /******************** (C) COPYRIGHT 2012 STMicroelectronics ********************
mridup 56:20e83a284019 2 * File Name : compiler.h
mridup 56:20e83a284019 3 * Author : AMS - HEA&RF BU
mridup 56:20e83a284019 4 * Version : V1.0.0
mridup 56:20e83a284019 5 * Date : 19-July-2012
mridup 56:20e83a284019 6 * Description : Compiler-dependent macros.
mridup 56:20e83a284019 7 ********************************************************************************
mridup 56:20e83a284019 8 * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
mridup 56:20e83a284019 9 * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
mridup 56:20e83a284019 10 * AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,
mridup 56:20e83a284019 11 * INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
mridup 56:20e83a284019 12 * CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
mridup 56:20e83a284019 13 * INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
mridup 56:20e83a284019 14 *******************************************************************************/
mridup 56:20e83a284019 15
mridup 56:20e83a284019 16 #ifdef __ICCARM__
mridup 56:20e83a284019 17 #ifndef PACKED
mridup 56:20e83a284019 18 #define PACKED
mridup 56:20e83a284019 19 #endif
mridup 56:20e83a284019 20 #endif
mridup 56:20e83a284019 21
mridup 56:20e83a284019 22 #ifdef __GNUC__
mridup 56:20e83a284019 23 #ifndef __packed
mridup 56:20e83a284019 24 #define __packed __attribute__((__packed__))
mridup 56:20e83a284019 25 #endif
mridup 56:20e83a284019 26 #ifndef PACKED
mridup 56:20e83a284019 27 #define PACKED __attribute__((packed))
mridup 56:20e83a284019 28 #endif
mridup 56:20e83a284019 29 #endif
mridup 56:20e83a284019 30
mridup 56:20e83a284019 31