Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of X_NUCLEO_IDB0XA1 by
ble_compiler.h
00001 /******************** (C) COPYRIGHT 2012 STMicroelectronics ******************** 00002 * File Name : compiler.h 00003 * Author : AMS - HEA&RF BU 00004 * Version : V1.0.0 00005 * Date : 19-July-2012 00006 * Description : Compiler-dependent macros. 00007 ******************************************************************************** 00008 * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 00009 * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. 00010 * AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, 00011 * INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE 00012 * CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING 00013 * INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 00014 *******************************************************************************/ 00015 00016 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00017 00018 #ifdef __ICCARM__ 00019 #define PACKED 00020 #else 00021 #ifdef __GNUC__ 00022 #undef __packed 00023 #define __packed 00024 #ifndef PACKED 00025 #define PACKED __attribute__((packed)) 00026 #endif 00027 #else 00028 #define PACKED 00029 #define __packed 00030 #endif 00031 #endif 00032 00033 /* Change this define to 1 if zero-length arrays are not supported by your compiler. */ 00034 #define VARIABLE_SIZE 1 00035 00036 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
Generated on Thu Jul 14 2022 09:39:26 by
 1.7.2
 1.7.2 
    